sh 完美的Web服务器 - Nginx,Ajenti,Ubuntu

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 完美的Web服务器 - Nginx,Ajenti,Ubuntu相关的知识,希望对你有一定的参考价值。

#Insall Ajenti
apt-get update
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list
apt-get update
apt-get install ajenti
service ajenti restart

# Uninstall Apache2
sudo apt-get autoremove && sudo apt-get remove apache2*

# Install Ajenti-v
apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysql 

# If you <3 Ruby
apt-get install ajenti-v-ruby-unicorn ajenti-v-ruby-puma

# If you need Python
apt-get install ajenti-v-python-gunicorn

# If you need nodeJS
apt-get install ajenti-v-nodejs

# If you want FTP
apt-get install ajenti-v-ftp-pureftpd

# If you want mail
apt-get install ajenti-v-mail

# If you want POP support (for gmail etc.)
apt-get install courier-pop

# Restart All Services
sudo service php5-fpm restart
sudo service nginx restart
sudo service ajenti restart

以上是关于sh 完美的Web服务器 - Nginx,Ajenti,Ubuntu的主要内容,如果未能解决你的问题,请参考以下文章

室友很喜欢打王者荣耀,不过每次都纠结选哪个英雄玩,Nginx完美解决

WEB服务健康状态检测

keepalived结合nginx状态检测脚本实现对web服务器集群的高可用

Web宝塔面板网站默认80端口被占用完美解决!

如何在NGINX网站服务器中实施SSL完美前向保密技术

Haproxy搭建Web群集技术