How to setup your Linode with Red Hat Linux Small
by Craig Spurrier of
Craigweb
Step One
Add to your Apt sources list the
Fedora Legacy Project updates.
Code:
joe /etc/apt/sources.list
Add
Code:
rpm http://download.fedoralegacy.org/apt redhat/9/i386 os updates legacy-utils
to /etc/apt/sources.list
Save(Ctrl-K S) and Exit(Ctrl-C).
Step Two Update the sources file
Run
Code:
apt-get update
Step ThreeUpgrade to the lastest version of any installed programs.
Run
Code:
apt-get upgrade
Step Four Update your hostname
Code:
echo yourdomainnamehere >/etc/hostname
Code:
/bin/hostname -F /etc/hostname
Step FiveCode:
wget http://dag.wieers.com/packages/perl-Net-SSLeay/perl-Net-SSLeay-1.25-1.0.rh9.dag.i386.rpm
rpm -Uvh perl*
Step SixTest your install
Code:
perl -e 'use Net::SSLeay'
No output means success.
Step SevenInstall Webmin
Install Webmin
Code:
wget http://aleron.dl.sourceforge.net/sourceforge/webadmin/webmin-1.180-1.noarch.rpm
rpm -Uvh webmin*
Step Eight
On your local computer point your web browser to
https://yourdomain.com:10000 login as root.
Goto networking --> Network Configuration --> DNS Client change your hostname to your domain name.
Step Nine
Click Servers --> Apache and follow the prompts
Click Start Apache (at the top)
Step Ten
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 Eleven
Set Apache to start on boot.
Click on System --> Bootup and Shutdown. Put a chek by httpd and click start select on boot.
Step Twelve
Set up E-mail, Virtualmin, Ftp, Etc.
Rebooting may be required on some Linodes.
Fixed a few problems