Go Back   Hardware Forums > Software Support Forums > Web Development

Reply
 
LinkBack Thread Tools
Old 12-06-2008, 05:25 PM   #1 (permalink) Top
Big Geek
 
zxivate's Avatar
 
Join Date: Nov 2007
Gender: Male
Posts: 109
Times Helpful: 3
Status: Offline

My Computer

Default Setting up a web server

I was wondering if anyone could tell me the steps neccessary in setting up a web server to host a website?

  Reply With Quote
Whats this? diNovo Edge Bluetooth Wireless Keyboard
diNovo Edge Bluetooth Wireless Keyboard
Seller Price (inc. VAT) Delivery Total Price Availability Seller Rating
Dell £116.82 Free £116.82 In Stock Rated: 0 out of 5 - Number of votes: 0
IT247.com £102.94 Free £102.94 In Stock Rated: 4 out of 5 - Number of votes: 38
Dell Business £104.65 £8.23 £112.88 In Stock Rated: 0 out of 5 - Number of votes:
Old 13-06-2008, 04:01 PM   #2 (permalink) Top
May the source be with u!


 
Impotence's Avatar
 
Join Date: Dec 2004
Age: 19 Male
Posts: 1,878
Times Helpful: 126
My Mood: Stressed
Status: Offline

My Computer

you are going to want to take a look at 'LAMP' (Linux Apache MySQL PHP)
__________________
Dear intel,Already Made My Decision
Never trust a computer you can't repair yourself.
Windows Vista - Viruses Intruders Spyware Trojans Adware
Why Linux is Better!|Pastafairianism|Say no to National ID|Firefox Extensions Guide
scientology has been getting alot of attention recently

When the rich wage war, it is the poor who die.
Where are the WMD's that our governments used to justify the war?
  Reply With Quote
Old 14-06-2008, 08:46 PM   #3 (permalink) Top
Big Geek
 
zxivate's Avatar
 
Join Date: Nov 2007
Gender: Male
Posts: 109
Times Helpful: 3
Status: Offline

My Computer

Alright, I am using Ubuntu to do it in. How do you install the .gz file of apache to the system?
  Reply With Quote
Old 14-06-2008, 11:02 PM   #4 (permalink) Top
Big Geek
 
zxivate's Avatar
 
Join Date: Nov 2007
Gender: Male
Posts: 109
Times Helpful: 3
Status: Offline

My Computer

alright, I got the server set up and have a website already made, but how do I put it on? How do I get the website to come up when the domain name has been put into the address bar?
  Reply With Quote
Old 14-06-2008, 11:18 PM   #5 (permalink) Top
May the source be with u!


 
Impotence's Avatar
 
Join Date: Dec 2004
Age: 19 Male
Posts: 1,878
Times Helpful: 126
My Mood: Stressed
Status: Offline

My Computer

If you are using Ubuntu, then you don't want to be installing things by downloading them from websites...

to install apache, open a shell and type
Code:
sudo apt-get install apache2
'sudo' means run as root (the most powerful account) so it will ask you for your password when you do this.

apache will look for pages to serve in the /var/www directory, put your files in there
__________________
Dear intel,Already Made My Decision
Never trust a computer you can't repair yourself.
Windows Vista - Viruses Intruders Spyware Trojans Adware
Why Linux is Better!|Pastafairianism|Say no to National ID|Firefox Extensions Guide
scientology has been getting alot of attention recently

When the rich wage war, it is the poor who die.
Where are the WMD's that our governments used to justify the war?
  Reply With Quote
Old 15-06-2008, 01:09 AM   #6 (permalink) Top
Big Geek
 
zxivate's Avatar
 
Join Date: Nov 2007
Gender: Male
Posts: 109
Times Helpful: 3
Status: Offline

My Computer

alright cool that works, what about mysql and php?
  Reply With Quote
Old 15-06-2008, 10:38 PM   #7 (permalink) Top
May the source be with u!


 
Impotence's Avatar
 
Join Date: Dec 2004
Age: 19 Male
Posts: 1,878
Times Helpful: 126
My Mood: Stressed
Status: Offline

My Computer

Quote:
Originally Posted by zxivate View Post
alright cool that works, what about mysql and php?
Code:
sudo apt-get install mysql-server-5.0
sudo apt-get install php5
will install mysql & php, i would recommend phpmyadmin to manage your mysql databases

Code:
sudo apt-get install phpmyadmin
You can search for and install packages very easily with apt, use this to find a package

Code:
apt-cache search <what you want, ie apache>
and install it with

Code:
sudo apt-get install <package name>

i would recomend that you take a look at this guide: The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) | HowtoForge - Linux Howtos and Tutorials

Off Topic:


do not install php / mysql if you don't need them....
__________________
Dear intel,Already Made My Decision
Never trust a computer you can't repair yourself.
Windows Vista - Viruses Intruders Spyware Trojans Adware
Why Linux is Better!|Pastafairianism|Say no to National ID|Firefox Extensions Guide
scientology has been getting alot of attention recently

When the rich wage war, it is the poor who die.
Where are the WMD's that our governments used to justify the war?
  Reply With Quote
Old 19-06-2008, 05:42 PM   #8 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 27 Male
Posts: 4,882
Times Helpful: 538
Status: Offline

My Computer

Don't forget to keep your system up to date! It's moderately important on a desktop, but it's paramount on a server. Also, here's a few articles to help you achieve good security on your webserver:

How NOT to Configure Your Linux Server Pt.1 - anti-trend.homelinux.org
How NOT to Configure Your Linux Server Pt.2 - anti-trend.homelinux.org
Hardening SSH - anti-trend.homelinux.org
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 30-07-2008, 08:26 PM   #9 (permalink) Top
Geek Trainee
 
Join Date: Jul 2008
Posts: 6
Times Helpful: 2
Status: Offline
Also give us the ip and root password of your box so we can log in and make sure you set it up right=)
  Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are Off
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server HArdware - Compaq Proliant Servers on a Standard Server Rack Zimmerru General Hardware 1 24-10-2007 01:20 PM
Setting up a new PC Girtho961 General Hardware 16 01-10-2006 06:52 PM
Setting up LAN sabashuali Networking and Computer Security 7 09-02-2006 05:25 PM
setting up a LAN skribla Networking and Computer Security 2 05-12-2005 06:30 PM
server lockup during windows 2003 server install jribbe1 Windows OS's 3 10-09-2005 06:13 AM


All times are GMT +1. The time now is 05:51 AM.


Copyright © 2000 - 2008 · HARDWAREFORUMS.COM · All rights reserved