Difference between revisions of "Installing PM Software Stack"

From Pulsed Media Wiki
(installation has been very much streamlined from past)
Line 2: Line 2:
  
 
== Requirements ==
 
== Requirements ==
* Freshly installed dedicated server/VPS with [[Debian]] 7.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 [[Datacenter|DC]] by default)
 
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: 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. See bottom of this page for [[Debian]] 6.0 special instructions.
 
  
 
== Quick installation ==
 
== Quick installation ==
cd ~
 
 
  wget http://pulsedmedia.com/remote/install.sh
 
  wget http://pulsedmedia.com/remote/install.sh
 
  bash install.sh
 
  bash install.sh
  shutdown -r now
+
  reboot
  
Reply to questions, and setup quota as requested (if needed). After reboot issue command ''quotaon -av'' and you are done :)
+
Reply to questions, and setup quota as requested (if needed).  
  
 
=== Quota setup ===
 
=== Quota setup ===
Line 20: Line 18:
 
  /dev/md4        /home  ext4    defaults,noatime,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv1      1      2
 
  /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 ===
 
=== Hostname ===

Revision as of 14:30, 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 DC by default)

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#/