How to setup your Linode with CentOS
by Craig Spurrier of
Craigweb
Based off of How To Set Up Your Server on Linode by schof and neorder.
CentOS is a distro based off of Red Hat Linux Enterprise Server.
Step One
Create a directory to work in, then switch to it.
Code:
mkdir work
cd work
Step two Install APT, the Debian package tools. Yes, you can you yum or any of the other packaging tools, I however learned to use APT first so that is what this guide uses.
Code:
wget ftp://ftp.pbone.net/mirror/dag.wieers.com/packages/apt/apt-0.5.15cnc6-3.1.el3.dag.i386.rpm
rpm -Uvh apt*
Step ThreeUpdate the sources file
Run
Code:
apt-get update
Step FourUpgrade to the lastest version of any installed programs.
Run
Code:
apt-get upgrade
Step Five Update your hostname
Code:
echo yourdomainnamehere >/etc/hostname
Code:
/bin/hostname -F /etc/hostname
Step SixInstall Net-SSLeay the Perl module that allows secure access to webmin.
Code:
wget ftp://ftp.freshrpms.net/pub/dag/packages/perl-Net-SSLeay/perl-Net-SSLeay-1.23-0.dag.rhel3.i386.rpm
rpm -Uvh perl*
Step SevenTest your install
Code:
perl -e 'use Net::SSLeay'
No output means success.
Step EightInstall Webmin
Code:
wget http://aleron.dl.sourceforge.net/sourceforge/webadmin/webmin-1.180-1.noarch.rpm
rpm -Uvh webmin*
Step Nine
On your local computer point your web browser to
https://yourdomain.com:10000 login as root.
Step Ten
Click Servers --> Apache and follow the prompts
Click Start Apache (at the top)
Step Eleven
On your local computer point your web browser to
http://yourdomain.com you should see a test page if you do your website is now working.
Step Twelve
Set Apache to start on boot.
Click on System --> Bootup and Shutdown. Put a chek by httpd and click start select on boot.
Step Thirteen
Set up E-mail, Virtualmin, Ftp, Etc.
Enjoy your new server!
If any one needs help please reply.