debian
安装 wget
apt-get install wget
//////////////////////////////////////////////
修改root 密码
passwd root
//////////////////////////////////////////////
解决vi 编辑器问题
apt-get install vim
//////////////////////////////////////////////
安装ssh
apt-get install openssh-server
//////////////////////////////////////////////
改22端口
vi /etc/ssh/sshd_config // 添加 port
/etc/init.d/ssh restart
/etc/init.d/ssh stop // 重新启动 ssh 服务
/etc/init.d/ssh start
ps -e |grep ssh
如果看到sshd那说明ssh-server已经启动了。
如果没有则可以这样启动:sudo /etc/init.d/ssh start
//////////////////////////////////////////////
安装mysql
apt-get install mysql-server
//////////////////////////////////////////////
安装nginx
apt-get install nginx
///////////////////////////////////////////
转载于:https://blog.51cto.com/296270/962294