#ubuntu server 10.04.4
+lamp
+ssh
/////////////////////////////////////////////////
ubuntu server list
ubuntu
change ubuntu package server list
.1 backup// sources.list
sudo cp /etc/apt/sources.list /etc/apt/sources.list.ORG
2.edit// sources.list
sudo vi /etc/apt/sources.list
3.change
vi, tw > us
:1,$s/tw/us/g
4.save// source.list
:wq!
5.update list
sudo apt-get update
/////////////////////////////////////////////////
aptitude
ubuntu
$ sudo aptitude safe-upgrade
$ sudo aptitude full-upgrade
$ sudo aptitude dist-upgrade
$ sudo aptitude update //dependence
$ sudo apt-get install aptitude
/////////////////////////////////////////////////
phpmyadmin
sudo apt-cache search -n phpmyadmin
sudo apt-get install phpmyadmin
/////////////////////////////////////////////////
sudo wget http://prdownloads.sourceforge.net/webadmin/webmin_1.580_all.deb
sudo dpkg --install webmin_1.580_all.deb
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
sudo apt-get -f install
沒有留言:
張貼留言