yum安装nginx

系统自带源不含nginx。可以利用 epel(xtra Packages for Enterprise Linux) 这个开源的yum源,这个是针对RHEL设计的,由Fedora组织维护,可以用于CentOS、RHEL。

rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum -y install nginx
chkconfig nginx on

如果是centos 6 请替换为

http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm

玩转PT之一键安装Deluge Daemon+WebUI盒子教程

apt-get install wget
wget https://www.2dan.cc/download/Deluge-Daemon-WebUI.sh
sh Deluge-Daemon-WebUI.sh

Deluge WebUI默认端口是8112,如果你的vps/服务器IP是192.168.1.1,那么在浏览器中输入:http://192.168.1.1:8112 就可以了,默认登录密码:deluge 登录成功后出现以下对话框。
1.jpg
至此Deluge安装完毕
注意:本脚本仅能在 Ubuntu/Debian 操作系统中使用。

玩转PT之一键安装wine+utorrent+vnc盒子教程

PT站基本都不支持linux版的utorrent server,所以只能在linux下安装wine,这样就可以虚拟出windows的环境,从而达到使用utorrent目的。

apt-get install wget
wget https://www.2dan.cc/download/wine-utorrent-vnc.sh
sh wine-utorrent-vnc.sh

注意:本脚本仅能在 Ubuntu/Debian 操作系统中使用。

kloxo绑定域名到指定IP

我们的服务器有时候会购买多个IP,当我们做多个网站的时候,就需要绑定域名到指定IP了,这样服务器才能知道哪个域名对应哪个IP。
1、登录kloxo,打开资源->IP地址,点击需要绑定的IP地址。
1.jpg
2、切换到配置域名,在“更新 for …”的下面的下拉框选择需要绑定的域名,点击update生效。

- 阅读剩余部分 -