• vsftpd如何将用户限制在特定目录中

    日期:

    vsftpd将用户限制在特定目录中的配置方法,以及vsftpd配置中的一些问题与解决方法,vsftp 出现500 OOPS: could not bind listening IPv4 socket 的解决方法,一起来了解下。 用户配置目录:/etc/vsftpd/user.d 为每个用户建立配置文件 比如: #/etc/vsftpd/user...

  • Centos_Install VNC-Server

    日期:

    01.YUM 安装 centos @ aping ~ # yum -y install vnc vnc-server 02. 配置 VNC centos @ aping ~ # vncserver 提示输入 vnc 密码或 vncpasswd 设置密码 centos @ aping ~ #vi /etc/sysconfig/vncservers 解注释或添加 VNCSERVERS = 10:root #10 是桌面号 roo...

  • Ubuntu_Install VNC-Server

    日期:

    ubuntu@itnetcn:~$ sudo apt-get install vnc4server ubuntu@itnetcn:~$ sudo vncserver You will require a password to access your desktops. Password:#输入VNC访问密码 Verify:#输入VNC访问密码 Password too long - only the first 8 characters will...

  • Ubuntu.Install.DNS.Server

    日期:

    Ubuntu.Install.DNS.Server bind: DNS服务器软件 port: 53 01. 安装 bind9 ( DNS ) ubunru @ Monitoring : ~ $ sudo apt - get install bind9c #主程序 ubunru @ Monitoring : ~ $ sudo apt - get install bind9 - doc #文档 1 2 3 4 5 6 02. 服务启用 ubunr...

  • CentOS安装配置dnsmasq域名拦截服务应用

    日期:

    CentOS 安装配置 dnsmasq 域名拦截服务应用 yum install dnsmasq cp / etc / dnsmasq .conf / etc / dnsmasq .conf - old #主配置文件 sudo vim / etc / dnsmasq .conf address = / www .test01 .com / 192.168.0.12 address = / www .test02 .com / 192.168...

  • Nginx添加HttpGzip模块

    日期:

    Nginx启用HttpGzip模块 参考Nginx重新编译添加模块 1.编译模块 cd nginx-1.4.1/ sudo ./configure --with-http_gzip_static_module --with-http_sub_module --prefix=/opt/nginx sudo make #编译 #不要make install,否则就是覆盖安装 #启用HttpGzip模块,在...

  • Nginx文件下载服务器

    日期:

    Nginx文件下载服务器,页面中列出文件和目录,点击即可下载 1.下载文件配置参数 it@ubuntu:~$ sudo vim /home/it/app/nginx/conf/down.it.net.cn.conf server { listen 80; server_name down.it.net.cn; root /home/it/app/nginx/html/down; autoindex on; au...

  • Nginx基本检查维护

    日期:

    Nginx基本检查维护 # /opt/nginx/ 为编译安装路径 sudo /opt/nginx/sbin/nginx #开启服务 ps -ef |grep nginx #查看进程 sudo killall nginx #杀进程 sudo kill -HUP `cat /opt/nginx/logs/nginx.pid` #不影响服务 重启Nginx ps -ef | grep nginx: master pr...

  • Nginx启动停止系统服务脚本

    日期:

    #!/bin/sh #Nginx添加为系统服务 #将本脚本重命名拷贝到/etc/init.d/nginx #chmod +x /etc/init.d/nginx #chkconfig --add nginx #chkconfig --level 345 nginx on ### BEGIN INIT INFO # Provides: nginx # Required-Start: $all # Required-Stop: $all # D...

  • Nginx代理Apache显示真实IP

    日期:

    Nginx反向代理Apache的情况下让Apache获得真实IP 需要使用mod_rpaf模块 1.下载mod_rpaf-stable https://github.com/gnif/mod_rpaf 2.安装模块 it@AX201:/down/mod_rpaf-stable$ sudo /home/app/apache/bin/apxs -i -c -n mod_rpaf.so mod_rpaf.c 3.查看已添...