1.将用户加入到sudoers列表中
#apt-get install sudo
#chmod +w /etc/sudoers
#vim /etc/sudoers
添加一行:username ALL=(ALL) ALL
其中username是你的用户名,保存
2.查看已安装的软件包:aptitude
3.防火墙:
查看是否安装防火墙:whereis iptables
查看防火墙状态:sudo iptables -L
4.安装LAMP:
sudo tasksel
5.安装phpmyadmin(登陆用户名root)
sudo apt-get install libapache2-mod-auth-mysql phpmyadmin