Category: Linux/Unix
-
Fix -> Pip not working for Python in Windows
I installed python in my 64 bit windows and had a hard time installing packages through pip, which comes preinstalled with latest versions of python. Everytime i entered pip in command prompt, i get Pip not recognized as internal or external command, operable program or batch file. Here is a simple and easy fix. Go…
-
Add handler not working php pages Bluehost
Bluehost sent me an email forcing me to update to php 5.4. I did not update it and the server updated automatically. Suddenly found out site is down completely because of messed up php.ini and .htaccess settings. None of the pages loaded and .php files are never executed properly. I had some html files to…
-
Fix -> Emails missing – Could not complete sender verify
Been facing a tricky problem for the past 4 days. Some genuine paypal emails are not arriving and i began to investigate the source of the problem. I checked all the spam folder and none found. I began suspicious that it had got to do with the paypal but still i wanted to investigate my…
-
10+ Things to do when your server is down!
Is your website down? Are you in panic? Seeing a server down or terrible slowness, is a webmasters nightmare. I have often freaked out in such situations because with high traffic site, you could lose lots of clients, and money, if your site is slow or site down. Very often, when you press the panic…
-
Website down? Here is how to fix it
Seeing a site down or terrible slowness, is a webmasters nightmare. I have often freaked out in such situations because with high traffic site, you could lose lots of clients, and money, if your site is not properly accessible. Taking very good care of websites on weekly basis is much recommended. Very often, when you…
-
Difference between /etc/hosts and /etc/hostname
I have often found myself in difficult situations without knowing what exactly is the difference between host and hostname /etc/hostname -> Assigns a name to local machine and you can set the name of the machine by editing this file. It can be a FQDN eg. vps.example.com. You will also need to edit /etc/sysconfig/network to…
-
How to run FTP server on different port!
Most FTP servers use a common port number 21 by default. However using default port are subjected to many brute force attacks including many breakin attempts. It is a good idea to move FTP port to any other random number above 1024 because ports 1-1024 are reserved ports. It is very easy to change port…
-
MySQL delete is very slow and takes long time!
I recently had an issue with mysql database and the database has grown too large about 200k records and i was needing to delete all junk and needless data of approx 50k rows in my table. As soon as i hit delete sql query using WHERE clause, it almost took about 1 hr and the…
-
How to install a local copy and configure WordPress on Ubuntu
Compatibility is one of the most important issues when it comes to WordPress. If you want to install a a copy on your local machine, then you have to follow some simple steps. First, download the archive on wordpress.org. For the purpose of this tutorial we are going to use wordpress-2.9.tar.gz archive, which is usually…
-
Securing your server against DNS Amplification (DoS) attacks
In recent times, it seems that there is a new form of Dos (denial of service) attack, targeted towards dns servers. The attacker sends a dns query packet with a spoofed IP and your server will keep on sending responses to the victim. More information about this attack is documented in this page. If you…