How to trim and lean LAMP
-
Hi folks,
It looks like I will have to install LAMP so I was wondering if there is any way to lean out the server in order to speed it up and conserve resources.
Also control panels...Since Iam complete noob when it comes to linux I would like to have cp for easy management of domains/subdomains,sort of like cpanel but with less useless features and lighter load. Any suggestions?Posted 1 year ago # -
hey Mitty .. the LAMP stackscript is mean, practically growls at any waste! The main thing that can weigh down Apache is unwanted modules ..
.. bear in mind that you can find out what Apache mods you are running by listing the contents of those that are enabled:-
ls /etc/apache2/mods-enabled.. Although in practise it's easier to run the "disable module" command, which gives you a list of enabed modules. Say you want to find out what you have enabled .. you'd run the disable command to bring up the list (as root/using sudo) like this:-
sudo a2dismodThat throws up a list a bit like this:-
Your choices are:- actions alias asis auth_basic [et cetera]If you decide you want to exit the enable or disable mods utility, as with other such Linux commands, you can do so by pressing CTRL+C .. so no need for any kittens :)
Then, still in the utility - post Google! - you'd disable whatever by simply typing the name:-
asisThe action will be confirmed.
Made a mistake? Or to enable a module:-
sudo a2enmod.. again you'll be presented with a list of modules, this time the ones that are there but not enabled (and not using resources, BTW) .. type the name of whatever takes your fancy.
Alternatively if you know what you want to enable or disable in the first place, the shortcuts to enable or disable are:-
sudo a2enmod [someMod]
sudo a2dismod [someMod]Remember that CTRL-C (get out of jail free card!) and have a play .. really that's the best way to see what I mean.
.. Hmmn .. that lot needs tutin' up :P
Re CP's .. there are some interesting threads to sift through here but one that is very current is:-
http://vpsbible.com/forums/topic/vps-lamp-with-cpanelIMHO, if you are not selling hosting then go with Webmin but, as explained in that thread, you may want a prettier, better-known option (so that's cPanel!) if you want to attract clients who, bless, tend to buy looks rather than funcionality.
Check out the 2 guides to CP's in the docs too .. a thorough rundown of what is and is not offered, centered around cPanel.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
