Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Another thing that hasn't been mentioned is the need to restart services. If you've made changes to configuration files, you typically need to restart the applicable service. I'm not sure if this has any bearing to your situation or not.
Hey thanks for your replies. Unfortunately I kept pressing f5 to look for responses and didn't notice it continued on to page 2. I already reinstalled ubuntu, its updating now. I will reinstall XAMPP and see if the problem reoccurs, if it does I'll have the logs billy suggested tonight or early tomorrow.
This post should seriously narrow down possibilities.
This is ALL I have done:
Install Ubuntu 7.10
Install updates (automated - I didn't screw with anything)
Enable nvidia driver
edit /boot/grub/menu.lst to allow me to boot to xp
edit /etc/network/interfaces to give me a static IP (192.168.1.100)
Set password for root account.
Install XAMPP following the instructions as per http://www.apachefriends.org/en/xampp-linux.html
Correct me if I'm wrong here, but if you are doing this in Ubuntu, and you get to the part in the instructions that say
Code:
Step 2: Installation
After downloading simply type in the following commands:
1. Go to a Linux shell and login as the system administrator root:
su
2. Extract the downloaded archive file to /opt:
tar xvfz xampp-linux-1.6.5a.tar.gz -C /opt
Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.
Warning 2: already installed XAMPP versions get overwritten by this command.
That's all. XAMPP is now installed below the /opt/lampp directory.
I'm pretty sure that Ubuntu disables the root account by default and only allows you to use sudo and not su into the root account.
This would mean that you installed everything as a user other than root.
What did happen when you typed "su"?
Now (again, assuming I have a clue, which frankly is a big assumption), you would need to take this into account and instead type
Code:
1. Go to a Linux shell and login as the system administrator root:
su (Don't bother - shouldn't work )
2. Extract the downloaded archive file to /opt:
sudo tar xvfz xampp-linux-1.6.5a.tar.gz -C /opt (note the addition of sudo at start)
That's all. XAMPP is now installed below the /opt/lampp directory.
Give that a go
Anyone more familiar with Ubuntu, please comment
Last edited by billymayday; 02-06-2008 at 05:20 AM.
By typing (I believe it was) su passwd, I was prompted to set password for root, then by typing "su" in terminal I *am* root, not just using privs that sudo provides, and I can also sign in as user: root pass: what I set
Output of logs:
ls -l /opt:
Quote:
total 4
drwxr-xr-x 20 root root 4096 2007-12-25 01:15 lampp
Just wanted to call this back to attention since it went unaddressed earlier and may have something to do with all this,
When I navigate to /opt/lampp/htdocs and open index.html with firefox, I get "Problem Loading Page" "Firefox can't find the file at /XAMPP/"
Is firefox refusing to load localhost because its returning an error? Just a thought.
I'll whip up a little sample page in its place when I get home in a couple of hours.
-SS
I did do the security check last time, but not since I reloaded ubuntu, so whatever the problem is its not related to that. I tried with and without ssl, still no go.
Alright http://localhost and all that still doesn't take me to xampp, however, I decided to open up /opt/lampp/etc/httpd.conf and simply add "Servername FileFarm", restart XAMPP, and browse to filefarm.selfip.com (the address I selected from dyndns.org), and it accessed the XAMPP pages, and I was able to set securities and all from there.
Then I tried to put Servername localhost, 127.0.0.1 yahda yahda, and nothing is fixing http://localhost's resolution.
This will more than likely prompt you for your SSL login, which you should have created on installation. If you can't remember your login, try removing SSL by issuing
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.