安裝 Nginx
mangodb
php 5.4 up
mysql 5.5
yum 已經可以裝到 php5.4 up 和 mysql 5.6
來裝 NGinx 吧
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7
這邊有說明
sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
sudo yum install nginx
Step Three—Start Nginx
sudo systemctl start nginx.service
MondoDB install link
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/
install -d -m 0755 -o mongod -g mongod /var/run/mongodb
mkdir /var/run/mongodb
chown mongod:mongod /var/run/mongodb
chmod 755 /var/run/mongodb
# on next boot, tmpfiles.d will create the directory
cat > /etc/tmpfiles.d/mongod.conf <
d /var/run/mongodb 0755 mongod mongodEOF
沒有留言:
張貼留言