Difference between revisions of "Installing PM Software Stack"

From Pulsed Media Wiki
(Created page with "Installation is very easy and self-explanatory with basic linux server administration skills. == Requirements == * Freshly installed dedicated server/VPS with Debian 5.0 * root ...")
 
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Installation is very easy and self-explanatory with basic linux server administration skills.
+
Installation of [[PM Software Stack]] is very easy and self-explanatory with basic linux server administration skills. The complete procedure takes 15 to 30mins depending on the type of server, most of this time is spent by apt installing new packages and compiling required software from source.
  
 
== Requirements ==
 
== Requirements ==
* Freshly installed dedicated server/VPS with Debian 5.0
+
* Freshly installed dedicated server/VPS with [[Debian]] 8.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 (this is usually provided by your [[Datacenter]], so you don't need your own domain)
 +
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.
  
== Basic installation ==
+
== Quick installation ==
 
  wget http://pulsedmedia.com/remote/install.sh
 
  wget http://pulsedmedia.com/remote/install.sh
 
  bash install.sh
 
  bash install.sh
 +
reboot
  
Reply to questions, and setup quota as requested.
+
Reply to questions, and setup quota as requested (if needed).  
  
 
=== Quota setup ===
 
=== Quota setup ===
 
Copy & paste last line of the fstab line without # character to the according device options, ie.:
 
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
+
  /dev/md4        /home  ext4    defaults,noatime,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv1       1      2
  
=== Monitoring setup ===
+
If you are unsure if it is working properly run ''/scripts/util/quotaFix.php''
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 ===
 
=== Hostname ===
When the installation scripts open the file for hostname make certain it is the servers FQDN.
+
When the installation scripts open the file for hostname make certain it is the servers FQDN. You can even leave it as is, as now you can also access user accounts via any hostname/ip it responds to in the format of '''uri/user-#USERNAME#/'''
  
== Post installation ==
+
Failure for [[FQDN]] resolution means that [[ProFTPd]] will not function properly, all other functions should work as normal.
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.
 
  
  
[[Category::PM Software Stack guides]]
+
[[Category:PM Software Stack Guides]]
 +
[[Category:Guides]]

Latest revision as of 14:31, 20 August 2018

Installation of PM Software Stack is very easy and self-explanatory with basic linux server administration skills. The complete procedure takes 15 to 30mins depending on the type of server, most of this time is spent by apt installing new packages and compiling required software from source.

Requirements

  • Freshly installed dedicated server/VPS with Debian 8.0
  • root access to the server
  • DNS setup for FQDN in one form or another (this is usually provided by your Datacenter, so you don't need your own domain)

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.

Quick installation

wget http://pulsedmedia.com/remote/install.sh
bash install.sh
reboot

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=vfsv1       1       2

If you are unsure if it is working properly run /scripts/util/quotaFix.php

Hostname

When the installation scripts open the file for hostname make certain it is the servers FQDN. You can even leave it as is, as now you can also access user accounts via any hostname/ip it responds to in the format of uri/user-#USERNAME#/

Failure for FQDN resolution means that ProFTPd will not function properly, all other functions should work as normal.