How to install Linux on the SUN Server

Source: Internet
Author: User

Generally, the Solaris operating system is installed on the SUN server. The Solaris operating system is strong and can be used together with the SUN iSCSI/Sparc64 processor. It is a good choice to use the Internet as a network application server. However, Solaris has always been the hacker's favorite attack object, and X Window also consumes a lot of system resources. As a network administrator, It is very troublesome to patch the Solaris system. If the SUN server is only used as a Web server, it is recommended to install Gentoo Linux system http://www.gentoo.org/) on the SUN server, not only can be easily grasped in terms of security, and the system utilization is particularly high, suitable for running medium-load Web Services. At the same time, the IA structure is widely used, and network administrators can install Gentoo Linux on normal PCs for drills, eliminating the cost of learning Solaris system maintenance.
Currently, the most popular Linux releases are RedHat and RedHat, which are easy to install and are equipped with easy-to-operate configuration software, such as linuxconf. However, Gentoo Linux is not concise. Gentoo Linux was initially designed to be familiar with the Linux network management system. Its unique Portage porting from BSD is a very distinctive service, so it is a bit of a BSD "lineage ".
The Installation Process of Gentoo Linux on the SUN server is described in detail at http://www.gentoo.org/doc/gentoo-sparc-install.html. The following describes how to install Gentoo Linux on a SUN E250 server. Download the iso cd image http: // www.ibiblio.org/pub/linux/distributions/gentoo/releases/1.1a/gentoo-iscsi-1.1a-r2.iso) and burn it to the boot disc. Put the CD in the optical drive, and press Stop-A to enter the OpenBoot status:
OK boot cdrom arrives after startup
SILO:
...
Boot: Type ramdisk
The next step is to set network parameters. This step is important because Gentoo Linux software is directly downloaded from www.ibiblio.org to the installed machine.
#/Sbin/ifconfig eth0 $ IPNUM broadcast $ BCAST netmask $ NMASK
Set IP Address
#/Sbin/route add-net default gw $ GTWAY netmask 0.0.0.0 metric 1
Set the default IP Route
Then edit/etc/resolv with nano-tiny. conf sets your domain name and Domain Name Server. At this time, only the nano-tiny editor is available.) If your network has a Proxy, you must also set it correctly.
Follow the Installation Guide to mount your CD and then partition the disk.
Fdisk/dev/sda do not forget to partition the swap and format the root partition using mke2fs.
Mount the New Root partition, use wget to get the compressed package of stage 1, and decompress it to the root partition of the new partition. Set make. conf to make the compilation options comply with the sparc64 environment and run
Emerge rsync
After downloading the complete Packages directory from the Internet, run/usr/portage/scripts/bootstrap. sh to start the first phase of installation.
Wait until the system returns to the # status and execute
# Export CONFIG_PROTECT = ""
# Install emerge system in the second phase.
Wait for the system to return to the # status again and start the installation at the final stage. It is mainly to recompile the core of the system, # emerge egcs64-sparc to get the sparc64 platform C compiler, get the latest kernel from www.kernel.org and then compile to get vmlinux. Set/etc/silo. conf correctly, and install the software.
Finally, the system is set, mainly for the hard disk mount parameter setting and IP address in/etc/fstab, and also for the installation of syslogd and other daemon, such as apache, opensshd, proftpd, etc. If you are not familiar with Gentoo software packages, you can check http: // www.gentoo.org/index-packages.html,3343 software packages ).
# Emerge app-admin/sysklogd
# Rc-update add sysklogd default enables syslogd to run automatically at startup.
Then there is reboot.
After Gentoo Linux is installed, the system is very simple. You can see very few processes in ps aux. With nmap scanning, only the ports you need are opened. The package management of Gentoo Linux is very distinctive. For example, if you need the vi software, execute
# Emerge vi
Once installed, the province can be found everywhere on the Internet, which is as easy as the RedHat RPM.
In general, the installation of Gentoo Linux is relatively slow, but it runs very fast after installation. If you run a Web server on SUN, try Gentoo Linux, and you will surely be pleasantly surprised to find out.

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.