Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache && Webmin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DaFrEQ
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 218
Location: Earth... for now

PostPosted: Tue Apr 20, 2004 3:01 pm    Post subject: Apache && Webmin Reply with quote

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
View user's profile Send private message
Passe-Poil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2004
Posts: 139
Location: Québec, QC, Canada

PostPosted: Tue Apr 20, 2004 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Celtis
l33t
l33t


Joined: 05 Jul 2003
Posts: 737

PostPosted: Tue Apr 20, 2004 3:24 pm    Post subject: Reply with 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.
Back to top
View user's profile Send private message
DaFrEQ
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 218
Location: Earth... for now

PostPosted: Tue Apr 20, 2004 3:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Passe-Poil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2004
Posts: 139
Location: Québec, QC, Canada

PostPosted: Tue Apr 20, 2004 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
DaFrEQ
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 218
Location: Earth... for now

PostPosted: Tue Apr 20, 2004 6:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Passe-Poil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2004
Posts: 139
Location: Québec, QC, Canada

PostPosted: Thu Apr 22, 2004 4:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum