Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Installing a web server

  Date: Dec 21    Category: Unix / Linux / Ubuntu    Views: 455
  

I have downloaded Apache2.2.9 tar file.The instalation guide asks me to copy the
tar file in /usr/local/directory.but i am not able to do it because it says I
don't have any rights since i am not in root.Also I tried to do in my own
directory.This is what i did:
I unzipped the tar file of Apache(its name being httpd-2.2.9.tar.bz2) in my own
directory.Then using terminal i connected directory by 'cd' then did
./configure.
After that it does lots of checking and then i did 'make' and after lots of
procedure i did 'make install'.These were the instructions given in the LINUX
FOR YOU magazine in one of the articles regarding setting up web servers.But
then how do i know my server has started,
Then anyone could anyone guide me with PHP5.2.6 installation in short word. I
also want to install MySQL.I wanted one more advice which databse platform is
better MySQL or SQlLite.I dont know the difference.Thank you for the efforts for
reading these.Please help i hav tried almost all the sources and i am a newbie
in linux and have installed UBUNTU_8.04

Share: 

 

4 Answers Found

 
Answer #1    Answered On: Dec 21    

When in terminal, type SU then hit the ENTER key
put in your password. This should work.

 
Answer #2    Answered On: Dec 21    

Ubie does not use "su" it uses sudo instead. All so that as wade pointed out
both are in synaptic and saves a lot of head ache to install that way.

 
Answer #3    Answered On: Dec 21    

I offer another solution: XAMPP

http://www.apachefriends.org/en/xampp-linux.html

XAMPP allows you to quickly install the Apache Server, PHP (with a choice
of using PHP 4 or PHP 5), and Mysql all in 1 go.

I've done the install on 2 separate machines
and so far it works great. I've also (in the past) done the same
using Synaptic and it worked too.

XAMPP is very easy to set up, well-documented, and you can view
the commands by which to start/stop/restart your Apache/MySQL server(s).

 
Answer #4    Answered On: Dec 21    


What I would do is:
Open Synaptic and install Apache PHP and MySQL.
That will install the software with a very very min of trouble.

 
Didn't find what you were looking for? Find more on Installing a web server Or get search suggestion and latest updates.




Tagged: