Learn how to use and modify Linux and enter SSH commands!

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 »

How to choose the right hosting service for a video website

Posted in Internet and World Wide Web, Linux, Technology on April 19, 2017
Tags: , , ,

Choosing the perfect web hosting service is honestly not an easy task. Nowadays there are literally thousands of them to go through, with almost 90% of them being identical, which makes it even harder to choose from. So there are a few decisive factors which have to be met by the hosting service, for you Read More »

How to use basic SSH commands

Posted in Linux on April 17, 2017
Tags: ,

Here are some basic SSH commands. Some work in redhat linux, some work in freebsd. Just incase you were wondering on how to do these. HOW TO CREATE NEW FTP USER IN SSH: ftpnew /usr/www/virtual/ ftp WWW.DOMAIN.COM HOW TO RESTART APACHE SSH COMMAND: /www/apache/bin/apachectl - restart (or try this) /www/apache/bin/apachectl - stop /www/apache/bin/apachectl - start Read More »

How to turn PHP Safe Mode Off

Posted in Linux on December 9, 2016
Tags: , , , ,

The first and easiest solution: Contact your hosting company. Ask them to turn PHP Safe Mode Off. If you don't want to contact your webhost, you can turn it off yourself manually. Here's how. Turn of PHP Safe Mode Off in Linux using some basic VI Commands. Using SSH, connect to your server. Do this Read More »

How to add FTP users to Pure-FTPd

Posted in Linux on October 30, 2016
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 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. 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 »