<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EZ Linux Admin &#187; Installing Centos 4.4 (4.x) Server</title>
	<atom:link href="http://www.ezlinuxadmin.com/tag/installing-centos-44-4x-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ezlinuxadmin.com</link>
	<description>Making Linux Easier</description>
	<lastBuildDate>Tue, 29 Jun 2010 19:37:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting started with the CentOS 4.4 Single Server CD</title>
		<link>http://www.ezlinuxadmin.com/2008/04/getting-started-with-the-centos-44-single-server-cd/</link>
		<comments>http://www.ezlinuxadmin.com/2008/04/getting-started-with-the-centos-44-single-server-cd/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:08:27 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Installing Linux]]></category>
		<category><![CDATA[Installing Centos 4.4 (4.x) Server]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=60</guid>
		<description><![CDATA[
Recently I needed to set up a server with all the usual server components &#8212; Web, mail, and file sharing. It needed to be rock-solid and reliable. I didn&#8217;t want to download 4GB of software from the Net, so I turned to CentOS&#8217; Single Server CD.
CentOS, which stands for Community ENTerprise Operating System, is an [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/1.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/1.thumbnail.png" alt="Centos" /></a></p>
<p>Recently I needed to set up a server with all the usual server components &#8212; Web, mail, and file sharing. It needed to be rock-solid and reliable. I didn&#8217;t want to download 4GB of software from the Net, so I turned to CentOS&#8217; Single Server CD.</p>
<p>CentOS, which stands for Community ENTerprise Operating System, is an enterprise-focused Linux distribution built from the freely available sources (under the GPL and similar licenses) from Red Hat. CentOS 4 is based on Red Hat Enterprise Linux 4 and supports the x86 (i586 and i686), x86_64 (AMD64 and Intel EMT64), IA64, Alpha, and S390 and S390x architectures.</p>
<p>The Single Server CD contains most of the items required for a basic server set up, but without a GUI. It&#8217;s great for those who want a functional install quickly. Also, since there is no memory-hungry GUI, you can run a basic server with just 128MB of RAM, though of course you will need more if you need to deploy large databases.</p>
<p><a href="http://www.ezlinuxadmin.com/?p=34" title="installing centos server"><strong>Centos Server Installation</strong></a></p>
<p>Installing Single Server CD is straightforward, especially if you have installed other Linux distributions. You need to download the Single Server CD from a local mirror, burn it to a disc, and boot your server from that CD.</p>
<p>Even though the Single Server CD doesn&#8217;t contain a GUI, the installation process uses a graphical interface, which means it&#8217;s easy to install. Follow the on-screen instructions and the install should be effortless. Tip: If your server doesn&#8217;t contain any other data and you are happy to have all the disks reformatted, use the &#8220;automatically partition&#8221; option when it comes to the Disk Partitioning Setup, as this will save you lots of time.</p>
<p>I suggest disabling SELinux and turning off the firewall, especially if your server is secure inside your local LAN. You can change the firewall settings later if you like with the system-config-securitylevel command.</p>
<p>You can safely choose to install the default software packages. This will give you a basic CentOS system with Web, mail, and FTP servers, DNS, and Windows file sharing via Samba. On a modern machine you should be able to have the server installed in less than 20 minutes.</p>
<p>Not all the packages on the CD are installed. For instance, if you require PostgreSQL, you&#8217;ll have to install it later from the disc. To install PostgreSQL, mount the CD-ROM (mount /media/cdrom) and use yum to install the client libraries and the server:</p>
<p>yum localinstall /media/cdrom/CentOS/RPMS/postgresql-7*<br />
yum localinstall /media/cdrom/CentOS/RPMS/postgresql-server-7*</p>
<p>PHP 5 and MySQL 5</p>
<p>The strength of CentOS is its reliability and stability. It is built around proven packages and doesn&#8217;t rely on bleeding-edge software. However, there is a disadvantage to this, namely that some of the newest software isn&#8217;t installed. The most critical omissions, in my opinion, are PHP 5 and MySQL 5, but these packages are available through the CentOS Plus Repository.</p>
<p>By default CentOS 4.4 comes with PHP 4.3.9. To upgrade to PHP 5, make sure your server is connected to the Internet and run the command:</p>
<p>yum &#8211;enablerepo=centosplus upgrade php*</p>
<p>The same goes for MySQL. The default in CentOS 4.4 is MySQL 4.1.20. To upgrade to 5, use the following commands:</p>
<p>yum &#8211;enablerepo=centosplus upgrade mysql*<br />
yum &#8211;enablerepo=centosplus install mysql-server-5*</p>
<p>Simple administration</p>
<p>Since CentOS 4.4 Single Server CD doesn&#8217;t come with a GUI, you need to do all your configuration via the command line. Here are few keys commands and files to help you configure your server.</p>
<p>To start and stop a service use:</p>
<p>service XYZ start<br />
service XYZ stop</p>
<p>Where XYZ is the service name, e.g. postgresql.</p>
<p>To configure the networking run:</p>
<p>netconfig</p>
<p>To configure a printer run:</p>
<p>system-config-printer</p>
<p>By default there are several system services that are not started at boot time, including the Web server and the MySQL server. To ensure that the essential services are started at boot time, run the following commands:</p>
<p>chkconfig &#8211;levels 235 httpd on<br />
chkconfig &#8211;levels 235 mysql on<br />
chkconfig &#8211;levels 235 smb on<br />
chkconfig &#8211;levels 235 vsftpd on</p>
<p>If you need POP3 and IMAP services, you need to configure the dovecot daemon. By default, the dovecot daemon provides only IMAP services. If you also want POP3 you must edit /etc/dovecot.conf and put in the line:</p>
<p>protocols = imap imaps pop3 pop3s</p>
<p>Dovecot isn&#8217;t started by default either (but is installed as one of the standard packages). To make sure it is started at boot time, type:</p>
<p>chkconfig &#8211;levels 235 dovecot on</p>
<p>Once you have everything configured correctly, reboot, not because Linux needs it, but just to be sure that everything comes up and runs as expected.</p>
<p>Conclusion<br />
CentOS is a reliable and robust Linux distribution, and the Single Server CD version is close to perfect for anyone looking for a simple but yet functional server distribution without having to download four or five CDs from the net.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2008/04/getting-started-with-the-centos-44-single-server-cd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set up Centos a 4.4 (4.x) Server</title>
		<link>http://www.ezlinuxadmin.com/2008/04/how-to-set-up-centos-a-44-4x-server/</link>
		<comments>http://www.ezlinuxadmin.com/2008/04/how-to-set-up-centos-a-44-4x-server/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 02:56:15 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Installing Linux]]></category>
		<category><![CDATA[Installing Centos 4.4 (4.x) Server]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=34</guid>
		<description><![CDATA[This is a detailed description about how to set up a CentOS 4.4 based server that offers all services needed by ISPs and hosters (web server (SSL-capable), mail server (with SMTP-AUTH and TLS!), DNS server, FTP server, MySQL server, POP3/IMAP, Quota, Firewall, etc.). This tutorial is written for the 32-bit version of CentOS 4.4, but [...]]]></description>
			<content:encoded><![CDATA[<p align="left">This is a detailed description about how to set up a CentOS 4.4 based server that offers all services needed by ISPs and hosters (web server (SSL-capable), mail server (with SMTP-AUTH and TLS!), DNS server, FTP server, MySQL server, POP3/IMAP, Quota, Firewall, etc.). This tutorial is written for the 32-bit version of CentOS 4.4, but should apply to the 64-bit version with very little modifications as well.</p>
<p align="left">It will use the following software:<br />
Web Server: Apache 2.0.x<br />
Database Server: MySQL 4.1<br />
Mail Server: Postfix (easier to configure than sendmail; has a shorter history of security holes than sendmail)<br />
DNS Server: BIND9 (chrooted!)<br />
FTP Server: proftpd<br />
POP3/IMAP server: dovecot<br />
Webalizer for web site statistics<br />
In the end you should have a system that works reliably.</p>
<p>This is not the only way of setting up such a system. There are many ways of achieving this goal but this is a common way. <strong>Requirements</strong></p>
<p>To install such a system you will need the following: Download the 4 CentOS 4.4 CD iso images from a mirror near you (the list of mirrors can be found here: <a href="http://www.centos.org/modules/tinycontent/index.php?id=13" title="centos">http://www.centos.org/modules/tinycontent/index.php?id=13</a>). You can also find it and other Centos versions at <a href="http://www.downloadspot.com" title="free downloads">Download Spot </a> You will need a internet connection.</p>
<p align="left">&nbsp;</p>
<p align="left">
<table align="right" border="0" height="10">
<tr>
<td align="left" width="100%">&nbsp;</td>
</tr>
<tr>
<td><strong>1 Install Centos </strong> Boot from your CentOS 4.4 CD<br />
(CD 1).<br />
<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/1.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/1.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>It can take a long time to test the installation media so we skip this<br />
test here: <a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/2.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/2.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>The welcome screen of the CentOS installer appears. Click on Next: <a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/3.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/3.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Choose your language next: <a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/4.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/4.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Select your keyboard layout:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/5.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/5.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>We want to install a server so we choose Server here:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/6.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/6.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Next we do the partitioning. Select Automatically partition unless you<br />
are a advanced user. This will give you a small /boot partition and a<br />
large / partition which is fine for our purposes (I use 1 gig for / 1<br />
gig for /temp 8 gigs for /usr 8 gigs for /var 2 gigs for SWAP and split<br />
the rest with /home and /backup:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/7.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/7.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>I&#8217;m installing CentOS 4.4 on a fresh system, so I answer <strong>Yes</strong><br />
to the question Would you like to initialize this drive, erasing ALL DATA.<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/8.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/8.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Select Remove all partitions on this system.<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/9.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/9.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>We want to remove all Linux partitions, so we answer Yes to the following<br />
question:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/10.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/10.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>The installer presents you an overview of our new partitions. Click<br />
on Next:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/11.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/11.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Now the boot loader GRUB will be installed. You can leave the default<br />
settings unchanged and click on Next:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/12.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/12.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>On to the network settings. The default setting here is to configure<br />
the network interfaces with DHCP, but we are installing a server, so static<br />
IP addresses are not a bad idea&#8230; Click on the Edit button at the top<br />
right. In the window that pops up uncheck Configure using DHCP and give<br />
your network card a static IP address (in this tutorial I&#8217;m using the<br />
IP address 192.168.0.100 for demonstration purposes):<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/13.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/13.thumbnail.png" alt="Centos" /></a><a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/14.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/14.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Set the hostname manually, e.g. dwhs500.dwhs.net, and enter a gateway<br />
(e.g. 192.168.0.1) and up to three DNS servers (e.g. 145.253.2.75, 193.174.32.18,<br />
and 194.25.0.60) Contact your data center, isp, or set up dns servers<br />
for this:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/15.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/15.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>The default firewall does more harm then good. I would disable it completely<br />
and bypass the warning. There is much better after market firewalls like<br />
csf for free.<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/16.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/16.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Click on Proceed:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/17.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/17.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Select the default language for the system and add further languages,<br />
if necessary:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/18.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/18.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Choose your time zone:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/19.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/19.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Give root a password (do not lose this <strong>VERY IMPORTANT</strong>):<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/20.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/20.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Now we are to select the package groups we want to install. Select Editors,<br />
Text Based Internet, Server Configuration Tools, Web Server, Mail Server,<br />
DNS Name Server, FTP Server, MySQL Database, Development Tools, Administration<br />
Tools and System Tools and click on Next:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/21.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/21.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>The installer tells you which CDs it will need to install the selected<br />
packages<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/22.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/22.thumbnail.png" alt="Centos" /></a><a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/23.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/23.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>The installation begins. This will take a few minutes:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/24.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/24.thumbnail.png" alt="Centos" /></a></td>
</tr>
<tr>
<td>Finally, the installation is complete, and you can remove your CD from<br />
the computer and reboot it:<a href="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/25.png" title="Centos"><img src="http://www.ezlinuxadmin.com/wp-content/uploads/2008/04/25.thumbnail.png" alt="Centos" /></a></td>
</tr>
</table>
<p align="left">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2008/04/how-to-set-up-centos-a-44-4x-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
