◎安裝Apache2+Php+Mysql+PhpMyadmin

安裝Apache2+Php+Mysql+PhpMyadmin
1.先做更新與升級 sudo apt-get update / sudo apt-get upgrade

2.安裝重點

root@www3:~$ sudo apt-get install apache2
root@www3:~$ sudo apt-get install php5 libapache2-mod-php5 php5-mysql php5-gd php5-cli
root@www3:~$ sudo apt-get install mysql-server mysql-client phpmyadmin
root@www3:~$ sudo /etc/init.d/apache2 restart

 

閱讀全文

◎安裝webmin

root@www3:~# sudo apt-get install libauthen-pam-perl libnet-ssleay-perl libpam-runtime openssl perl perl-modules
root@www3:~# sudo apt-get -f install
root@www3:~# wget http://prdownloads.sourceforge.net/webadmin/webmin_1.570_all.deb
root@www3:~# sudo dpkg -i webmin_1.570_all.deb
root@www3:~# sudo apt-get install libio-pty-perl

 

閱讀全文