1. Fire up the terminal
2. Open the config file using kate or kwrite
:~$ /etc/apt/apt.conf (create it)
3. Next, Enter this in the config file.
Acquire::http::Proxy “http://(proxy):(port)”;
eg : Acquire::http::Proxy “http://10.0.4.1:8585″;
July 31st, 2008 Filed Under Ubuntu
1. Fire up the terminal
2. Open the config file using kate or kwrite
:~$ /etc/apt/apt.conf (create it)
3. Next, Enter this in the config file.
Acquire::http::Proxy “http://(proxy):(port)”;
eg : Acquire::http::Proxy “http://10.0.4.1:8585″;
Kubuntu: Getting Adept Manager To Work Through Proxy. « Ubuntu/Kubuntu Help For Beginners..
Post Linx
Permalink | Trackback |
|
Print This Article | Leave a Comment
July 28th, 2008 Filed Under Firefox
https://addons.mozilla.org/en-US/firefox/addons/versions/1881
eliberează RAM în Firefox » zoso’s blog
Post Linx
Permalink | Trackback |
|
Print This Article | Leave a Comment
July 21st, 2008 Filed Under General
ssh-copy-id -i ~/.ssh/id_dsa.pub root@ip
Post Linx
Permalink | Trackback |
|
Print This Article | Leave a Comment
July 17th, 2008 Filed Under General
hendra-k@server $ cat zipfiles.* > zipfiles-full.zip
hendra-k@server $ zip -F zipfiles-full.zip
hendra-k@server $ unzip zipfiles-full.zip
How to extract multi-part zip files | Hendra-k.net
Post Linx
Permalink | Trackback |
|
Print This Article | 3 Comments
July 1st, 2008 Filed Under Gentoo, Ubuntu
Gentoo:
/usr/sbin/service:
#!/bin/sh
set -e
/etc/init.d/$1 $2 $3
/etc/bash_completion.d/service:
# a function for the autocompletion of the service command.
_service_fn()
{
# set some local variables
local cur prev
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}
#if only one completion or a option is being requested
#then complete against various options
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $( compgen -W “$(ls /etc/init.d)” $cur ))
elif [ $COMP_CWORD -eq 2 ]; then
COMPREPLY=( $( compgen -W “start stop restart pause zap status ineed iuse needsme usesme broken” $cur ))
else
COMPREPLY=( $( compgen -f $cur ))
fi
return 0
}
#setup the completion
complete -F _service_fn service
howto create the ’service’ command – linux-noob.com/forums
Ubuntu:
apt-get install sysvconfig
http://www.cyberciti.biz/tips/how-to-controlling-access-to-linux-services.html
Post Linx
Permalink | Trackback |
|
Print This Article | Leave a Comment