Differences

This shows you the differences between two versions of the page.

Link to this comparison view

vps_setup_commands_to_use [2018/02/05 15:36]
t1m3c
vps_setup_commands_to_use [2018/03/02 22:06] (current)
t1m3c
Line 1: Line 1:
-The following information was supplied by @Brian at Telegram. This is for linux VPS deployment. It includes some notes and systemd service files to integrate. This also includes a section for security settings when configuring your VPS. +The following information was supplied by a user and reviewed by our security expert on the PT team. This is for linux VPS deployment. It includes some notes and systemd service files to integrate. This also includes a section for security settings when configuring your VPS. 
  
 These are just notes, and are not complete, You should not rely on these to ensure your security or proper setup. ​ These are just notes, and are not complete, You should not rely on these to ensure your security or proper setup. ​
Line 22: Line 22:
 useradd profit; echo "​PICKAPASSWORD"​ | passwd profit --stdin useradd profit; echo "​PICKAPASSWORD"​ | passwd profit --stdin
 usermod -a -G wheel profit usermod -a -G wheel profit
-dnf -y install java nodejs vim policycoreutils-python-utils+dnf -y install java nano policycoreutils-python-utils
  
 #################################​ #################################​
Line 41: Line 41:
  
 #################################​ #################################​
-# If running VPS local, NOT in cloud, open firewall ports so you don't need to port forward webui over ssh+# If running VPS local, NOT in cloud, open firewall ports so you don't need to port forward webui over ssh. Uncomment and adjust port numbers only if those ports are blocked initially
 #################################​ #################################​
-firewall-cmd --add-port=8081/​tcp --permanent +firewall-cmd --add-port=8081/​tcp --permanent 
-firewall-cmd --reload+firewall-cmd --reload
  
 # Only run if setting up second instance # Only run if setting up second instance
-firewall-cmd --add-port=8082/​tcp --permanent +firewall-cmd --add-port=8082/​tcp --permanent 
-firewall-cmd --reload+firewall-cmd --reload
 #################################​ #################################​
  
Line 125: Line 125:
  
 ###############################################​ ###############################################​
-# SET UP PROFIT TRAILER, AS USER PROFIT+# SET UP PROFIT TRAILER, AS USER PROFIT
 ###############################################​ ###############################################​
  
Line 179: Line 179:
  
 </​file>​ </​file>​
 +
 +
  • vps_setup_commands_to_use.txt
  • Last modified: 8 months ago
  • by t1m3c