Discard CentOS and use UbuntuServer

Source: Internet
Author: User
Tags centos server
The previously selected CentOS server operating system is the same as the well-known RedHatEnterpriseLinux. However, during the OpenStack experiment, I experienced javastuserver, and now I have changed my path. Reasons: 1. RHEL can only be "tried" for free and cannot be "used" for free. The CentOS release version is about half a year behind RHEL, and javastuserver can be "original factory" for fresh experience and reliable deployment; 2. UbuntuServer used CentOS as the server operating system in terms of system management. After all, it is the same as the well-known RedHat Enterprise Linux. However, I tried Ubuntu Server during the OpenStack experiment, and now I have changed my path. Reason:

1. RHEL can only be "tried" for free and cannot be "used" for free. The CentOS release version is about half a year behind RHEL. Ubuntu Server can be "Factory" for fresh experience and can be deployed with peace of mind;

2. Ubuntu Server is more "comfortable" in system management, such as NIC configuration and/etc/network/interfaces configuration file, including all network adapters and static routes, which is much easier than/etc/sysconfig/network-scripts/ifcfg-ethX of the RedHat system.

For example:

/Etc/network/interfaces

# The loopback network interface
Auto lo
Iface lo inet loopback
Iface lo inet6 loopback

# The primary network interface
Auto eth0
Iface eth0 inet static
Address 192.168.2.1
Network 192.168.2.0
Netmask 255.255.255.0
Broadcast 192.168.2.255
Up route add-net 192.168.3.0 netmask 255.255.255.0 gw 192.168.2.2
Down route del-net 192.168.3.0 netmask 255.255.255.0 gw 192.168.2.2
Up route add-net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.2
Down route del-net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.2
Iface eth0 inet6 static
Address 2000: 2: 1
Netmask 64
Up route-A inet6 add 2000: 3:/64 gw 2000: 2: 2
Up route-A inet6 add 2000: 4:/64 gw 2000: 2: 2
Down route-A inet6 del 2000: 3:/64 gw 2000: 2: 2
Down route-A inet6 del 2000: 4:/64 gw 2000: 2: 2

Auto eth1
Iface eth1 inet dhcp

 

3. tasksel, a server software package Installation tool, allows you to easily Configure the server environment. "Tasksel is a software installer inherent in the Debian installer. It collects software packages in the form of tasks and enables users to easily install software packages. It also provides the traditional metadatabase feature (http://wiki.ubuntu.com.cn/UbuntuHelp:Tasksel )."

Tasksel is installed on Ubuntu Server by default.

$ Sudo tasksel

The operations shown in the figure are clear, right?

You can also directly execute the installation task on the command line, such as installing LAMP Server and DNS Server:

$ Sudo tasksel install lamp-server

$ Sudo tasksel install dns-server

Well, I don't know if Redhat has any of these tools. If so, who knows. 650) this. width = 650; ">

4. Ubuntu official documents are detailed and clear. I like them.

Finally, let's talk nonsense: each release series has its own advantages and disadvantages. The choice of which release represents my opinion, and it is useless to argue. 650) this. width = 650; ">

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.