You are not logged in.
Pages: 1
Okay I'm probably just missing something really obvious, but...
Installed xampp using these instructions: http://www.apachefriends.org/en/xampp-linux.html#374
Ran the start command. Console output=
Starting XAMPP for Linux 1.7.3a...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
Put http://localhost in chromium address bar to test, according to instructions. Page not found. (xampp page says I should be redirected to xampp's index.php and see the xampp start page)
What did I miss?
Last edited by justjohn (2010-04-24 21:03:27)
Offline
Ah, yep. I was stupid. I should have guessed. I just needed to actually type in the name of my localhost.
Is there a way to fix it so that I can just type "localhost?"
Offline
$ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
Last edited by wuischke (2010-04-24 20:09:33)
Offline
Thanks, I wonder why the beginner's guide told me to change that.
So now I'm trying to get xampp to load with xfce. I put
ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp
in rc.local, that didn't work so opened a console as root in autostart and added them, and that didn't work either.
I'm guessing it's because xampp needs to be started as root. So I think I want to add xampp to the list of things you can sudo, and then redo the commands using sudo. I think I can do the first part, but can someone tell me the correct syntax to use those commands with sudo? Or tell me if this is the wrong approach altogether...
Last edited by justjohn (2010-04-24 21:01:01)
Offline
Okay, so I made the xampp dir sudo-able with no password. Confirmed by using sudo to start xampp.
I tried using both
ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp
and
sudo ln -s /opt/lampp/lampp S99lampp
sudo ln -s /opt/lampp/lampp K01lampp
to create symbolic links in the autostart dir, but it still does not start with xfce. Do I just need to fix my syntax or do I need to do this a different way?
Offline
Ok, so I came up with a makeshift solution.
For whatever reason it didn't like the s99lampp and k01lampp scripts, so I just used the add startup programs option and linked xampp start. Needed sudo to work, so the actual line was
sudo ln -s /opt/lampp/lampp start
I would still like to know if there's a way to run the s99 and k01 things, and if I'm going to damage anything by not having that shutdown script in there.
Offline
Maybe write line:
/opt/lampp/lampp start
in /etc/rc.local file?
Offline
I assume that would work as well, I'm just wondering if I can and if I should or if I "need" to use the s99 and k01 things that the xampp site suggests.
Offline
I assume that would work as well, I'm just wondering if I can and if I should or if I "need" to use the s99 and k01 things that the xampp site suggests.
No, because Arch use BSD-init. http://wiki.archlinux.org/index.php/FAQ … g_about.3F
Last edited by PoZiTPoH (2010-04-25 17:19:45)
Offline
Pages: 1