| Author |
Message |
CSpurrier
Joined: 23 Feb 2004
Posts: 22
Location: Aiken,SC USA
|
| Posted: Thu Mar 25, 2004 12:37 pm Post subject: How to setup your Linode with Red Hat Linux Small |
|
|
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 Three
Upgrade 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 Five
Code: wget http://dag.wieers.com/packages/perl-Net-SSLeay/perl-Net-SSLeay-1.25-1.0.rh9.dag.i386.rpm
rpm -Uvh perl*
Step Six
Test 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 |
|
| Back to top |
|
bji
Joined: 27 Aug 2003
Posts: 182
|
| Posted: Fri Mar 26, 2004 1:50 am Post subject: Re: How to setup your Linode with Red Hat Linux Small |
|
|
| I don't get it - why do you uninstall the openssl package and then custom compile a different version? |
|
| Back to top |
|
CSpurrier
Joined: 23 Feb 2004
Posts: 22
Location: Aiken,SC USA
|
| Posted: Fri Mar 26, 2004 9:55 am Post subject: |
|
|
| There is a bug in Net::SSLeay/Red Hat that requires Net::SSLeay and OpenSSl installed from source not RPM for Net::SSLeay. Net::SSLeay was the easiest (only?)way to use Webmin in SSl mode. |
|
| Back to top |
|
mcowger
Joined: 11 Feb 2004
Posts: 25
|
| Posted: Fri Mar 26, 2004 1:56 pm Post subject: |
|
|
| Stunnel? |
|
| Back to top |
|
CSpurrier
Joined: 23 Feb 2004
Posts: 22
Location: Aiken,SC USA
|
| Posted: Fri Mar 26, 2004 3:10 pm Post subject: |
|
|
mcowger wrote: Stunnel?
:? I am not sure what you are asking (commenting?) by Stunnel.
From looking at the Stunnel site it looks like it to would allow secure access, but it does not seem as if it would be as easy as using Net::SSLeay. If the question is why do we install it in step ten, it is because we removed it as a dependency in step six. |
|
| Back to top |
|
Wespionage
Joined: 13 Feb 2004
Posts: 8
Location: Philadelphia, PA
|
| Posted: Sun Mar 28, 2004 9:18 pm Post subject: Re: How to setup your Linode with Red Hat Linux Small |
|
|
First, thanks for such an easy-to-follow method for getting the initial groundwork done.
A couple of notes...
- Step 4: the link to Webmin doesn't work for me. I had to use something like http://aleron.dl.sourceforge.net/sourceforge/webadmin/webmin-1.130-1.noarch.rpm . The prdownloads link is a link to the main "Select a Mirror" page for me.
- Step 9: When I test with perl -e 'use Net::SSLeay', it appears as though nothing happens -- is this the proper behavior to expect here?
- Step 10: For anyone copying/pasting in step 10, the whitespace after openssh-server needs to be deleted and replaced with a single blank space -- there are additional characters in there that cause apt-get to report that openssh-server does not exist.
- Step 11: This step is apparently redundant, as proftpd is one of the items listed in Step 10, so executing this just results in an alert that proftpd is already installed.
- Finally, even though I followed the instructions and was doing so with a fresh Red Hat 9 (Small) setup, trying to access https://mylinodeFQDN:10000 was unsuccessful. I had to first reboot for it to be accessible. |
|
| Back to top |
|
asura
Joined: 03 Jan 2004
Posts: 71
Location: Oregon
|
| Posted: Sun Mar 28, 2004 9:45 pm Post subject: |
|
|
| If you are just downloading it via website, easiest thing for me to remember is going to www.webmin.com and clicking on the download link (which points to http://prdownloads.sourceforge.net/webadmin/webmin-1.130-1.noarch.rpm) |
|
| Back to top |
|
CSpurrier
Joined: 23 Feb 2004
Posts: 22
Location: Aiken,SC USA
|
| Posted: Mon Mar 29, 2004 9:13 am Post subject: Re: How to setup your Linode with Red Hat Linux Small |
|
|
Wespionage wrote: - Step 4: the link to Webmin doesn't work for me. I had to use something like http://aleron.dl.sourceforge.net/sourceforge/webadmin/webmin-1.130-1.noarch.rpm . The prdownloads link is a link to the main "Select a Mirror" page for me.
The link in step four had an extra space, I have now fixed that, it should work now.
Wespionage wrote: - Step 9: When I test with perl -e 'use Net::SSLeay', it appears as though nothing happens -- is this the proper behavior to expect here?
I think so. If any one with more Perl knowledge can say for sure it would be great.
Wespionage wrote: - Step 10: For anyone copying/pasting in step 10, the whitespace after openssh-server needs to be deleted and replaced with a single blank space -- there are additional characters in there that cause apt-get to report that openssh-server does not exist.
Thank You, I have remove the space.
Wespionage wrote: - Step 11: This step is apparently redundant, as proftpd is one of the items listed in Step 10, so executing this just results in an alert that proftpd is already installed.
You are right, I have removed Step 11.
Wespionage wrote: - Finally, even though I followed the instructions and was doing so with a fresh Red Hat 9 (Small) setup, trying to access https://mylinodeFQDN:10000 was unsuccessful. I had to first reboot for it to be accessible.
I guess I got lucky when I did it, I did not have to reboot when I set up my system I have added a note to the original post about it. |
|
| Back to top |
|
bridgein
Joined: 19 Mar 2004
Posts: 1
|
| Posted: Mon Mar 29, 2004 4:27 pm Post subject: about the registrar's DNS pointer |
|
|
hi,
after following the steps above, to which domain name servers should i update at my registrar's (namesdirect.com) website?
thanks,
- hoan |
|
| Back to top |
|
CSpurrier
Joined: 23 Feb 2004
Posts: 22
Location: Aiken,SC USA
|
| Posted: Mon Mar 29, 2004 6:19 pm Post subject: Re: about the registrar's DNS pointer |
|
|
bridgein wrote: hi,
after following the steps above, to which domain name servers should i update at my registrar's (namesdirect.com) website?
thanks,
- hoan
The directions above do not cover DNS. You will need to either set up your own DNS server or use one of many good free services (Zoneedit.com). From a quick look at namesdirect site they do not appear to offer this service. When you have DNS set up either using your own DNS server or using a service you whould enter the information provide by the service the ip address of your DNS server. |
|
| Back to top |
|
SteveG
Joined: 30 Nov 2003
Posts: 182
|
| Posted: Wed Mar 31, 2004 9:56 am Post subject: Re: How to setup your Linode with Red Hat Linux Small |
|
|
CSpurrier wrote:
Wespionage wrote: - Step 9: When I test with perl -e 'use Net::SSLeay', it appears as though nothing happens -- is this the proper behavior to expect here?
I think so. If any one with more Perl knowledge can say for sure it would be great.
That's correct: no output means success. If it couldn't find and load Net::SSLeay, you'd get an error message. That doesn't mean the that module works, of course, just that perl can find and load it. |
|
| Back to top |
|
Pzero
Joined: 05 Apr 2004
Posts: 2
|
| Posted: Mon Apr 05, 2004 4:26 am Post subject: |
|
|
Thanks for the tutorial, but i'm a real newbie to linux server and i've a problem at the first line!!! :(
i've a lot of error, it look like the server can't connect to internet:
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i386/base/release.os Temporary failure resolving 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i386/base/pkglist.updates Temporary failure resolving 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i386/base/release.updates Temporary failure resolving 'ayo.freshrpms.net'
....
and for example when i want to ping yahoo, i've this message:
yahping: unknown host www.yahoo.com :?
i've search for this problem on internet and find nothing
If you can help me, thanks a lot |
|
| Back to top |
|
Quik
Joined: 17 Sep 2003
Posts: 124
|
| Posted: Mon Apr 05, 2004 7:37 am Post subject: |
|
|
Pzero wrote: Thanks for the tutorial, but i'm a real newbie to linux server and i've a problem at the first line!!! :(
i've a lot of error, it look like the server can't connect to internet:
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i386/base/release.os Temporary failure resolving 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i386/base/pkglist.updates Temporary failure resolving 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i386/base/release.updates Temporary failure resolving 'ayo.freshrpms.net'
....
and for example when i want to ping yahoo, i've this message:
yahping: unknown host www.yahoo.com :?
i've search for this problem on internet and find nothing
If you can help me, thanks a lot
http://www.linode.com/forums/viewtopic.php?t=693
:) |
|
| Back to top |
|
Pzero
Joined: 05 Apr 2004
Posts: 2
|
| Posted: Wed Apr 07, 2004 4:01 am Post subject: |
|
|
Sorry, i miss this :? , it's ok now
thanks :) |
|
| Back to top |
|
mikel
Joined: 30 Apr 2004
Posts: 2
|
| Posted: Fri Apr 30, 2004 6:56 am Post subject: |
|
|
This thread has been very helpful, thanks. I've just got a new Linode 128 account with Red Hat Linux 9 Small and followed these steps exactly. It seemed to all worked fine, however now my account is showing no free disk space at all.
Total: 6144 Megabytes
Used: 6144 Megabytes
Free: 0 Megabytes
Any ideas what's gone wrong, or how to fix it ? Thanks. |
|
| Back to top |
|
| |