Updating PHP or Other Services with DirectAdmin Custombuild

| |

If you´re hosting your WordPress sites on an unmanaged VPS, you´ll have to perform all system updates and upgrades yourself. The control panel DirectAdmin offers a handy tool that makes keeping your server packages updated a breeze.

The tool is called DirectAdmin Custombuild. This script package allows DirectAdmin users to install and upgrade services like Apache, PHP and MySQL from a central place. Here´s a good introduction to DirectAdmin Custombuild.

Before making any changes to your server, don´t forget to backup your data. The process described below works for us, but your server might be totally different. Know what you´re doing.

How to install Custombuild

During the installation of DirectAdmin you´ll be asked if you want to install Custombuild. If your VPS came with DirectAdmin already running, chances are that Custombuild is already installed.

Here´s the recipe to install Custombuild from scratch:

cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build

To install version 1.2 beta simply change the version number to 1.2

When done, you need to run this command for the first time:

./build all d

How configure Custombuild

You can specify the services and versions you wish to use in the options.conf file. All available options are listed here.

To see your current configuration, run this command:

./build options

How to update PHP or another service

  1. cd /usr/local/directadmin/custombuild

    – browse to the Custombuild directory

  2. ./build options

    – review your current settings

  3. nano options.conf

    – edit the options.conf file, save and exit

  4. ./build update_data

    – always run this command after opdating options.conf

  5. ./build versions

    – check for available updates

  6. ./build update_versions

    – install the updates

Don´t forget to restart Apache if not done automatically by the update script.

Previous

How to Install WordPress

Install WordPress locally using WampServer (WAMP)

Next

13 thoughts on “Updating PHP or Other Services with DirectAdmin Custombuild”

  1. Nice post. I was checking constantly this blog and I am inspired! Extremely helpful info specifically the remaining part 🙂 I maintain such info much. I used to be looking for this certain info for a long time. Thank you and best of luck.

  2. A powerful share, I simply given this onto a colleague who was doing a little evaluation on this. And he the truth is purchased me breakfast because I found it for him.. smile. So let me reword that: Thnx for the treat! However yeah Thnkx for spending the time to discuss this, I feel strongly about it and love studying more on this topic. If possible, as you grow to be expertise, would you thoughts updating your blog with more particulars? It is extremely useful for me. Big thumb up for this weblog publish!

  3. Good V I should definitely pronounce, impressed with your web site. I had no trouble navigating through all tabs as well as related information ended up being truly easy to do to access. I recently found what I hoped for before you know it in the least. Reasonably unusual. Is likely to appreciate it for those who add forums or anything, web site theme . a tones way for your client to communicate. Nice task..

  4. A powerful share, I simply given this onto a colleague who was doing a little bit evaluation on this. And he the truth is bought me breakfast as a result of I discovered it for him.. smile. So let me reword that: Thnx for the deal with! But yeah Thnkx for spending the time to debate this, I feel strongly about it and love studying extra on this topic. If possible, as you change into expertise, would you thoughts updating your weblog with extra details? It’s extremely helpful for me. Huge thumb up for this blog submit!

  5. Just want to say your article is as amazing. The clarity on your publish is just cool and i could assume you are a professional on this subject. Well with your permission let me to clutch your feed to stay updated with impending post. Thank you 1,000,000 and please keep up the gratifying work.

  6. Atendemos inmediatamente las llamadas de los clientes realizando un servicio de calidad a domicilio, puede llamarnos las 24 horas escribirnos a través del formulario de la web aquí, Déjenos su teléfono de contacto, describa la avería de su electrodoméstico, inmediatamente le llamamos para resolver su avería en el menor tiempo factible. Observe que cierren bien las puertas y las juntas de gomas para un mejor aprovechamiento del frío. Si existe una pérdida de gas evalue el estado de su refrigerador antes de reparar. Además me añade que no hay servicio técnico de Fujitsu en Zaragoza… genial, por eso nadie cogía el teléfono.

Leave a Comment