CentOS-configure Nic, FTP, and install AMP

Source: Internet
Author: User
CentOS & mdash; this short article describes how to deploy the server after getting the root account and password of the server, configuring the NIC, FTP, and installing the server. This article is suitable for Linux beginners. Step * modify the root user password paddwdroot * configure multi-IP address A without restarting... centOS-this short article describes how to deploy a server after obtaining the root account and password of the server by configuring the NIC, FTP, and installation of the server. This article is suitable for Linux beginners. Step * modify the password of the root user paddwd root * configure multi-IP address A to bind the IP address ifconfig eth0: 1 x without restarting. x. x. x netmask limit 255.255.0ifconfig eth0: 2 x. x. x. x netmask 255.255.255.0 B save configuration information to file 1 copy configuration information cp/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/ifcfg-eth0: 1cp/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/ifcfg-eth0: 2 2 use the vi command, modify the corresponding configuration file vi/etc/sysconfig/network-scripts/ifcfg -Eth0: 1 DEVICE = eth0BOOTPROTO = noneHWADDR = 00: 1e: 90: ee: 2c: 6 fONBOOT = yesNETMASK = 255.255.255.0 # enter the subnet mask IPADDR = x provided by the service provider. x. x. x # enter the IP address GATEWAY = x. x. x. x # enter the Gateway IPTYPE = Ethernet service network restart * provided by the service provider or save the ifconfig command to/etc/rc. d/rc. in the local file, * Apache, Mysql, and PHP are installed on CentOS by default. we only need to install Mysql and PHP. The installation process is also very simple. use the yum command. Here is a specific article on how to install CentOS 5.x yum to install LAMP (Apache + MySQL + PHP) or refer to here: centOS-set up the LAMP runtime environment and configure Apache cd/etc/httpd/conf/extra/ ServerAdmin google@gmail.com DocumentRoot/home/website/www.google.com ServerName google.com ServerAlias www.google.com ErrorLog logs/dummy-google.com-error_log CustomLog logs/dummy-google.com-access_log common * VSFTPDcentos 5 yum installation and configuration vsFTPd FTP server = VsFtpd = 530 Login incorrect error and 530 Permission denied error occur when you log on to vsftpd as a root user today. 530 Permission denied:/etc/vsftpd. in conf, userlist_enable = YES/etc/vsftpd/user_list contains two solutions for the root list: userlist_enable = NO remove the root from user_list + remove the 530 Login incorrect error from/etc/vsftpd/ftpusers
Related Article

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.