Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->Linux技术 ->发行版专区 ->CentOS ->正文

在CentOS 4.4上安装配置OpenVZ

来源:howtoforge 作者:ganesh35  时间:2007-04-22 点击: [收藏] [投稿]
/ ext3 2-4 Gb Root partition for Hardware Node OS files
swap swap 2 times RAM Paging partition for the Linux OS
/vz ext3 Rest of available Space  Partition to host OpenVZ templates and VPSs

Step #3 – Configuring Grub, Network and Security

Now the boot loader GRUB will be installed. You can leave the default settings unchanged and click on Next:

On to the network settings. The default setting here is to configure the network interfaces with DHCP, but we are installing a server, so static IP addresses are not a bad idea... Click on the Edit button at the top right. In the window that pops up uncheck Configure using DHCP and give your network card a static IP address (in this tutorial I'm using the IP address 192.168.0.100 for demonstration purposes):

Set the hostname manually, e.g. server1.example.com, and enter a gateway (e.g. 192.168.0.1) and up to three DNS servers (e.g. 145.253.2.75, 193.174.32.18, and 194.25.0.60):

SELinux is a security extension of CentOS that should provide extended security. In my opinion you don't need it to configure a secure system, and it usually causes more problems than advantages

Click on Proceed:

Step #4 – Other Settings

Select the default language for the system and add further languages, if necessary:

Choose your time zone:

Give root a password:

Step #5 – Package Selection and Finalizing the system

Now we are to select the package groups. Uncheck packages on the server group. Install a bare OS without any applications

The installer tells you which CDs it will need to install the selected packages:

The installation begins. This will take a few minutes:

Finally, the installation is complete, and you can remove your CD from the computer and reboot it:

Step #6 - Post Installation

yum update -y

shutdown now -r

2. Installing OpenVZ Kernel

Step #7 - Downloading and Installing OpenVZ Kernel

# cd /etc/yum.repos.d

# wget http://download.openvz.org/openvz.repo

# yum install ovzkernel

Step #8 - Configuring the bootloader

In case GRUB is used as the boot loader, it will be configured automatically: lines similar to these will be added to the /boot/grub/grub.conf file:



 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<

上一页 1 23 4 下一页


上一篇:使用Bastille完美加固CentOS Linux系统   下一篇:入侵监测系统的构建(chkrootkit )

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
·用SSH客户端软件登录到服务器
·CentOS下用OpenSSH构建SSH服务器
·入侵监测系统的构建(chkrootkit )
·在CentOS 4.4上安装配置OpenVZ
·使用Bastille完美加固CentOS Linux系统
·CentOS系统安装后的初始环境设置
·CentOS安装及初始环境设置
·CentOS4.4(32位)完美安装过程
·centos配置 apache、php、jdk、resin
·《社区企业操作系统》(CentOS (Community Enterp
推荐文章
·《社区操作系统》(CentOS 5)V5.0[IS
·centos配置 apache、php、jdk、resi
·使用Bastille完美加固CentOS Linux
·CentOS系统安装后的初始环境设置
·在CentOS 4.4上安装配置OpenVZ
·用SSH客户端软件登录到服务器
·CentOS下用OpenSSH构建SSH服务器
·入侵监测系统的构建(chkrootkit )
精彩文章
·CentOS下用OpenSSH构建SSH服务器
·在CentOS 4.4上安装配置OpenVZ
·CentOS系统安装后的初始环境设置
·CentOS4.4(32位)完美安装过程
·centos配置 apache、php、jdk、resi
·入侵监测系统的构建(chkrootkit )
·《社区操作系统》(CentOS 5)V5.0[IS
·使用Bastille完美加固CentOS Linux
·《社区企业操作系统》(CentOS)4.3[I
·《社区企业操作系统》(CentOS (Comm
·用SSH客户端软件登录到服务器
·CentOS安装及初始环境设置
Power by linux-cn.com 粤ICP备05006655号