摘要: 系统信息arch 显示机器的处理器架构(1)uname -m 显示机器的处理器架构(2)uname -r 显示正在使用的内核版本dmidecode -q 显示硬件系统部件 - (SMBIOS / DMI)hdparm -i /dev/hda 罗列一个磁盘的架构特性hdparm -tT /dev/sda 在磁盘上执行测试性读取操作cat /proc/cpuinfo 显示CPU info的信息cat /proc/interrupts 显示中断cat /proc/meminfo 校验内存使用cat /proc/swaps 显示哪些swap被使用cat /proc/version 显示内核的版本cat 阅读全文
posted @ 2014-01-15 22:24 kedarui 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1、登陆服务器2、修改ngnix配置文件3、重启ngnix4、测试是否添加成功修改/nginx/conf/nginx.confviminclude /alidata/server/nginx/conf/vhost/*.confcd vhostphpwind.confserver_name www.aliyun-phpwind.comcp default.conf.bak sunsmedia.confvim sunsmedia.conf1、server_name:www.sunsmedia.com2、root /alidata/www/sunsmedia.com3、default sunsmed 阅读全文
posted @ 2014-01-15 22:06 kedarui 阅读(734) 评论(0) 推荐(0) 编辑
摘要: 1、下载一键安装包: http://pan.baidu.com/s/1o6lWyeu2、unzip -x sh.zip chmod -R 755 sh ./install.sh 等待半小时左右3、查看nginx是否启动 ps -ef|grep nginx 查看mysql是否启动 ps -ef|grep mysql4、配置数据库 ifcofig 查看公网ip cat account.log sh目录中查看安装日志 mysql -P3306 -uroot -ppassword -hlocalhost show databases; use mysql; show tables; de... 阅读全文
posted @ 2014-01-15 21:02 kedarui 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 安装完linux ,发现没有UNZIP,没办法,重新安装。1、获取unzip源码sudo wget http://downloads.sourceforge.net/infozip/unzip552.tar.gz2、解压tar zxvf unzip552.tar.gz3、进入目录cd unzip-5... 阅读全文
posted @ 2014-01-15 20:22 kedarui 阅读(18612) 评论(0) 推荐(0) 编辑