Server support blog - My life on call

Sysadmin : remove all virtualmin domains in one shot

virtualminIf you need to clean up the hosting server and clean install is not an option and you know that all domains on servers were created with virtualmin you can remove all virtualmin domains in one shot using command line API:
virtualmin list-domains --name-only | xargs -n1  virtualmin delete-domain --domain
Wait a while and you are done. There are tons of useful options for command line virtualmin that you might want to explore if you are using virtualmin for your hosting domain management.

phpMyAdmin import.php Missing parameter problem solved

phpMyAdmin import.php Missing parameter problem solved 1Very annoying phpMyadmin error. As you can see it points to the item in the phpMyAdmin FAQ page where there are list of possible causes which could lead to this kind of error. Let me give you a tip.
Read more »

Adaptec RAID arcconf – creating array from Linux command line

adaptecOne of our customers decided to add 2 more disks to his Adaptec 5085 SATA RAID controller and asked me to create RAID1 array. Of course not at the time when I could easily do it from the controller BIOS so I had to resort to Adaptec arcconf command line tool.
Read more »

Prepaid mobile data in France : 1 month for 9 Eur

orangefrActually 9 Eur is the cost of monthly Internet Max package, the total with the SIM card will cost you somewhere around 25Eur.
Read more »

Hosting: Howto redirect domain to another domain.

There is always a question on how to completely redirect some src-domain to another dst-domain properly.
And while there is the simple straightforward way to do so, there are always some dedicated server customers of the web hosting that are trying to reinvent the wheel one more time. And failing miserably.
Read more »

Prepaid mobile data in Belarus : 3Gb for 13 USD

While travelling through Belarus we purchased MTS.BY tourist prepaid package (all other packages require registration). The SIM card package available from the most newsstands and mobile service stores.
Read more »

Prepaid mobile data in Austria : 5Gb for 20Euro from A1

a1netPrepaid mobile data in Austria offer by A1 5gb of data on prepaid 3G SIM ( introductory package) for only 19.99 Eur. Should be enough for couple of weeks visit with moderate usage.
Read more »

Prepaid mobile data in Croatia: 500Mb for 4 USD

tmobhrRight now T-mobile Croatia has very attractive offer for GPRS/3G – if you have your own 3G modem it will cost you only $4 for 500MB.
Read more »

X-Robots-Tag in headers – fine grained crawlers control in apache

xrobotsI was asked to implement X-Robots-tag on one of our dedicated servers the other day.
This google document explains in the great details what it does and how it influences your site presentation on the search engine.
Read more »

Django on cpanel server for shared web hosting

django congrats on successful install

django congrats on successful install

I had a customer request to install Django on cpanel server shared account the other day – took me some time to get it going, mostly because of easyapache not willing to play nice.
Other then that, Jimmy’s blog entry here provides excellent instructions on how to configure it, the only difference being that his cpanel server already had mod_fcgid installed.
So, what I’ll do is just quick recap:
Things to do as root

  1. Make sure your apache had mod_fcgid compiled, if not – run easyapache script from SSH or from WHM web page and make sure mod_fcgid option checked
  2. Install easy_install script –
  3. Use easy_install to install a couple Python packages –
  4. Restart apache, make sure mod_fcgid is loaded

This is it – you can notify customer that he can do his django magic – all prerequisites are in place.