ubuntu lamp基本操作命令
cat /etc/hosts 查看hosts列表 DNS绑定虚拟域名
vagrant up 启动服务
vagrant ssh 进入虚拟主机ubuntu系统
vagrant suspend 挂起
sudu apt-get install nginx 安装软件nginx
mysql -uroot -p 登陆mysql链接到
select version(); 查看mysql版本
ps -ef | grep apache 查看服务是否存在
sudo /etc/init.d/apache2 restart 重启服务
curl I "http://www.baidu.com" 访问网址
find / -name httpd.conf 通过文件名查找
find /etc -name '*srm*' 通过片段(srm)匹配查找