Computer Geeks

Computer Geeks

Geek Shop

Geek News

Geek Stuff

Science Geek

Computer Gaming

Linux Chat

Building Websites

Computer Forums

Computer Help Forum

Computer Hardware Forum

Computer Software Programs


Go Back   Computer Forums > Building Websites
FAQ Community Calendar Today's Posts Search

Building Websites This section covers all aspects of publishing, developing and maintaining websites. Topics include: website design, graphic design, website programming, web hosting, website marketing (SEO, link exchange, publicity, advertising), monetization & etc.

Computer Geeks
» Active Discussions
Computer Geeks
No Threads to Display.
» Other Websites
- Software Publishing

- Server Hardening
Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2006, 08:17 AM
goldigger goldigger is offline
Junior Member
GB Newbie
 
Join Date: Feb 2006
Posts: 10
Default HOW-TO: Vds

This is a quick way of setting up a VDS. We will use the Kernel: 2.4.22-8um in this. You can use any you want.

First of all, make a UML directory on the server with the following command in SSH


Quote:
mkdir /uml/


Then, we need to change to the newly made directory, using the following command:


Quote:
cd /uml


Then, Download the kernel via shell with the following command:

Quote:
wget http://kernels.usermodelinux.org/ker...4.22-8um/linux


Once the Kernel (roughly 2.5MB) is downloaded, execute the following CHMOD:

Quote:
chmod +x /uml/linux


At this point, the kernel is in a runnable state, but we havent got any OS to boot into, or any tools to run the UML properly!

So, next we will download the uml tools, and install them. To download them, in shell, type the following command:


Quote:
wget http://nrh-up2date.org/howto/uml/pac...903-1.i386.rpm


Now, we need to install these utilities with the following command:


Quote:
rpm -i ./uml_utilities-20030903-1.i386.rpm


After this installtion, we are nearlly done, but we need one more item, the OS!

For this tutorial, we will just grab a copy of the Redhat OS from the UML site, so you need to type the following into shell:


Quote:
wget http://aleron.dl.sourceforge.net/sou...0312.bz2<br />


Once this is downloaded, simply type the following to un bzip it:


Quote:
unbzip2 ./root_fs.rh-7.2-full.pristine.20020312.bz2


This will take a while to unbzip. Once it is done, we will make a test vds to ensure all is working, so we will do the following commands:


Quote:
adduser vds1
passwd vds1 myfirstvds


This will add a user named: vds1 with the password: myfirstvds.

Now, we will make the UML run under that users login, so we type the following in order:


Quote:
cp ./root_fs.rh-7.2-full.pristine.20020312 /home/vds1/root_fs
cp ./linux /home/vds1/linux


This will cause the files "root_fs.rh-7.2-full.pristine.20020312(which will now be named "root_fs")" and "linux" to be in the user "vds1" directory. Now, we will CHOWN it to user "vds1" so that the user can run it.


Quote:
chown vds1 /home/vds1/linux
chown vds1 /home/vds1/root_fs



Now, at this point we have a VERY basic VDS setup. So, we will run it with the following command line to test if it works:


Quote:
/home/vds1/linux ubd0=root_fs root=/dev/ubd0 mem=128m



The above line says: Boot the linux kernel, and the OS is in root_fs and make 128MB of ram available to the UML.

This should boot the VDS up to a running state.

I will add more in the morning on VDS Networking (as it is 3:20am here, hehe)

Enjoy!
Reply With Quote
  #2  
Old 02-24-2006, 08:39 AM
Jason's Avatar
Jason Jason is offline
VIP Member
GB Beginner
 
Join Date: Feb 2006
Posts: 35
Send a message via AIM to Jason Send a message via Yahoo to Jason
Default

Thank you goldigger!
__________________
Unlimited Net
Reply With Quote
  #3  
Old 03-02-2006, 05:39 PM
iammzac iammzac is offline
Junior Member
GB Newbie
 
Join Date: Mar 2006
Posts: 6
Default

Thank you golddigger! I shall be trying this out for myself.
Reply With Quote
  #4  
Old 03-02-2006, 05:51 PM
Durinthiam Durinthiam is offline
Member
GB Advanced User
 
Join Date: Feb 2006
Posts: 51
Default

There was me thinking it was how to get Vinerial Diseases hehe. Very good tutorial, well annotated
Reply With Quote
  #5  
Old 03-07-2006, 07:13 PM
James72 James72 is offline
Junior Member
GB Beginner
 
Join Date: Feb 2006
Posts: 29
Default

Nice tutorial

Thanks for going to the effort of putting all that together for us
Much appreciated.
________
volcano vaporizer classic

Last edited by James72; 01-21-2011 at 09:32 PM.
Reply With Quote
  #6  
Old 03-10-2006, 07:32 PM
Emperior Eric Emperior Eric is offline
Junior Member
GB Beginner
 
Join Date: Mar 2006
Posts: 25
Default

Awesome Tutorial. I have favorited it for later use. It was very easy to read and understand. Great writing.
Reply With Quote
  #7  
Old 04-25-2006, 08:27 AM
pitsug pitsug is offline
Junior Member
GB Beginner
 
Join Date: Apr 2006
Posts: 15
Default

anyone please explain me .. what is VDS for? what exactly does? sorry for my dumb question..

thanks
Reply With Quote
  #8  
Old 04-25-2006, 02:40 PM
Soulwatcher's Avatar
Soulwatcher Soulwatcher is offline
Senior Member
GB GEEK
 
Join Date: Feb 2006
Posts: 309
Send a message via MSN to Soulwatcher
Default

It stands for Virtual Dedicated Server. You wouldn't want to run it on a home webserver.
Reply With Quote
  #9  
Old 04-25-2006, 04:17 PM
pitsug pitsug is offline
Junior Member
GB Beginner
 
Join Date: Apr 2006
Posts: 15
Default

thanks for the quick response.. not possible for home webserver
Reply With Quote
  #10  
Old 04-29-2006, 04:52 PM
LucnetSolutions's Avatar
LucnetSolutions LucnetSolutions is offline
Member
GB Beginner
 
Join Date: Mar 2006
Posts: 49
Send a message via AIM to LucnetSolutions Send a message via MSN to LucnetSolutions Send a message via Yahoo to LucnetSolutions
Default

This is a handy tutorial. Very nicely written.
__________________
Lucnet Solutions - World Wide Hosting Solutions
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Powered by vBadvanced CMPS v3.2.3

All times are GMT -5. The time now is 09:31 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.