How to add FTP users to Pure-FTPd

Posted in Linux on June 23, 2017
Tags: , , ,

Detailed instructions here... 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 June 17, 2017
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 June 12, 2017
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 May 30, 2017
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 May 9, 2017
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. To Read More »

How to empty the qmail queue

Posted in Linux on May 7, 2017
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 fix sendmail, iptables, and email delay/not sending

Posted in Linux on April 29, 2017
Tags: ,

I had some issues with sendmail actually sending out an e-mail. Then sometimes if I stopped the iptables firewall some emails would make to my inbox but that's quite a big delay. What I had to do to get my mail working smoothly and sending right away was to allow my server's (or lan) IP Read More »

How to check free disk space on FreeBSD server

Posted in Linux on April 22, 2017
Tags: , , ,

SSH commands for checking linux freebsd server disk space

How can you check and display free disk space available on a FreeBSD server? The best way is using the command 'df -h' and here's exactly what I found from doing some research online. Just type “df” (df means disk free) which will show you the raw numbers or you can type “df -h” which Read More »