Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 25, 2004 1:37 pm 
Offline
Junior Member

Joined: Mon Feb 23, 2004 8:14 pm
Posts: 22
Website: http://www.craigweb.net
Location: Aiken,SC USA
How to setup your Linode with Red Hat Linux Small
by Craig Spurrier of Craigweb

Step One
Add to your Apt sources list theFedora 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


Last edited by CSpurrier on Sun Feb 27, 2005 11:53 am, edited 13 times in total.

Top
   
PostPosted: Fri Mar 26, 2004 2:50 am 
Offline
Senior Member

Joined: Thu Aug 28, 2003 12:57 am
Posts: 273
I don't get it - why do you uninstall the openssl package and then custom compile a different version?


Top
   
 Post subject:
PostPosted: Fri Mar 26, 2004 10:55 am 
Offline
Junior Member

Joined: Mon Feb 23, 2004 8:14 pm
Posts: 22
Website: http://www.craigweb.net
Location: Aiken,SC USA
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.


Top
   
 Post subject:
PostPosted: Fri Mar 26, 2004 2:56 pm 
Offline
Junior Member

Joined: Wed Feb 11, 2004 8:49 pm
Posts: 25
AOL: MattKCowger
Stunnel?

_________________
--Matt Cowger


Top
   
 Post subject:
PostPosted: Fri Mar 26, 2004 4:10 pm 
Offline
Junior Member

Joined: Mon Feb 23, 2004 8:14 pm
Posts: 22
Website: http://www.craigweb.net
Location: Aiken,SC USA
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.


Top
   
PostPosted: Sun Mar 28, 2004 10:18 pm 
Offline
Senior Newbie

Joined: Sat Feb 14, 2004 12:40 am
Posts: 8
Website: http://www.furgiuele.net
AOL: Wespionage
Location: Philadelphia, PA
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/source ... 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.


Top
   
 Post subject:
PostPosted: Sun Mar 28, 2004 10:45 pm 
Offline
Senior Member
User avatar

Joined: Sat Jan 03, 2004 7:34 pm
Posts: 71
Website: http://www.darkforestmud.net
AOL: asura02003
Location: Oregon
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/weba ... noarch.rpm)


Top
   
PostPosted: Mon Mar 29, 2004 10:13 am 
Offline
Junior Member

Joined: Mon Feb 23, 2004 8:14 pm
Posts: 22
Website: http://www.craigweb.net
Location: Aiken,SC USA
Wespionage wrote:
- Step 4: the link to Webmin doesn't work for me. I had to use something like http://aleron.dl.sourceforge.net/source ... 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.


Top
   
PostPosted: Mon Mar 29, 2004 5:27 pm 
Offline

Joined: Fri Mar 19, 2004 8:23 pm
Posts: 1
hi,

after following the steps above, to which domain name servers should i update at my registrar's (namesdirect.com) website?

thanks,
- hoan


Top
   
PostPosted: Mon Mar 29, 2004 7:19 pm 
Offline
Junior Member

Joined: Mon Feb 23, 2004 8:14 pm
Posts: 22
Website: http://www.craigweb.net
Location: Aiken,SC USA
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.


Top
   
PostPosted: Wed Mar 31, 2004 10:56 am 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
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.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Mon Apr 05, 2004 5:26 am 
Offline
Newbie

Joined: Mon Apr 05, 2004 5:05 am
Posts: 2
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/i38 ... release.os Temporary failure resolving 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i38 ... st.updates Temporary failure resolving 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i38 ... se.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


Top
   
 Post subject:
PostPosted: Mon Apr 05, 2004 8:37 am 
Offline
Senior Member

Joined: Wed Sep 17, 2003 7:39 pm
Posts: 124
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/i38 ... release.os Temporary failure resolving 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i38 ... st.updates Temporary failure resolving 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/redhat/8.0/i38 ... se.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

:)


Top
   
 Post subject:
PostPosted: Wed Apr 07, 2004 5:01 am 
Offline
Newbie

Joined: Mon Apr 05, 2004 5:05 am
Posts: 2
Sorry, i miss this :? , it's ok now
thanks :)


Top
   
 Post subject:
PostPosted: Fri Apr 30, 2004 7:56 am 
Offline
Newbie

Joined: Fri Apr 30, 2004 7:50 am
Posts: 2
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group