Archive for the ‘Shell’ Category

Server Monkey is looking for tutorial writers to join our staff. Interested applicants can send a quick introduction of themselves to apply@server-monkey.com

Enabling quotas in cPanel

posted by Mark Muyskens

Have you ever had the issue where all your cPanel accounts are showing as unlimited? Well lucky you, thats an easy fix. Just turn on quotas.

1) Log into server via ssh

2) Edit /etc/fstab

pico /etc/fstab

3) Look for a line that looks like the below;

LABEL=/1 / ext3 defaults 1 1

4) Once you find that line, after the word defaults add a comma and usrquota;

LABEL=/1 / ext3 defaults,usrquota 1 1

5) Save and exit

6) Remount;

mount -o remount /

7) Now run the cPanel script to fix quotas;

/scripts/fixquotas


Pure-FTPd and Passive FTP

posted by Mark Muyskens

Need to enable Passive FTP?

1) Log into server via ssh

2) Open conf file

pico /etc/pure-ftpd.conf

3) Uncomment “PassivePortRange” and change to;

PassivePortRange 61001 65535

4) Save and restart;

service pure-ftpd restart