Difference between revisions of "Installing PM Software Stack"
m (category) |
|||
Line 2: | Line 2: | ||
== Requirements == | == Requirements == | ||
− | * Freshly installed dedicated server/VPS with Debian 5.0 | + | * Freshly installed dedicated server/VPS with [[Debian]] 5.0 |
* root access to the server | * root access to the server | ||
− | * DNS setup for FQDN in one form or another | + | * [[DNS]] setup for [[FQDN]] in one form or another |
+ | Note: Quota may or may not work with [[OpenVZ]]. At the very least do not alter default quota (inc. do not compile quota from source) in a OpenVZ virtual machine. | ||
+ | Note 2: [[Debian]] 6.0 quota from repository is quite sufficient. | ||
== Basic installation == | == Basic installation == | ||
Line 10: | Line 12: | ||
bash install.sh | bash install.sh | ||
− | Reply to questions, and setup quota as requested. | + | Reply to questions, and setup quota as requested (if needed). |
=== Quota setup === | === Quota setup === | ||
Line 17: | Line 19: | ||
=== Monitoring setup === | === Monitoring setup === | ||
− | You need to have a Munin node running somewhere. | + | You need to have a [[Munin]] node running somewhere. |
− | Set host_name attribute in munin.conf to the FQDN of the server. | + | Set host_name attribute in munin.conf to the [[FQDN]] of the server. |
Comment out allow for localhost if you do not need it. | Comment out allow for localhost if you do not need it. | ||
Check allow line on bottom of the file and input your monitoring server IP. | Check allow line on bottom of the file and input your monitoring server IP. |
Revision as of 22:05, 18 April 2011
Installation of PM Software Stack is very easy and self-explanatory with basic linux server administration skills.
Contents
Requirements
- Freshly installed dedicated server/VPS with Debian 5.0
- root access to the server
- DNS setup for FQDN in one form or another
Note: Quota may or may not work with OpenVZ. At the very least do not alter default quota (inc. do not compile quota from source) in a OpenVZ virtual machine. Note 2: Debian 6.0 quota from repository is quite sufficient.
Basic installation
wget http://pulsedmedia.com/remote/install.sh bash install.sh
Reply to questions, and setup quota as requested (if needed).
Quota setup
Copy & paste last line of the fstab line without # character to the according device options, ie.:
/dev/md4 /home ext4 defaults,noatime,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 1 2
Monitoring setup
You need to have a Munin node running somewhere. Set host_name attribute in munin.conf to the FQDN of the server. Comment out allow for localhost if you do not need it. Check allow line on bottom of the file and input your monitoring server IP.
SSL Cert questions
You may skip all of them, these are innecessary and empty works fine if you want to allow non-signed cert HTTPS.
Hostname
When the installation scripts open the file for hostname make certain it is the servers FQDN.
Post installation
Reboot server with shutdown -r now and after reboot login and type quotaon -av for quota. This is required step as the compiled version of quota does not work otherwise.