admin

How to uninstall CPanel

WARNING! This is for advanced users of the shell, this is NOT a howto or tutorial. The thing is, I googled how to uninstall cpanel and for once in my life I came up empty.. And certainly the cpanel official sites themselves don't provide any instructions other than to say "Dont uninstall it, reinstall your entire operating system without it.".. they sure don't seem confident that they know exactly what their code is doing. At this point this is more of a series of notes than a guide. Ok now go have some fun!

Why Uninstall?

Why? Because I have always built my servers, php installations, perl installs, ruby, iptables, everything from source. I read the INSTALL/README docs, I read the man pages, and I read the info pages as well. I google for configuration advice, I google for tips, and I don't need a web-based perl script messing my stuff up!

The main problems I had with cpanel, which really is a great bit of software for millions of website developers, is that it was incredibly sneaky! I used it for about 6 months and spent that entire time trying to figure out what the heck it was doing. A couple issues that I really disliked, it takes over your bind install, it takes over your apache install, it takes over your php install. And although it does let you configure some things (very few) for custom configurations and the like, I just don't need any of that. By removing the darn thing I am saving GIGS of space on my server, tons of bandwidth, and most importantly to me I am saving CPU and processing time along with RAM and IO speed.Read more

Story URL: 

Nameserver on Windows XP forwarding to public DNS with private zones

Why on earth would you want to do this? For a very specific use case.Read more

  1. You do development of a web application locally that needs a wildcard domain name. ie: where you want 192.168.1.1 to answer any http request for *.example.com ( example.com, www.example.com<, blah.example.com, ridiculously.long.example.com) without specifically configuring each name in a hosts file.
  2. You have previously setup your workstation to use Google's public DNS and don't want to lose the benefits by setting up your own nameserver ( Also applies if you forward? to ANY upstream DNS servers, just swap? the Google IP's out with the ones you want.)
  3. You are using Windows XP (This should work on Vista). You can apply the same configuration files here for any version of BIND. ( OSX Users should look at a utility called DNSEnabler that provides a dead simple graphical user interface to manipulate BIND on OSX ), but the instructions steps here are specific to Windows.
Story URL: 

SilverGhost - записки старого сисадмина

Записки старого сисадмина (C) 2007-2011 by Silver Ghost AKA Дмитрий Лялюев.

Доброго времени суток, уважаемый читатель. Я конечно понимаю, что я далеко не известный и уж тем более не писатель. Я самый обычный блоггер, и еще более давний системный администратор. Для чего же мне тогда надо это все? Для чего мне сидеть ночью и набивать этот текст, компоновать свои же блоггерские посты в эту PDF «книгу»? Все довольно просто. В блоге я уже писал для чего я это делаю и первой же заметкой поставлю как раз ее.

Gmirror: mirror LDAP groups to local groups

Gmirror is a PAM module which manages a set of local Unix groups in /etc/group. When a user logins and logouts, it is added to or deleted from these groups. The main reason we need local vs LDAP groups is that SELinux can only work with local groups.

Syndicate content