I like the xampp package http://www.apachefriends.org/en/xampp.html
But i want to learn how to use emerge to install apache, php, mysql, perl, etc instead of using xampp because i've had trouble getting xampp to start when the system boots/reboots. also I'm not sure how webmin would work with xampp either.
The thing is I know that they need to be installed in the right order for them to recognize each other, but I'm not sure what the order is.
I am going to try this walkthrough to see if it is compatible with GentooX (i think it should be)
http://www.benstrawbridge.com/worklogs/ ... hp?pg=lamp
Its quite long so I'll keep an eye out for a shorter one.
like Xampp, but want to emerge
-
- Linux User
- Posts: 12
- Joined: Wed Dec 08, 2004 5:34 pm
- Location: Lethbridge Alberta Canada
- Contact:
Holy Crap is that a pain in the butt..yea it takes way too long for me..
i quit after about 2 hours
Maybe xampp is the way to go if I can get it to start at boot.
can someone please help me to get it to start at boot?
the commands to start and stop are
the script "lampp" can be moved and run from anyware as long as its by root.
I tried to copy the script to /etc/init.d/ and run
but it doesn't work for some reason. any help would be appreciated
Code: Select all
time emerge sablotron php mod_php
Code: Select all
Exiting on signal 2
real 129m41.390s
user 106m50.870s
sys 9m48.890s
can someone please help me to get it to start at boot?
the commands to start and stop are
Code: Select all
/opt/lampp/lampp start
/opt/lampp/lampp stop
I tried to copy the script to /etc/init.d/ and run
Code: Select all
rc-update add lampp default
-
- Linux User
- Posts: 12
- Joined: Wed Dec 08, 2004 5:34 pm
- Location: Lethbridge Alberta Canada
- Contact:
OK, i was looking around on the net for an answer and i am a bit closer to understanding the boot process. but im still missing something.
but it does have the init.d and runlevel directorys. can someone explain how to make these instructions make sense?
I read this and looked for the /etc/rc.d directory but it wasnt there.After I rebooted my Linux box XAMPP stopped running! How can I fix this?
Correct. That's normal Linux behaviour (which applies to any other Unix-like system. It's the admin's job to make sure a particular application is started at bootup.
There is no real standard way to configure the boot process of a Linux system, but most of them should allow you to start XAMPP at boot time using the following steps.
1. First, find out your default runlevel.
Simply type egrep :initdefault: /etc/inittab.
You should no see a line containing a number between two colons.
In most cases 3 or 5 (2 if you're using Debian).
2. Go into the directory which configures this runlevel. If for example your runlevel is 3, then you have to change into the /etc/rc.d/rc3.d directory.
3. Now carry out the actual configuration by typing:
ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp
but it does have the init.d and runlevel directorys. can someone explain how to make these instructions make sense?
-
- Linux User
- Posts: 12
- Joined: Wed Dec 08, 2004 5:34 pm
- Location: Lethbridge Alberta Canada
- Contact:
I found what I was looking for at the XAMPP Forums. (duh)
I just needed to add this line to the end of /etc/conf.d/local.start
I just needed to add this line to the end of /etc/conf.d/local.start
Code: Select all
/opt/lampp/lampp start