Help installing a server

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
I tried installing a server into Ubuntu using the package manager, but it doesn't seem to work.

It says "success" and when I go to localhost I get the page, but whenever I try to put a new file in where it takes them from it says permission denied.

I am an admin, so it should work.

Does anyone know?

Thanks.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
You need to either edit Apache's DocumentRoot variable in 'httpd.conf' file with the location of your files (maybe /home/username/public_html/), or open Nautilus (file manager) as root by using (in a terminal):
Code:
gksudo nautilus
Enter your password if required, then you should be able to browse to /var/www/ and replace the files.

If you use XAMPP or some other package and not a proper LAMP setup, the instructions above probably won't work. In this case, post back here about what piece of software you're using and I'll look into getting it working for you.

No offence, but if you don't know this I'd advise you to learn a little bit more about the way Ubuntu works before setting up all your websites on it. Just toy around with things, maybe read up on how to do certain tasks and fiddle with the settings until you're certain you know enough. It's a massive task, learning everything.

-Luke.
 
Last edited:

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Maybe you're looking in the wrong file. Search for httpd.conf, there should be one with content in it somewhere. I think it's /etc/apache2/httpd.conf or somewhere, but I'm not sure. I use CentOS for my server, so I'm not sure about the exact locations for Ubuntu.

-Luke.
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
Yep. I have done that, and my friend who was meant to be helping me installing it said that it is the right one.

I'll get the source files of the apache website.
Edit:
I probably should know this:
Which one?
 
Last edited:

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
I think it's /etc/apache2/httpd.conf but I'd check that. Can you 'run dir /etc/apache2/' (no quotes) in a terminal, that may help =]

-Luke.
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
Yeah, I'm in the right file, but it is empty.

I'm trying to get a new one off apache.com, but I don't know what version of apache I want. (as in unix/win32 ect)
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Yeah, I'm in the right file, but it is empty.

I'm trying to get a new one off apache.com, but I don't know what version of apache I want. (as in unix/win32 ect)

Unix / Linux x86 most likely.

-Luke.
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
There isn't a httpd.conf in the one I downloaded.
 
Top