View previous topic :: View next topic |
Author |
Message |
DaFrEQ Apprentice
Joined: 07 Apr 2004 Posts: 218 Location: Earth... for now
|
Posted: Tue Apr 20, 2004 3:01 pm Post subject: Apache && Webmin |
|
|
Hi all,
1) I recently installed apache via the ATB (ApacheToolBox)
All went ok. And the server is running fine.
I'm looking into getting it to start automatically.
*** Running gentoo on amd64M6805 (emachines lappy)
I'm not completly sure how to get the server to startup automatically.
2) I also installed Webmin via ACCEPT_KEYWORDS="~amd64" emerge webmin
All went ok, but it never asked me to supply the password. It's been quite some time since I've had to install webmin, so I'm uncertain how to actually set the login UN and PW.
I can reach the login page, but from there I'm basically stuck.
Any help is appreciated.
Tnx.
L8rz _________________ --== Linux: More configurable than a Mr. Potato Head ==--
Distros: SusE10.1(amd64); Gentoo 2006.1; Slack9; LFS3; Solaris8(sparc) |
|
Back to top |
|
|
Passe-Poil Tux's lil' helper
Joined: 18 Feb 2004 Posts: 139 Location: Québec, QC, Canada
|
Posted: Tue Apr 20, 2004 3:19 pm Post subject: |
|
|
Hello ...
To add a service, use :
rc-update add apache default
(look in /etc/init.d/ for the correct service name.. you might have something else than apache like apache2)
As for webmin, AFAIK it uses the passwd file from the system so logging in with your root account should be OK. _________________ Violence is the last refuge of the incompetent. |
|
Back to top |
|
|
Celtis l33t
Joined: 05 Jul 2003 Posts: 737
|
Posted: Tue Apr 20, 2004 3:24 pm Post subject: |
|
|
To login to webmin you use your root account (ie Username = root, password = *whatever the root password is*) and then from there you can set up the other users access to webmin. |
|
Back to top |
|
|
DaFrEQ Apprentice
Joined: 07 Apr 2004 Posts: 218 Location: Earth... for now
|
Posted: Tue Apr 20, 2004 3:51 pm Post subject: |
|
|
Quote: | rc-update add apache default
(look in /etc/init.d/ for the correct service name.. you might have something else than apache like apache2) |
Well, apachectl wasn't in the /etc/init.d.
I copied it there, ran the rc-update add apachectl default but that didn't work.
I guess I could just start it via Webmin but it'd be much simpler to have it autostart.
Ideas?
Quote: | To login to webmin you use your root account (ie Username = root, password = *whatever the root password is*) and then from there you can set up the other users access to webmin. |
Tnx. That worked. I knew it was something simple, but yet the simple things are what we forget most... so I've been told.
L8rz _________________ --== Linux: More configurable than a Mr. Potato Head ==--
Distros: SusE10.1(amd64); Gentoo 2006.1; Slack9; LFS3; Solaris8(sparc) |
|
Back to top |
|
|
Passe-Poil Tux's lil' helper
Joined: 18 Feb 2004 Posts: 139 Location: Québec, QC, Canada
|
Posted: Tue Apr 20, 2004 6:50 pm Post subject: |
|
|
Quote: |
Well, apachectl wasn't in the /etc/init.d.
I copied it there, ran the rc-update add apachectl default but that didn't work.
|
The scripts in /etc/init.d must behave in a certain way (you pass an option to the commandline like start, stop, status, etc.) so if you simply drop an executable there it won't work for sure. Perhaps you should consider emerging apache like normal gentoo folks do instead of using apache toolbox. The apache ebuild places the startup script in /etc/init.d. _________________ Violence is the last refuge of the incompetent. |
|
Back to top |
|
|
DaFrEQ Apprentice
Joined: 07 Apr 2004 Posts: 218 Location: Earth... for now
|
Posted: Tue Apr 20, 2004 6:59 pm Post subject: |
|
|
Well, I thot about that, I just also thot that the ATB would be simpler for configing everything.
I'm more used to ATB. But hence, you are prolly correct.
Q: Since I already have ATB installed, should I do an uninstall of it before emerging apache?
Tnx _________________ --== Linux: More configurable than a Mr. Potato Head ==--
Distros: SusE10.1(amd64); Gentoo 2006.1; Slack9; LFS3; Solaris8(sparc) |
|
Back to top |
|
|
Passe-Poil Tux's lil' helper
Joined: 18 Feb 2004 Posts: 139 Location: Québec, QC, Canada
|
Posted: Thu Apr 22, 2004 4:08 pm Post subject: |
|
|
Quote: | Q: Since I already have ATB installed, should I do an uninstall of it before emerging apache? |
That's what I would do for sure.. _________________ Violence is the last refuge of the incompetent. |
|
Back to top |
|
|
|