Address: http://www.ondev.net/post/show/669
Select the software package to be installed. Here we only need to install the server, so we only need to select "server. Remove the "packages from centos EXTRAS" selection box.
Select customize now
Create a new ifcfg-br0 file:
Device = br0Type = BridgeBootproto = staticBroadcast = 10.1.0000255Ipaddr = 10.1.29.3Netmask = 255.255.0.0Network = 10.1.0.0Onboot = Yes
Then modify the configuration file of the corresponding Nic, Which is eth1:
#
In centos, you can set your own installation methods.ProgramStart the instance.1. Add the Startup Program command to the/etc/rc. d/rc. Local file. For example, set httpd to be started upon startup.
#! /Bin/sh
#
# This script will be executed
Build vsftpd server in centos 6.2
First check whether FTP is installed:Rpm-Qa | grep vsftpd
1. If the installed centos does not have the FTP command, it is likely that this step is ignored during the installation process.Yum install
I installed it with livecd, and the installation scale is relatively small. As long as your installation scale is above livecdArticleIt will be suitable for you unless you plan to view the compilation output by yourself.
First, make sure that the
VI/etc/sysconfig/network-scripts/ifcfg-eth0Device = "eth0"Hwaddr = "08: 00: 27: Be: 80: A6"Nm_controlled = "yes"Onboot = "yes"Bootproto = "DHCP"
Bootproto: Set the way for the NIC to obtain the IP address. The possible options are static, DHCP
Note: This method can only be performed on the console, but not remotely.
The premise of entering the single-user mode is that the system boot loader works properly. The following uses GRUB as an example to describe the access method. There are
1. to test and understand vsftp, run the RPM package installation method, first run the rpm-Qa | grep vsftpd --------- command to check whether the package is installed. If not, install the package, I use yumyum install vsftpd. For details, see
Centos Network Configuration
1. Nic Configuration
The NIC must be correctly configured for the host to access the network. The NIC configuration is stored in the/etc/sysconfig/network-script/directory.The directory contains a lot of scripts
This short article records how to deploy the server'sArticle. This article is suitable for Linux beginners. Step * modify the root user password
Paddwd Root * Configure multi-IP address a to bind an IP address without restarting.
Ifconfig eth0: 1
Use OpenSSL to generate a certificate① Generation of RSA keysOpenSSL genrsa-out privkey. pem 2048Some certificates require 1024, so you must:OpenSSL genrsa-out privkey. pem 1024② Generate a certificate requestOpenSSL req-New-key privkey. pem-out
There is a centos 6.0 Image in the Image site of MIIT (http://centos.ustc.edu.cn.Back up/etc/yum. Repos. d/CentOS-Base.repo first
# Mv/etc/yum. Repos. d/CentOS-Base.repo/etc/yum. Repos. d/CentOS-Base.repo.bak
Then change the/etc/yum. Repos.
ArticleDirectory
Install centos 6.2
In the home network environment, one desktop computer and one laptop computer share a wireless router to access the Internet through ADSL. A desktop is a wired link and a laptop is a wireless
My centos is a virtual machine using virtualbox. After installation, it is best to install the vboxadditions enhancement function. The main purpose is to share files between the virtual machine and the host machine.
1. Update the kernel. The
After the system is installed, centos cannot access the Internet. ifconfig finds that no IP address is configured.
Modify IP Address
/Etc/sysconfig/network-scripts/Ifcfg-eth0, if it is multi-nic, In this push
Modify:Onboot = "NO" isOnboot = "
Webmin is a powerful management UI in Linux and is standard for general servers.
Download the Installation File
Wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
Install SSL first
Yum install OpenSSL
Edit the firewall
Configure ftp in centos
1. Terminal command: yum-y install vsftpd.
Vsftpd.
2. Create an ftp user group and user:
$ Groupadd ftpgroup
$ Useradd ftpuser-g ftpgroup-d/webroot/myftpdir-m
$ Passwd ftpuser Password
/Webroot/myftpdir is the folder
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