Difference between revisions of "Adding a new user"

From Pulsed Media Wiki
(Created page with "== Setting up the local user == cd /scripts ./addUser.php '''username''' '''password''' '''rTorrent Memory limit''' '''HDD Quota in Gigabytes''' For example: cd /scripts ./...")
 
m
Line 20: Line 20:
  
  
[[Category::PM Software Stack Guides]]
+
[[Category:PM Software Stack Guides]]

Revision as of 17:38, 10 March 2011

Setting up the local user

cd /scripts
./addUser.php username password rTorrent Memory limit HDD Quota in Gigabytes

For example:

cd /scripts
./addUser.php johndoe secretpassword 250 115

Sets up user with name johndoe, password secretpassword with 250Mb rTorrent RAM and accompanying peers + upload slots settings, and 115Gb HDD quota with 144Gb burst quota limit and file count quotas.

DNS Setup

Now setup the user in your DNS Config, for example make an CNAME record:

johndoe.mybox.mydomain.com.         IN CNAME mybox.mydomain.com.

or A record:

johndoe.mybox.mydomain.com.         IN CNAME 127.0.0.1