LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-29-2009, 01:38 PM   #1
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Rep: Reputation: 15
Simple configuration and administration of Apache on Ubuntu 9.04/


Hi,
Back the the olden days, I would compile Perl and Apache/mod_perl from source and have everything in /usr/local/apache2; logs, conf, cgi-bin, ... My httpd.conf file had about a dozen lines in it. Easy to backup, understand and administer.

I am setting up a simple, development web server on Ubu 9.04, which I am generally impressed with, except for Apache setup and administration. I used Synaptic to get it to the point where http://localhost says "It Works". I am trying to add just a few directories, modules, aliases, etc. I could not even find cgi-bin without wandering through what I hope to be the main config file, /etc/apache2/apache2.conf and grepping the output of find on directories it listed.

Synaptic has ~700 packages found by searching on "apache". "Apache administration" finds twice that many as though I wanted anything apache OR administration. Google gives you the intersection of all of the search terms, not the union. Bug? Egad!

Looking at the spaghetti layout, I find 15 different directories and about a dozen config files reminiscent of Hillary's 1000 page health care master plan. I find no admin tools in any of the installed menus. I compare it to my production Suse 11.0 server which I setup with tools that Suse installed, and find a vastly more complicated and completely dissimilar layout.

I realize that I installed the Workstation, not the server, but is there a simple tool set to handle my most modest needs? Or, would it be less problematic to rip out everything and go back to the /usr/local/apache2 layout?

A tool I find very easy and useful is MysqlAdmin. It has a GUI, shows menus of all of your options, a reasonable amount of explanation on each and it writes 1 configuration file. VirtualBox is another good example of a slick tool. Samba has a concise web interface. These are my speed.

I would like to stick with packages available through stock, Synaptic packages. I searched for "webmin" and got zero hits. "Webmin-apache" gives me the same ~700 packages related to apache. I found a few hits on google, but I would rather not install multiple, conflicting packeges from numerous vendors, each of which thinks it owns my system, stomping on other packages and breaking software -> update.

I am trying to build a garage, not the Pentagon. Which Ubu -> synaptic web server admin tools would suit me?

Thank you,

BrianP
 
Old 04-29-2009, 01:52 PM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
you can grab webmin directly from their website. http://www.webmin.com/download.html

Webmin was pulled from Debian repos because the guy maintaining the packages for Debian was tired of the work, and got no assistance when he asked...
dpkg -i webmin_1.470_all


When searching for packages you can use grep to reduce what is returned..

show me just apache2 packages containing the keyword perl
Code:
user@it-lenny:~$ aptitude search apache2 | grep perl
p   libapache2-authcassimple-perl   - Apache2 module to authentificate trough a 
p   libapache2-authenntlm-perl      - Perform Microsoft NTLM and Basic User Auth
p   libapache2-mod-perl2            - Integration of perl with the Apache2 web s
p   libapache2-mod-perl2-dev        - Integration of perl with the Apache2 web s
p   libapache2-mod-perl2-doc        - Integration of perl with the Apache2 web s
p   libapache2-mod-speedycgi        - apache2 module to speed up perl scripts by
p   libapache2-reload-perl          - Reload Perl modules when changed on disk  
p   libapache2-request-perl         - generic Apache request library - Perl modu

Show me all installed packages containing the word apache
Code:
user@it-lenny:~$ aptitude search ~i | grep apache
i   apache2                         - Apache HTTP Server metapackage            
i A apache2-mpm-prefork             - Apache HTTP Server - traditional non-threa
i A apache2-utils                   - utility programs for webservers           
i   apache2.2-common                - Apache HTTP Server common files
Makes searching much more manageable..
 
Old 04-29-2009, 05:16 PM   #3
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
Thumbs up Super web tool for Apache, Mysql, Samba, CVS, ...

Farslayer,
I asked 1 mediocre question and got 3 great answers. Webmin is slick and appears to do everything I need now and far into the future. I see the utility of Aptitude over synaptic too. Thanks!!!

I knew there had to be a reason that Apache had mutated into such an incomprehensibly complicated server. I was concerned that microsoft might have embraced it and catastrophically misoverengineered it to extinguish it. It can only be (easily) tamed with a good management tool like Webmin.

I sure am glad I didn't gut it and manually build a skeleton for my immediate needs.

Thanks 1E6,

BrianP
 
Old 04-29-2009, 06:45 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Since you seem to be interested in Aptitude I'll throw in the links for the aptitude command line guide.. Aptitude is very useful, and I find it easier and faster to use from the command line than trying to find what I need in the synaptic GUI.

http://algebraicthunk.net/~dburrows/...n/ch01s02.html
http://algebraicthunk.net/~dburrows/.../rn01re01.html


Glad you found that information useful.

Cheers !!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuration of the Administration Server failed ceci2 Linux - Server 0 07-17-2008 12:53 PM
LXer: Simple, fast administration with Webmin LXer Syndicated Linux News 0 12-19-2007 04:10 PM
simple configuration on SuSE apache: help tzbishop Suse/Novell 2 10-07-2006 10:02 AM
apache simple configuration - program name pulper Linux - Server 2 09-17-2006 11:24 AM
Apache 2 administration in webmin? vharishankar Linux - General 2 01-13-2005 03:46 AM


All times are GMT -5. The time now is 02:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration