Posts Tagged ‘cpanel’

Techy: New Hosting Solutions

May 10th, 2007

A few months back, my blog (and websites) were relocated to another server solution. Why? Well, I had originally upgraded from a Positive Internet shared hosting account to their “Dolphin” Dedicated Server as I was using up a few too many resources. I then switched to EV1Servers (now part of The Planet) as they were much cheaper (being US based). When they paid the “Linux License fee” to SCO Scum, I ditched them and went to The Planet. Once they started going downhill support wise, I then moved down to a VPS with UnixShell.

However, I had big plans for a site which I’ve now ditched and the VPS just wasn’t big enough – so I upgraded for nearly a year to a Dedicated Server with Softlayer. But that was posing too expensive for my needs (since I didn’t really need a Dual Processor 4Gb 2x250Gb machine for my sites!). So I’ve now switched to the UK VPS hosting outfit Hosted on a memset dedicated serverMemset on their VPS “Miniserver 512” package.

For that Xen powered VPS, I’m getting the Equivalent CPU of a Pentium 4 2.4 GHz processor, a minimum of 512Mb RAM, 40Gb disc space, 80Gb bandwidth allowance on a 10Mbps connection (I could have gone for an unmetered 5Mbps connection, but I prefer to keep an eye on my bandwidth usage), 2 IP addresses, Fedora cPanel/Fantastico for a total of £76.32 per month.

Support, when I’ve needed them (which has only been to request the secondary IP address which isn’t setup by default and to correct a licensing issue with Fantastico) has been quite responsive and good (although I do try and supply all relevant details – including error messages – when I do contact support teams as I know what it’s like to have too little information!). The VPS account seems to be reliable and (and this will make my other half happy) – they are also “Carbon Neutral”.

If you’re interested – then give them a call or email and say you were referred by user “beebwaa” and you’ll be granted a 10% discount off the Miniserver Virtual Machine or Fully Dedicated Server packages.

Techy: Outdated Coppermine Finder

August 10th, 2006

Whilst on the subject of outdated cPanel based things, I’ve just put together a quick little script to scan a cPanel based webserver for outdated Coppermine Photo Gallery installations.

As the notes state, the script isn’t pretty, it isn’t efficient, but it works.

Comments/feedback are appreciated.
Coppermine Gallery Outdated installation checker v0.01

Set $disableandemail to 1 to disable the scripts and email the users.
» Read more: Techy: Outdated Coppermine Finder

Techy: cPanel DNS Cleardown script

August 10th, 2006

Do you have many “old” cPanel servers? Perhaps you have the cpanel servers configured in a DNS cluster for redudancy? If so, you may encounter the same problem as I did where you have “stale” (or old) DNS zones cluttering up the server. Here’s a script to get rid of any unused zone files (use at your own risk yadda yadda yadda – you will have to rebuild /etc/named.conf afterwards):
» Read more: Techy: cPanel DNS Cleardown script

Techy: Handy Security Tips

August 9th, 2003

If you have a new box you want to use for web hosting etc, then here are just a few of the things you can do to help make the box secure. This list is not comprehensive, nor do I take any responsibility for any harm that may come to your server if you use any of these commands. These are mainly “quick reference” commands in case I need them in a rush (for example: we’ve put a box online and need it at least “semi-secured” – we’ll spend a bit more time securing a box then just these commands, but they’re a good starting point)

Run commands as root/su:

Disable telnet
Modify /etc/xinetd.d/telnet (could also be /etc/xinetd.d/telnet and change disable=no to disable=yes

Disable code compilation
Add compiler group: /usr/sbin/groupadd compiler
Move to correct directory: cd /usr/bin
Make most common compilers part of the compiler group chgrp compiler *cc*
chgrp compiler *++*
chgrp compiler ld
chgrp compiler as

Set access on mysqlaccess chgrp root mysqlaccess
Set permissions chmod 750 *cc*
chmod 750 *++*
chmod 750 ld
chmod 750 as
chmod 755 mysqlaccess

To add users to the group, modify /etc/group and change compiler:x:123: to compiler:x:123:username1,username2 (‘123’ will be different on your installation)
» Read more: Techy: Handy Security Tips

Techy: New Cpanel Server

July 24th, 2003

Cpanel ScreenshotAt work, we’ve got a combination of Cpanel and Ensim Pro control panel based webservers (plus a proprietary system on our very old datacentre). My “personal” dedicated server just has plain Linux (Debian) on it and hosts around a dozen sites – but I’ve decided to go for a more easy to manage solution and I’ve chosen to purchase a brand new Red Hat Linux (I actually would have preferred Debian) server – complete with a whopping 700Gb bandwidth per month (I’m currently on just 40Gb) with Cpanel.

Why Cpanel? Well, Ensim tries to “control” your server a bit too much for my liking: you’ve got to be especially careful what you upgrade/install and if you make any changes to the Apache configuration by hand – then it can really screw things up (and the next restart of Ensim will mean it’ll try and “correct” your amendments). Cpanel, on the other hand, seems to act as a control panel should – it’ll allow me to go right in and forcible change settings without having to worry too much about it overriding my settings.

Plus, the whole system seems lot more “open” then Ensim’s compiled Python mess: which means if I feel like writing an extension to Cpanel, then I’m free to do so. And, it comes with some nifty “one click install” style items – I’ve disabled most of them, but at least if I ever want to have a quick play with – say OsCommerce – I won’t even have to bother loading an FTP client to upload the files! Oh – and it’s support of anti-spam systems looks perfect (my current real email/spam ratio is around 1:500 – yes, I get around 500 spams for every proper email! I deleted 3,500 of them so far today)

On the slightly negative side: I’m having real difficulties disabling FrontPage on the server. I absolutely detest that b–ardised system: it’s a little bit of a web design package, a little bit of “PHP/Perl scripting” and a strange FTP client all muddled together and pulled out incorrectly. FrontPage would have been so much better if it used standard FTP uploads and server admins didn’t have to worry about getting the darn FrontPage extensions to work correctly. 75%+ of our technical support calls are about FrontPage (but, to be fair, some of our customers are such numbskulls that I have to talk them through how to start FrontPage’s inbuilt help system: I wish I was joking 🙁 ).

Anyway, once I’ve got the new server stabilised and ready, I’m going to be moving everything to it – it’ll take me a while though as my current server has a few “exotic” settings made to it which I’ll need to take into account.

%d bloggers like this: