LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2009, 09:31 AM   #1
zbdblues
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Having problems understanding webs ervers and really need some help


Hello I'm new here and really hoping someone can help me. I have been trying now for 3 months to install a web hosting panel on a vps server. I have never worked from the command line before and internet tutorials are very confusing they all assume some prior knowledge. I have tried many different installations, some have worked but were not wht I wanted. The one I really want installed is called xpanel. It has everything I need, but in 3 months I have never had any reply from their web site forums. So i have tried to do this myself.
Now my confusions are as follows: First xpanel requires some packages to be installed first, and I have done that using yum on fedora 10.
When I follow the set up procedure as outlined in the docs, I get to a few places where things go wrong. The biggest issues are firstly with apache. I just cannot understand how apache knows where to read from. I know it has a config file but altering this has never produced any change. When apache installs var/www or var/httpd has my index page etc.
But when xpanel installs, it installs to home/temp/. I just don't get it.
On cpanel for example web pages follow a logical path, but on vps home or root etc are not in that path. So first I need to know after installing apache what am i supposed to do to configure it?
The next problem is that when I try installing xpanel (using putty) it abrubtly stops installing and i get a message saying i need to configure 2 ip addresses in eth0 and eth0.0 but how on earth do i do this, i can't even find eth0 and eth0.0.
I am up nearly all day and night just trying to figure this all out and I've wasted 3 months rent on a vps for something i thought i would have up and running in a couple of days, and I am so tired.
Please make your answers simple enough for a beginner to understand.
Your help is very much appreciated.
 
Old 12-02-2009, 04:34 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,661
Blog Entries: 28

Rep: Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246
This is hard to answer because there are some pieces missing.

Is this your server or is it space on a hosting service somewhere?

Do you have physical access to the box?

I'm not familiar enough with Fedora to know where in /etc to find the relevant configuration files for the ethernet connections.

Based on nothing, I'm going to hazard a guess: It sounds as if xpanel wants root access.

Do you have root access to the machine or is it at a hosting service somewhere out there? If it's on a hosting service, it would probably be best to direct this question to them.

I've never worked with xpanel, but I have used Apache and the Xampp stack on my own server and never run into anything like this, but, because it was my box, I did the configuration as root.
 
Old 12-05-2009, 10:32 PM   #3
zbdblues
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
hello Frankbell and thanks for your answer. This is a slice of a vps from slicehost, so no i don't have access to the physical box.
I have total access to the slice it comes with just an operating system and there are several to choose from including ubuntu, fedora, etc.
So basically it means configuring everything from scratch, not so easy for a beginner...it's a far cry from cpanel! Still i've learned a lot.
(it's easy to delete a slice and re-start if i mess up so it's an ideal training ground) But the thing is for example if i was on cpanel and say i uploaded several files aaa, bbb, ccc. I could access them on the web by www.mysite.com/aaa or www.mysite.com/bbb etc. Now i cannot understand on this level of hosting how files are lets say stored on the slice. Take apache for instance, my sites are currently located as
var/www/vhosts/mysite but if i wanted them as home/mysite how do i do this? It says to use apaches config file, but it makes no difference what i write in the config. Also, if i look in the etc folder, there is apache, if i look in the bin folder, there is apache, in fact it's everywhere. So i'm puzzled as to what exactly happens at root level when a site is installed? Now xpanel is a free hosting set up which allows users to use their own domain and name servers. So it requires two ip addresses. It say's i must have two ip's configured in eth0 and eth0.0. There's a lot of folders and sub folders at root level to search through to find eth0 and eth0.0 and believe me i've searched, they don't seem to be there.
I was hoping someone might be able to say something like 'look, the etc folder is for this, the bin for that and so on' just so i could get an understanding. Take another example. zpanel installs in var/www/
the mysql server and mail servers install below that so how do you instruct a web page to read these other folders? I could read anything in my browser by going to www.mysite.com/blah but how do you read something below www? So apart from not knowing where to find this eth0 etc, I just don't understand how a server is instructed or 'knows' where to read from?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An Issue With Wireless Inter Webs botnet Slackware 7 07-24-2009 07:35 PM
Imlib 2 problems of understanding kergunyahite Linux - Software 1 01-31-2008 06:44 PM
java webs authorization using jaas ashirazi Programming 3 11-22-2004 11:38 PM
1 external IP 2 webs on 2 PCs netguy2000 Red Hat 0 12-15-2003 05:26 AM
Apache & two webs to serve. navajo Linux - Newbie 3 06-05-2003 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration