It actually couldn’t be easier. Before you get yourself caught up in dependency hell and start breaking all kinds of things, try the following ‘all in one’ command: /scripts/installimagemagick
In addition to the correct chmod of files and folders (see part 1), you must ensure that all public_html files and folders have the correct (user and group) ownership. The following Perl code will eliminate nobody/root ownership. Place the Perl script into your /home directory and execute it. #!/usr/bin/perl -w my @dirs = grep -d,<*>; […]
If you get Invalid License File when you login to cpanel after a hostname or IP change you need to update your cpanel license file by: Login to shell and run the following from command line: /usr/local/cpanel/cpkeyclt
The following command can be used to repair and optimize all tables in a MySQL database. This can be useful on a busy server with many tables after a hard reboot or otherwise unclean shutdown. mysqlcheck -u root -p –auto-repair –optimize –all-databases
Cpanel w/suphp – how to fix and properly set permissions of all user files and folders so they execute properly.
The following command can be used to create a .tar.gz archive, commonly referred to as a ‘tarball’ file. tar -pczf name_of_your_archive.tar.gz file1 file2 directory1 directory2 ect…
CSF Download Link
We have a unique setup at my work. All of the webhosting appliances have built in spam-filtering software. However, we have external spam-filtering appliances that are 99% more effective. It makes sense to keep CPU intensive spam filtering off of the webhosting servers which should be focusing their efforts on serving up PHP and MySQL […]
Don’t use an axe, use 300+ scalpels at once!
So I spend nearly half of an otherwise productive day fighting dependency hell with LiquidSoap. I haven’t tested it yet but here’s a cleaned up and organized command history of how it happened: ## Liquid soap install cd /usr/src rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum install automake pkgconfig ncurses ncurses-devel ocaml ocaml-camlp4 ocaml-labltk libtheora libtheora-devel libao libao-devel […]