Menu
Menu

How to add FTP users to Pure-FTPd

Posted in Linux on October 30, 2016
Tags: , , ,

Detailed instructions here... http://download.pureftpd.org/pub/pure-ftpd/doc/README.Virtual-Users Here are my basic instructions ADD THE USER pure-pw useradd USERNAME -f /etc/pure-ftpd/pureftpd.passwd -u 48 -g 48 -d /PATH/TO/YOUR/DOMAIN VIEW FILE MAKE TO SURE USER ADDED vi /etc/pure-ftpd/pureftpd.passwd RUN THIS COMMAND pure-pw mkdb /etc/pure-ftpd/pureftpd.pdb -f /etc/pure-ftpd/pureftpd.passwd Now when you view the pureftpd file (example: /etc/pure-ftpd/pureftpd.passwd) it will look something like this Read More »

How to add to and edit iptables

Posted in Linux on October 24, 2016
Tags: , ,

If you're using a firewall on your server, you'll want to edit your IPtables. Here's how you can add new IPs or edit existing ones. Remember port 22 is for ssh and port 21 for FTP. vi /etc/sysconfig/iptables Edit the IPs in /etc/sysconfig/iptables. Then save changes and run this command to commit changes service iptables Read More »

How to clear the Qmail Queue (clean & delete it quickly)

Posted in Linux, Technology on October 18, 2016
Tags: , ,

Awe shiznit!! Is your qmail queue on your server out of control? Look no further! Here's a quick and easy way to clear, clean, or empty your qmail queue. Clear & Clean Qmail Queue Completely, Safely & Fast! This script should not remove anything it should not remove, and it should clear all e-mail from Read More »

How to add a new IP to your server

Posted in Linux on October 3, 2016
Tags: , ,

Need to add a new IP to your server? Here's how you can do it easily. Add new IP to server by adding it to your httpd.conf file using the following. First launch the conf file in a text editor like this vi/etc/httpd/conf/httpd.conf Save that conf file. Then restart the service using this command service Read More »

How to use basic VI commands

Posted in Linux on September 3, 2016
Tags: ,

I'm bored right now so I'm messing around on my server. Sometimes people forget VI Commands so I thought I'd share some basic VI commands. Hopefully this quick reference can help somebody out. For those that don't know, VI is an editor used in the Linux/Unix environment to edit files that contain text. http://en.wikipedia.org/wiki/Vi To Read More »

How to empty the qmail queue

Posted in Linux on August 30, 2016
Tags: , ,

To clear all messages from the queue the first step is you must shut down qmail. Here are the SSH commands for that. Using qmail-rocks scripts: /etc/rc.d/qmail stop Or you can try the following qmailctl stop Or you can try this init.d/qmail stop To clear the qmail queue, use the following SSH commands to change Read More »

How to TAR a file or folder, GZIP, and UNTAR (create TAR files archive)

Posted in Linux on August 26, 2016
Tags: , , , ,

If you're running a Linux based server, here a step by step guide on how to tar a file and then how to gzip (compress) that file using a simple SSH command. When you are logged into your server through SSH, you can use this command line to tar and then gzip your folder into Read More »