September 2014
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

September 2014
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

CENTOS 7 LNMP (Nginx -PHP -MySQL)

rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm

systemctl start nginx.service

systemctl stop httpd.service yum remove httpd systemctl disable httpd.service root@centos71 ~]# systemctl start nginx.service [root@centos71 ~]# systemctl restart nginx.service [root@centos71 ~]# systemctl status nginx.service nginx.service – nginx – high performance web server Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled) Active: active (running) since Thu 2014-09-11 14:32:02 SGT; 8s ago Docs: http://nginx.org/en/docs/ Process: […]

RAID

RAID

A soft RAID vs Hard RAID: a> Software RAID is an abstraction layer in an OS between physical and logical disk, and this abstraction layer will consume some CPU resources. Hardware RAID is not the problem; b> can support hot-swappable RAID hard disks, the benefits of this can be brought online to replace a […]

48 TIPS FOR BASH

We collected a bunch of shell scripting skills, I said, I write a blog mainly to make some study notes, to facilitate their access to,

so I would come up with such an article, there is no incomprehensible. About the origin of these skills, eh, I forgot, it may come from theunixschool, commandlinefu, cool ground […]