For those of you wondering how to reset your Wordpress admin password via MySQL command line, here’s how to do it:
Enter your MySQL command line with something like:
mysql -uroot -p
Then enter your password.
Once inside the MySQL command line do:
show databases;
and then find your database for ...
Author Archive
If you are installing many programs using apt-get command in Ubuntu/Debian, you will want to avoid using sudo in front of every command.
To do that it’s rather simple, just type:
sudo /bin/bash
to enter root for good and you won’t have to type sudo in front of every command. ...
To see all the installed packaged on your linux servers, you can do:
dpkg -l
which will list all installed packages on your web server. ...
For those of you having trouble starting your MySQL server, try this to log your errors:
mysqld_safe --log-error=/var/log/mysql.err
Then do:
cat /var/log/mysql.err
to read what went wrong. ...
You can use the command:
cat /etc/passwd
to list all the users in your linux system. ...
If you have a website that uses a lot of API requests (such as dealing with Twitter), you can save a lot of server load/costs simply by installing DNS caching to your web server.
Each DNS request (every time you request from any domain name using an API) takes anywhere between 0 to 500 miliseconds. ...
Just Ping is a service that will ping your website from various different locations in the world. If you want to optimize your site and also wonder how fast it would load in other parts of the world, you can use Just Ping to do just that.
Another great feature is that you can also check the IP addr ...
When you change your DNS records, your DNS delegation will usually take more than 12-24 hours on average. This means that during that time, it might be impossible to check your website.
This can be a big problem if you are moving a website to a new server and you can’t check if you’ve ...
I’ve been upgrading Wordpress for almost 4 years now and since I manage about 20 blogs, I have learned to figure out how to upgrade your Wordpress faster than ever using SSH and wget command.
For one, you will need a dedicated server/VPS that supports SSH. Otherwise you won’t be able t ...
For those of you who are trying to upgrade from PHP 5.2 because your application requires PHP 5.2 or above, you can use this hack to upgrade your web server running CentOS. Since CentOS doesn’t officially support PHP 5.2 officially yet, this could possibly be a great workaround.
Word of caut ...






