Changing wordpress password from linux shell

Wordpress No Comments »

If you prefer to change Wordpress admin or any user password from the shell it can be easily done by mysql command line.

Connect to the database with dedicated user or with root

mysql -u root -p wordpressdb

enter password and

update wp_users set user_pass=md5(’newpwd’) where user_login=’admin’;

The above line will change admin user password to newpwd

You can easily script and change wordpress user passwords via perl DBI module.

Content delivery network solutions

Content delivery No Comments »

High bandwidth means high expenses for the bandwidth and many companies are looking to Content Delivery Network service companies to cut down the bandwidth bills.

There are many Content Delivery Network (CDN) companies, for example, Akamai, LocalMirror, Streaming1, Mirror Image, UltraCDN, Value CDN and others, that push the content closer to the end user and offer better pricing in some cases.

Content Delivery Network Scheme

CDN’s usually work like this.

They push static content closer to the end user physically or at least calculate the shortest path and/or lowest latency between the end-user and the cache.

In this case, the user is U1 (see the above picture), C1 and C2 - caches, S1 - real server.

User (U1) requests are all answered by DNS queries and all dynamic content requests go to server S1, while all static content requests are forwarded to C1 or C2. This is usually done by linking static content with a different hostname or sub-domain that resolves directly to the closest and fastest cache node.

For example, if you are located in Germany, a server in Germany servers all your static content while all dynamic content, for example, php scripts and queries are served by server located in USA. You pay less because it’s a local peer traffic, or less expensive transfer, plus, you get a better speed and lowest latency.

Best web server for static content hosting on Linux

Web servers No Comments »

There are quite a few web server software daemons that can be used for almost any content hosting, but for high performance and fast static content hosting the choice is not that big.

Zeus (commercial)
Lighttpd (free)
Nginx (free)
Thttpd (free)
Cherokee (free)

We have tested quite a few http server daemons listed above (except Zeus). If you are looking for basic hosting, here is some great Linux web hosts.

My top server software would be:

Nginx and Cherokee. Easy to use, easy configuration, lightweight and very reliable. I do not pay for the software I can get for free, sorry folks that develop Zeus ;)

Hosting your Wordpress blog

Hosting No Comments »

Ever wanted to start a Wordpress blog but don’t want to host it as a sub-domain under some of the ordinary domain names like (blogspot.com, blogger.com, etc. Well, it has never been easier or cheaper to host under your own domain name. Start by finding a good linux web host. Your hosting account must support PHP (version 4.3 or higher), MySQL (4.0 or higher). You should also read an article about Wordpress blogging.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in