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

How to choose the right hosting service for a video website

Posted in Internet and World Wide Web, Linux, Technology on December 12, 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 December 8, 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 July 30, 2017
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 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 TAR a file or folder, GZIP, and UNTAR (create TAR files archive)

Posted in Linux on May 6, 2017
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 »