<?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>Camilo Lozano III &#187; Administration</title>
	<atom:link href="http://camilord.kagayan.com/category/information-technology/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://camilord.kagayan.com</link>
	<description>Linux for Servers, Macintosh for Graphics and Windows for Solitair...</description>
	<lastBuildDate>Sat, 24 Jul 2010 13:07:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Generating SSL certificates using OpenSSL</title>
		<link>http://camilord.kagayan.com/2010/05/10/generating-ssl-certificates-using-openssl/</link>
		<comments>http://camilord.kagayan.com/2010/05/10/generating-ssl-certificates-using-openssl/#comments</comments>
		<pubDate>Mon, 10 May 2010 04:56:35 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=399</guid>
		<description><![CDATA[Based on Centos Wiki on HowTo SSL &#8211; http://wiki.centos.org/HowTos/Https I simplified the procedure to create a bash script. Here&#8217;s the code; #!/bin/bash umask 077 echo "" if [ $# -eq 0 ] ; then echo $"Usage: `basename $0` &#60;DOMAIN_NAME&#62; [...]" echo "" exit 0 fi for target in $@ ; do keyFile=${target}.key crtFile=${target}.crt csrFile=${target}.csr echo]]></description>
			<content:encoded><![CDATA[<p>Based on Centos Wiki on HowTo SSL &#8211; http://wiki.centos.org/HowTos/Https</p>
<p>I simplified the procedure to create a bash script. Here&#8217;s the code;</p>
<pre>#!/bin/bash
umask 077

echo ""
if [ $# -eq 0 ] ; then
 echo $"Usage: `basename $0` &lt;DOMAIN_NAME&gt; [...]"
 echo ""
 exit 0
fi

for target in $@ ; do

 keyFile=${target}.key
 crtFile=${target}.crt
 csrFile=${target}.csr

 echo $keyFile
 echo $crtFile
 echo $csrFile

 # Generate private key
 openssl genrsa -out $keyFile 1024 

 # Generate CSR
 openssl req -new -key $keyFile -out $csrFile

 echo ""
 echo "Please enter the number of days which SSL Certificate will be valid:"
 read DAYS
 echo ""

 # Generate Self Signed Key
 openssl x509 -req -days $DAYS -in $csrFile -signkey $keyFile -out $crtFile
done</pre>
<p>Or download the script below&#8230;</p>
<p><strong>Download: <a class="downloadlink" href="http://camilord.kagayan.com/download/gencert.zip" title="Version0.0.1.0 downloaded 6 times" >gencert (6)</a> bash script</strong></p>
<p>How to add <strong>gencert</strong> command to your system:</p>
<ol>
<li>Download the gencert bash script</li>
<li>Extract the file</li>
<li>chmod u+x gencert</li>
<li>then copy the gencert file to /bin/</li>
<li>Wallaah! You&#8217;re done!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2010/05/10/generating-ssl-certificates-using-openssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CEntOS: Securing FTP (vsftpd) and SSH</title>
		<link>http://camilord.kagayan.com/2010/05/08/centossecuring-ftp-vsftpd-and-ssh/</link>
		<comments>http://camilord.kagayan.com/2010/05/08/centossecuring-ftp-vsftpd-and-ssh/#comments</comments>
		<pubDate>Sat, 08 May 2010 15:13:20 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=388</guid>
		<description><![CDATA[SECURING FTP Use chroot_local_user=YES then the vsftpd.chroot_list becomes a list of users to NOT chroot. So&#8230; you said chroot ALL users but ftpuser. Notice the commented out lines. In /etc/vsftpd/vsftpd.conf: chroot_local_user=YES chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list edited /etc/vsftpd.chroot_list: add users only that DO NOT NOT NOT NOT get chrooted. use /sbin/nologin edited /etc/passwd entry for ftpuser: ftpuser:X:#:#:FTP User]]></description>
			<content:encoded><![CDATA[<p><strong>SECURING FTP</strong></p>
<p>Use chroot_local_user=YES then the vsftpd.chroot_list becomes a list of users to NOT chroot. So&#8230; you said chroot ALL users but ftpuser.</p>
<p>Notice the commented out lines.<br />
In /etc/vsftpd/vsftpd.conf:<br />
chroot_local_user=YES<br />
chroot_list_enable=YES<br />
chroot_list_file=/etc/vsftpd.chroot_list</p>
<p>edited /etc/vsftpd.chroot_list:<br />
add users only that DO NOT NOT NOT NOT get chrooted.</p>
<p>use /sbin/nologin<br />
edited /etc/passwd entry for ftpuser:<br />
ftpuser:X:#:#:FTP User Account:/home/ftpuser/./:/sbin/nologin</p>
<p>&#8212;&#8212;&#8212;&#8212;</p>
<p>chroot_local_user=YES<br />
chroot_list_enable=YES<br />
means that by default ALL users get chrooted except users in the file</p>
<p>chroot_local_user=NO<br />
chroot_list_enable=YES<br />
means that by default ONLY users in the file get chrooted.</p>
<p>See the difference?</p>
<p>Article by: <a href="http://www.linuxquestions.org/questions/user/jordanh-71777/">JordanH</a></p>
<p><strong>SECURING SSH</strong></p>
<p>Edit /etc/ssh/sshd_config and at the bottom of the file, add these lines&#8230;</p>
<p># Allowed users to login SSH<br />
#AllowUsers root user002</p>
<p># Disallow users in logging in at SSH<br />
#DenyUsers user001</p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2010/05/08/centossecuring-ftp-vsftpd-and-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Professional Certification</title>
		<link>http://camilord.kagayan.com/2009/12/18/ubuntu-professional-certification/</link>
		<comments>http://camilord.kagayan.com/2009/12/18/ubuntu-professional-certification/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 14:11:58 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=293</guid>
		<description><![CDATA[Today, I tried to answer the pre-test of UPC or the Ubuntu Professional Certification&#8230; and the result was&#8230; Dear Camilo III, Thank you very much for taking part in the pre-training assessment. Your score is 9, which means that you are probably over-qualified for this course. As a next step we suggest that you read]]></description>
			<content:encoded><![CDATA[<div id="attachment_302" class="wp-caption alignright" style="width: 230px"><img class="size-medium wp-image-302" title="Ubuntu Girl" src="http://camilord.kagayan.com/wp-content/uploads/2009/12/1594658226_d32d14d87e-220x300.jpg" alt="Ubuntu Girl" width="220" height="300" /><p class="wp-caption-text">Ubuntu Girl</p></div>
<p>Today, I tried to answer the pre-test of UPC or the Ubuntu Professional Certification&#8230; and the result was&#8230;</p>
<blockquote><p>Dear Camilo III,</p>
<p>Thank you very much for taking part in the pre-training assessment.</p>
<p>Your score is 9, which means that you are probably over-qualified for this course.</p>
<p>As a next step we suggest that you read through the Deploying Ubuntu Server Edition course overview found here: <a style="color: #005488;" href="http://www.ubuntu.com/training/certificationcourses/server" target="_blank">http://www.ubuntu.com/training/certificationcourses/server</a> and then complete the corresponding online assessment.</p>
<p>Ubuntu Training courses are taught by Canonical-trained Ubuntu Certified Instructors. The Deploying Ubuntu Server Edition course is available through online training and classroom training, so you can can learn in the environment that suits you best.</p>
<p>Visit: <a style="color: #005488;" href="http://www.ubuntu.com/training" target="_blank">www.ubuntu.com/training</a> for more information.</p>
<p>Best regards and good luck<br />
The Ubuntu Training Team</p></blockquote>
<p>How flattering!! I admit it, I&#8217;m not that good&#8230; but anyway, the test is so easy.. hahahaha.. <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  And one thing, I don&#8217;t have a dollars to pay the $1,600 for the Deploying Ubuntu Server Edition Certification. Its like PhP 76,800.00 in my country, that is 9 months to save my whole salary. hahahaha.. Damn! I will starved to death if I will take the exam&#8230; <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/12/18/ubuntu-professional-certification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freelance Freedom by NC Winters</title>
		<link>http://camilord.kagayan.com/2009/05/20/freelance-freedom-by-nc-winters/</link>
		<comments>http://camilord.kagayan.com/2009/05/20/freelance-freedom-by-nc-winters/#comments</comments>
		<pubDate>Wed, 20 May 2009 09:51:34 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wooow!]]></category>
		<category><![CDATA[comic]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[freelance]]></category>
		<category><![CDATA[nc winters]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=238</guid>
		<description><![CDATA[These comic trips by N.C. Winters relates my work pretty much&#8230;]]></description>
			<content:encoded><![CDATA[<p>These comic trips by <a href="http://www.freelanceswitch.com" target="_blank">N.C. Winters</a> relates my work pretty much&#8230;</p>
<p style="text-align: center;"><img class="aligncenter" title="Freelance Freedom" src="http://freelanceswitch.com/wp-content/uploads/2009/01/ff89_anotherversion.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="Freelance Freedom" src="http://www.freelanceswitch.com/wp-content/uploads/2009/05/ff104.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="Freelance Freedom" src="http://freelanceswitch.com/wp-content/uploads/2009/03/ff97_demandingclient.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="Freelance Freedom" src="http://freelanceswitch.com/wp-content/uploads/2009/03/ff94_lostclient.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2009/02/ff91_perfectlogo.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2009/01/ff88_freelanceignorance.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/12/ff83_reversealchemy.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/11/ff78_freelancedream.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/10/ff74_shoponline.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/08/ff68_businesslunch.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/08/ff65_fileproblems.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/07/ff62_innovationbudget.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/07/ff61_tempersflaring.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/06/ff58_offwhite.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/06/ff56_cheaperversion.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/05/ff54_greyhair.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/05/ff51_photoshopmagic.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/04/ff48_undostress.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/03/ff44_fontfrustration.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2008/01/ff35_freelancewoes.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2007/12/ff33_resolutions.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.s3.amazonaws.com/general_images/FF31_LimitedInfo.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/wp-content/uploads/2007/11/ff28_timeschedule.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/images/FF22_EcoFriendly.jpg" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/images/FF16_TimeOff.png" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/images/FF15_OfficeDrama.png" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/images/FF13_CarteBlanche.png" alt="" width="550" height="225" /><img class="aligncenter" title="FF" src="http://freelanceswitch.com/images/FF7_AllNighter.gif" alt="" width="550" height="225" /></p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/05/20/freelance-freedom-by-nc-winters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HowTo: Install CentOS Web Server + cPanel</title>
		<link>http://camilord.kagayan.com/2009/04/30/howto-install-centos-web-server-cpanel/</link>
		<comments>http://camilord.kagayan.com/2009/04/30/howto-install-centos-web-server-cpanel/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 01:45:45 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=219</guid>
		<description><![CDATA[This is a basic installation tutorial for the CentOS operating system for dedicated server duties. CentOS is a free white label distro of RedHat Enterprise with all the bells and whistles, and is the OS of choice for many web hosting companies Installing the OS using ‘Text Mode’ : 1 &#8211; Insert the first Linux]]></description>
			<content:encoded><![CDATA[<div id="attachment_220" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-220" title="cPanel" src="http://camilord.kagayan.com/wp-content/uploads/2009/04/cpanel.jpg" alt="cPanel" width="400" /><p class="wp-caption-text">cPanel</p></div>
<p class="snap_preview">This is a basic installation tutorial for the CentOS operating system for dedicated server duties.<br />
CentOS is a free white label distro of RedHat Enterprise with all the bells and whistles, and is the OS of choice for many web hosting companies</p>
<p>Installing the OS using ‘Text Mode’ :</p>
<p>1 &#8211; Insert the first Linux installation CD-ROM (disc 1) in the CD-ROM drive of your server and restart the server.<br />
2 &#8211; At the boot: prompt, type text and press the Enter key. This starts the installation process.<br />
3 &#8211; On the Language Selection screen, select English as the language that you want to run the installation program in, then click OK.<br />
4 &#8211; On the Keyboard Selection screen, select the keyboard attached to your server, then click OK.<br />
5 &#8211; On the Mouse Selection screen, select the mouse attached to your server, then click OK.<br />
6 &#8211; On the Welcome screen, review the installation information, then click OK.<br />
7 &#8211; On the Installation Type screen, select Custom, then click OK.<br />
8 &#8211; On the Disk Partitioning Setup screen, select Disk Druid. Quote:<br />
- If your disk has existing partitions, select each partition and click Delete.<br />
9 &#8211; Create the following disk partitions:</p>
<blockquote><p>The following partitions are recommended prior to installing cPanel:</p>
<p>**1 GB /<br />
*50 MB /boot (No seperate /boot for FreeBSD)<br />
**1 GB /tmp<br />
*10 GB /usr<br />
**7 GB /var<br />
**1 GB swap (swap should be 2x RAM)<br />
Remaining space to /home</p></blockquote>
<p>Note: The above partitioning scheme is assuming a 40 GB hard drive. If you have a larger hard drive, you should increment /usr &amp; /var accordingly. To create the / partition ‘root’:</p>
<p>* On the Partitioning screen (see step 8 ) , click New.<br />
* In the Mount Point field, type / .<br />
* For the Filesystem type select ext3.<br />
* In the Size (MB) field, type 1024, then click OK. To create the /boot partition: Quote:<br />
* On the Partitioning screen (see step 8 ) , click New.<br />
* In the Mount Point field, type /boot.<br />
* For the Filesystem type select ext3.<br />
* In the Size (MB) field, type 50, then click OK. To create the /tmp partition : Quote:<br />
* On the Partitioning screen (see step 8 ) , click New.<br />
* In the Mount Point field, type /tmp .<br />
* For the Filesystem type select ext3.<br />
* In the Size (MB) field, type 1024, then click OK. To create the /usr partition : Quote:<br />
* On the Partitioning screen (see step 8 ) , click New.<br />
* In the Mount Point field, type /usr .<br />
* For the Filesystem type select ext3.<br />
* In the Size (MB) field, type 10240, then click OK. To create the /var partition : Quote:<br />
* On the Partitioning screen (see step 8 ) , click New.<br />
* In the Mount Point field, type /var .<br />
* For the Filesystem type select ext3.<br />
* In the Size (MB) field, type 7168, then click OK. To create the swap partition: Quote:<br />
* On the Partitioning screen (see step , click New.<br />
* For the Filesystem type field, select swap.<br />
* In the Size (MB) field, enter a number that is twice the current RAM (1024 If you are using 512 MB Ram), then click OK. To create the /home partition: Quote:<br />
* On the Partitioning screen (see step , click New.<br />
* In the Mount Point field, type /home.<br />
* For the Filesystem type select ext3.<br />
* In the Size (MB) field, select Fill all available space, then click OK.</p>
<p>10 &#8211; When finished, Click OK.<br />
11 &#8211; On the Boot Loader Configuration screen, select LILO Boot Loader, then click OK.<br />
12 &#8211; On each of the following three screens, click OK.<br />
13 &#8211; On the Network Configuration screen, clear Use bootp/dhcp, enter your server network configuration, then click OK.<br />
14 &#8211; On the Hostname Configuration screen, enter the fully qualified host name of your server, then click OK.<br />
15 &#8211; On the Firewall Configuration screen, select No firewall, then click OK.<br />
16 &#8211; On the Language Support screen, select English (USA), then click OK.<br />
17 &#8211; On the Time Zone Selection screen, select the location, then click OK.<br />
18 &#8211; On the Root Password screen, enter in the root password for your server, re-enter the password to confirm it, then click OK.<br />
19 &#8211; If you want to create an account that you can use to remotely log on to your server using SSH or FTP, click Add.<br />
*** Provide the login name and password, then click OK.<br />
20 &#8211; Review the information on the User Account Setup screen, then click OK.<br />
21 &#8211; Review the information on the Authentication Configuration screen, then click OK.<br />
22 &#8211; On the Package Group Selection screen, verify that only the following packages are selected. Clear all other check boxes.</p>
<p>. Network Support<br />
. Messaging and Web Tools<br />
. DNS Name Server<br />
. Network Managed Workstation<br />
. Software Development</p>
<p>23 &#8211; Click OK.<br />
24 &#8211; Review the Installation to begin screen, then click OK.<br />
25 &#8211; Insert the second/third installation CD-ROM when notified to, then click OK.<br />
26 &#8211; To create a boot disk, click Yes. Otherwise, click No.<br />
27 &#8211; When done, the installation complete screen displays.<br />
28 &#8211; Click OK, then press Enter to restart.</p>
<p>[2] Checking the host name and network settings :<br />
After your first boot, you must check your system’s host name and network configuration to ensure that they are correct. To check your system’s host name and network configuration:<br />
- Log on to the system as the root user.<br />
- Type vi /etc/hosts to open the host file and modify the contents.<br />
- Verify that the file is in the following format:<br />
- Verify that the loopback entry (127.0.0.1) appears in the file. A correctly configured file should look like this: Note : The IP addresses used here are for illustration purposes only; they are not valid values.</p>
<p># Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 localhost.localdomain localhost<br />
10.1.1.1 myhost.mydomain.com myhost &#8211; Modify the file as needed.<br />
- Type :wq to close the file.<br />
- Type vi /etc/sysconfig/network to open the network sysconfig file and modify the contents.<br />
- Verify the host name. A correctly configured file should look like this: Note : The IP addresses used here are for illustration purposes only; they are not valid values.</p>
<blockquote><p>NETWORKING=yes<br />
HOSTNAME=myserver.mydomain.com<br />
GATEWAY=10.100.0.1 &#8211; Modify the file as needed.<br />
- Type :wq to close the file.<br />
- Type vi /etc/sysconfig/network-scripts/ifcfg-eth0 to open the network scripts file and modify the contents.<br />
- Verify that network information. A correctly configured file should look like this: Note : The IP addresses used here are for illustration purposes only; they are not valid values.</p></blockquote>
<blockquote><p>DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=10.1.1.1<br />
IPADDR=10.1.1.1<br />
NETMASK=255.255.0.0<br />
NETWORK=10.1.0.0<br />
ONBOOT=yes &#8211; Modify the file as needed.<br />
- To make these changes active, restart the system by typing:</p></blockquote>
<p>shutdown -r now</p>
<p>[3]cPanel Installation Instructions:</p>
<blockquote><p>Important : You must have a valid cPanel license. If you do not have a valid cPanel license, please contact one of cPanel distributors listed at http://www.cpanel.net/dist.htm or buy a license directly from cPanel at http://www.cpanel.net/store/. cPanel now uses a universal install script which can be found at http://layer1.cpanel.net/. You can use the following commands in the root shell to download and start the installation script:</p></blockquote>
<blockquote><p>mkdir /home/cpins<br />
cd /home/cpins<br />
wget http://layer1.cpanel.net/latest<br />
sh latest</p></blockquote>
<p>At this point the installation has started and may take anywhere from 30 &#8211; 60 minutes to complete. At no point during the installation should you be prompted for user input. You will know the cPanel installation has been completed by the screen output coming to a stop &amp; the statement “Done.” is printed on your screen. You should then hit “ctrl c”† to continue. Note: You must be on a stable connection to install cPanel. If your shell session disconnects during a cPanel install the cPanel installation will be aborted. You can restart the cPanel installation by completing “sh cpanel-*”† again, however it is recommended that you reformat your machine &amp; start over to ensure a clean slate before placing the machine into production.</p>
<p>[4]cPanel/WHM Configuration: Following a successful install you should setup cPanel/WHM as soon as possible. In order to complete this process you will need to log into your machine using its main (eth0/fxp0) IP address; you should input something similar to this into your browser:</p>
<blockquote><p>https://xxx.xxx.xxx.xxx:2087</p></blockquote>
<p style="text-align: center;">
<p>Note: you should replace xxx.xxx.xxx.xxx with your actual IP address. Further to that, you will be prompted about a self signed SSL certificate; ignore this by clicking on “Yes”. A self signed certificate is generated by cPanel/WHM to ensure a secure/encrypted communication with your server. You will now be prompted with a few questions related to how you would like your installation of cPanel/WHM customized. You can walk through the wizard by clicking on “Next Step” or if you are an experienced user feel free to click on “Finish” to skip to the end. For a complete user guide on how to access cPanel/WHM and/or use any of the functions within cPanel/WHM, please visit cPanel do*****ents section at http://www.cpanel.net/docs.htm That’s all for now .. Just keep in mind, this is not the all-in-one package for server installaion, you’ll have to secure the server, update your kernel, install a firewall, configure SSH, apply patches …. etc.
</p>
<p>&nbsp;</p>
<p>
Reference:</p>
<ul>
<li><a href="http://www.zimbio.com/Free+and+Open+Source+Software/articles/132/HowTo+CentOS+Install+cPanel+Web+Server" target="_blank">www.zimbio.com</a></li>
<li><a href="http://mike.holownych.com/2008/03/howto-centos-install-for-a-cpanel-web-server/" target="_blank">mike.holownych.com</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/04/30/howto-install-centos-web-server-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 4800 bytes)</title>
		<link>http://camilord.kagayan.com/2009/02/09/php-fatal-error-allowed-memory-size-of-8388608-bytes-exhausted-tried-to-allocate-4800-bytes/</link>
		<comments>http://camilord.kagayan.com/2009/02/09/php-fatal-error-allowed-memory-size-of-8388608-bytes-exhausted-tried-to-allocate-4800-bytes/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 15:20:53 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[8MB]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[ini_set()]]></category>
		<category><![CDATA[limit]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[resource]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=106</guid>
		<description><![CDATA[When I first encountered this error, I thought something wrong with my apache-php integration. Thank God it&#8217;s not the one I thought. This PHP Fatal error message will be encountered if your PHP script memory requirements exceed the default 8MB limit. Somehow, you can overcome this by doing two methods. 1. Set Resource Limits in]]></description>
			<content:encoded><![CDATA[<p>When I first encountered this error, I thought something wrong with my apache-php integration. Thank God it&#8217;s not the one I thought.</p>
<p>This PHP Fatal error message will be encountered if your PHP script memory requirements exceed the default 8MB limit. Somehow, you can overcome this by doing two methods.</p>
<p>1. Set Resource Limits in <code>/etc/php.ini</code></p>
<p><code>;;;;;;;;;;;;;;;;;;;<br />
; Resource Limits ;<br />
;;;;;;;;;;;;;;;;;;;</code></p>
<p><code>max_execution_time = 45     ; Maximum execution time of each script<br />
max_input_time = 60     ; Maximum amount may spend parsing request data<br />
memory_limit = <span style="color: #ff0000;"><strong>12M</strong></span> ; Maximum amount of memory a script may consume (8MB)</code></p>
<p>2. Initiate a function to set the Resources Limit</p>
<p><code>ini_set("memory_limit","12M");</code></p>
<p>Why so serious?!? that&#8217;s it&#8230; your done! <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/02/09/php-fatal-error-allowed-memory-size-of-8388608-bytes-exhausted-tried-to-allocate-4800-bytes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
