Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • config apt-cacher 192.168.10.1 port 3128

Code Block
languagebash
sed -i 's#http://#http://192.168.10.1:3142/#g' /etc/apt/sources.list 
  • install emacs
Code Block
languagebash
sudo aptitude install emacs

 

  • install config openssh server and make it work

Code Block
titleStart ssh-agent
eval `ssh-agent`
exec ssh-agent bash (if ssh-add is not working)

add sam_sshkey.pub to .ssh/authorized_keys

add to /etc/ssh/sshd_config:

Code Block
AllowUsers xxx

changed in the same file:

Code Block
PasswordAuthentication no
PermitRootLogin no

If ssh doesn't work check the grp and own of .ssh/authorized_keys

 


  • install bash completion

Code Block
aptitude install bash-completion

add the following to ~/.bashrc or ~/.bash_profile

Code Block
if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi

 

 

 

Problems solved:

 

 

Problems unsolved: