Tag: VPS

Automatic Installs Of Turnkey Linux Appliances On Virtual Private Servers

Or How to set up a fully working Joomla, Drupal, LAMP, LAPP, Zimbra, Torrent server etc., in a couple of minutes)

Turnkey Linux comprises a set of free, Ubuntu-based software appliances that are primarily available for server-type usage scenarios, such as setting up database, web, forum, wiki and photo gallery servers. Each appliance is preconfigured to work out of the box, with ease of use being the primary goal behind the Turnkey Linux project.

This is extremely useful in itself, but if you wanted to experiment with these appliances, potentially to evaluate or otherwise test them, it would be great if you could perform installations with the absolute minimum of effort.

Using Turnkey Linux on Virtual Private Servers

A number of hosting providers, including GigaTux and GPLHost, provide Linux VPS services, which usually enable users to have their own virtual server with automatic provisioning of major Linux distributions, such as Debian, Ubuntu or CentOS. Work has been performed by GigaTux in conjunction with the Turnkey Linux team and has managed to take the automatic installation concept one step further to enable this to work with all Turnkey Linux appliances. This is made possible by using frameworks provided by the excellent server open source control panel, DTC.

Turnkey Linux appliances enable users to easily deploy primarily web-based applications within an entire Linux kernel and Ubuntu-based package set. Once a distribution is chosen within the control panel, the install is fully completed within a few minutes and ready to be customised. This enables a rapid deployment of a tested setup, with full update and security support provided by the Turnkey Linux and Ubuntu package maintainers.

Our efforts are available to all using the DTC control panel, with Debian packages for Lenny being provided. Additionally, scripts have been written such that when new or updated appliances are released, new deployable packages for the DTC control panel are created and made available in our repository automatically.

Technical Script Details

It is not actually too difficult to configure images to work for automatic deployment, but performing this manually for every appliance is a time consuming process. The scripts we have written will automatically perform the following steps for each appliance:

Create a new directory with a name similar to the actual release version, e.g. turnkey-core-2009.02-hardy-x86.

Copy across common template files. These include the following:

custom_os: Customises each appliance by configuring basic networking, spawning gettys on the right devices and setting a customised MOTD with the VPS number and hostname.

install_os: Custom instructions to install this appliance, which essentially involves untaring the provided image into the VPS.

setup_network: Custom instructions called when setting up the network. Because Turnkey Linux uses resolveconf for DNS configuration, this reads information from /etc/resolv.conf from the dom0 (this is designed for use with Xen) and copies it to /etc/network/interfaces in the domU.

debian/*: These are the files changelog, control, compat, copyright, files, install and rules which are required to create a.deb packages. These have substitution variables (e.g. for the package name) which are overwritten by our script.

Copy the preinstalled image (a.tar.bz2 file).

Tailor the template files (as above).

Invoke dpkg-buildpackage in this directory to create the actual.deb file.

Call reprepro, a tool we use to manage Debian repository directory structures, to remove old versions of this appliance and add the new one.

It’s as simple as that. If you are interested, the raw scripts are downloadable. They will need some customisation for your setup as there are hard coded directories in there.

I want to play with one!

If you are happy playing with just one appliance, you can of course just download it from the Turnkey Linux website and install it on your PC (or use a Virtualisation solution like Xen or VMWare).

However, if you want to rapidly try out a variety of appliances using the setup we have made, the quickest way would be to rent a VPS. Alternately, you can install the DTC control panel yourself and add our Debian repository to your /etc/apt/sources.list. This setup requires you to run a fully featured Xen setup and requires significant configuration.

Any questions?

Get in touch with us at if you have any questions.

Why Bluehost Is A Best Linux Hosting Provider

From newbies to web masters for launching website looking for a best Linux hosting provider rather than windows hosting because of four reasons. They are stability, reliability, innovative technology, and dedicated support. The first foremost reason for why you must choose Linux hosting for basic level website to high level business websites is because of the stable server with enough resources and applications from the open sources community for all needs. Year on year, there are so many changes in the way of developing a website and you can find every week there is something new is invented especially in Java which is most secure than all other website languages. If someone wants to grow in business along with their fully satisfied customers, then the only thing that you need to invest is your dedication on finding the best web host with reliable hosting server.
For a business website, reliability is must than all other and if the website is down on peak hours of traffic from the clients and customer side then there is no use of running business and the customer may sometimes gets frustrated with the online service. Generally, online services are expanded by the business organization in order to reduce the effort needed to do some process such as paying money, buying products and so on. If the users feel tough and spending huge of their time in the doing that process due to bad performance hosting server and less loading time then the result decreased number of customers. Make sure that the web host has well proficient and incorporated with advanced technology to support you and your business in all the ways towards making more profit from your online business. So, to run secure online business website, the need of Linux hosting is important where you can find flexible options and tons of supporting tools as well as software.
For fast performance hosting server and quality superior customer support, the best web host you must go for hosting is BlueHost who is popular for more than a decade. BlueHost is famous for providing Linux hosting solutions in reasonable affordable price. It is well known for Linux because of good quality support and excellent hosting service. In past, this web host particularly has encountered lot of problems regarding hosting due to various new security issues and reliability problems. But after diagnosing closely and has invented various prevention techniques, as a result it is now running their hosting server fast with high performance without any data loss due to security threats. Today”s BlueHost team is really strong and very skillful in providing high quality web hosting service in low price. It is one of the standard webhosting server providers in the world and everyday huge number of new customers subscribing their plans.
It is expected that BlueHost outgrowth with their outperforming capability soon in the future by surpassing all other top hosting companies. To get VPS level protection in shared hosting plan, then the best web host you must prefer is BlueHost hosting company where you can find few new innovative additional features to increase the performance of the server and that cannot be shown in other hosting company plans. The skillful BlueHost team always used to update all the hardware and software with the latest proven versions and so you need not to worry of the uptime criteria. After deep research and comparison, BlueHost is finally decided as best after go through some of the real BlueHost review of thousands of customer on Internet, then there is nothing wrong being with BlueHost for website hosting.