Web server Setup (CENTOS+LNMP+SVN+VSFTPD)

Source: Internet
Author: User

First, LNMP

1. Installation

wget -C http://soft.vpser.net/lnmp/lnmp1.1-full.tar.gz && tar zxf lnmp1.1-full.tar.gz && CD lnmp1.1-full &&./centos.sh

2. Upgrade as required

./upgrade_nginx. SH    #Nginx./upgrade_php. SH    #PHP./upgrade_mysql. SH    #MySQL

Second, SVN

1. Installation

Yum Install svn-y    #安装 mkdir /data/svn    /data/svn/www    #创建WWW项目

2. Configuration

mkdir /data/svn/conf# software configuration vi /data/svn/conf/svnserve.conf[general]password passwd Authz-db = authz# account configuration vi /data/svn/conf/passwd[users]test=123  #权限配置 vi /data/svn/conf/authz[www:/]test=RW

3. Start

#添加开机启动 vi /etc/rc.d/-d-r/data/svn--config-file /data/svn/conf/-d-r/data/svn-- config-file /data/svn/conf/svnserve.conf

Third, VSFTPD

1. Installation

Yum Install vsftpd-y

2. Configuration

vi /etc/vsftpd/vsftpd.confanonymous_enable=NO    #禁止匿名登录chroot_local_user=yes    #禁止跳出目录

3. Add an Account

mkdir /data/ ftp ftp-s/sbin/nologin-d/data/ftp/www ftpwww #添加帐号  passwd ftpwww #设置密码

4. Start

service vsftpd start      vsftpd on    #开机启动

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.