Showing posts with label Server. Show all posts
Showing posts with label Server. Show all posts

Monday, June 6, 2011

Webmin on a server running Ubuntu 10.04 “Lucid Lynx”


If you have an old PC lying around, why not put it to good use as a server?

Download Ubuntu 10.04 Server edition in 64-bit or 32-bit versions depending on how old your server is.  64-bit is recommended if the PC will accept it.

Once downloaded, you use .iso file to burn a CD.  Then boot from the CD to install Ubuntu Server on your machine.

This is an install that does not have the usual graphical user interface which can scare people off but it has its benefits.  You use the power of the machine only for its intended purpose e.g. acting as a file server, a DHCP or a DNS server.

Once it has been installed successfully and the network connection is verified to be working, it is quite feasible to remove the display monitor and to deal with the server across your network from now on.  A key tool in this approach is Webmin.

To install run the following command line

sudo apt-get install webmin

Once that completes, you will be able to install updates, configure the machine, add extra server components, get alerts when things are going awry on the server etc

To harness all this incredible power, point your browser (Firefox, Chrome etc) at …

https://yourservername:10000

As an example, once you have installed it, go to the menu on the left hand side, choose “Webmin Configuration” and then the “Upgrade Webmin” icon.

This will upgrade you up to the latest version available from the webmin site.

Then try this to keep track of all software updates that are available for your server…

On the same “Webmin Configuration” Screen, choose “Webmin Modules” icon and then the button to the right of “Standard module from www.webmin.com“.

Select “package-updates” from the list and follow the instruction to install it. (It may be already installed but this shows you how to get other modules should you be interested in adding new functionality to webmin).

It is also necessary to install another package which is not installed by default in order for the list of packages to work as expected.  Run this command line.

sudo apt-get install apt-show-versions

Now, you can have Webmin check for updates every hour and let you know via email if your server has important updates ready to be applied.  This is better than automatically configuring the server to apply updates blindly in case something breaks. You can then choose a suitable occasion to perform the updates when you have time to rectify any issues that may occur.

Click on the System menu on left-hand-side of Webmin screen and choose “Software Package Updates”. In there you can set your schedule for checking updates and where to send the email.

I recommend to check every hour and “Just notify” of available updates.  This screen is fairly self-explanatory.

Webmin has everything you need to remotely control your server and circumvents the need to run a graphical user desktop environment on that machine saving precious processing time particularly on older machines. It also makes the configuration,  monitoring and management of that server easier to perform remotely so it can be hidden away in some dark recess of your home or office.  This is a good thing if the machine is an ugly beast from the last century with a noisy fan and a hideous disfigurement like my server, “quasimodo”.

Monday, April 18, 2011

Top 5 Open Source Linux Server Provisioning Software

Server provisioning is nothing but load the Linux or UNIX like operating systems automatically with actual operating systems, device drivers, data, and make a server ready for network operation without any user input. Typically you select a server from a pool of available servers, load the operating systems (such as RHEL, Fedora, FreeBSD, Debian), and finally customize storage, network (IP, gateway, bounding etc), drivers, applications, users etc. Using the following tools you can perform automated unattended operating system installation, configuration, set virtual machines and much more. These software can be used to install a lot (say thousands) of Linux and UNIX systems at the same time.

From the official Redhat guide:

Many system administrators would prefer to use an automated installation method to install Red Hat / CentOS / Fedora Linux on their machines. To answer this need, Red Hat created the kickstart installation method. Using kickstart, a system administrator can create a single file containing the answers to all the questions that would normally be asked during a typical Red Hat Linux installation. Kickstart provides a way for users to automate a Red Hat Enterprise Linux installation.

Kickstart Configurator allows you to create or modify a kickstart file using a graphical user interface, so that you do not have to remember the correct syntax of the file.

Fig.01: RHEL - Kickstart Configurator Fig.01: RHEL - Kickstart Configurator

FAI is a non-interactive system to install, customize and manage Linux systems and software configurations on computers as well as virtual machines and chroot environments, from small networks to large-scale infrastructures and clusters. It is a tool for fully automatic installation of Debian and other Linux Distributions such as Suse, Redhat, Solaris via network, custom install cd, or into a chroot environment. Some people also use it to install Windows.

Installs and updates Debian, Ubuntu, SuSe, RHEL, CentOS, Fedora, Mandriva, Solaris, etcCentralized deployment and configuration managementIntegrated disaster recovery systemEasy set up of software RAID and LVMInstalls XEN domains, VirtualBox and VserveEvery stage can be customized via hooksFull remote control via ssh during installation

See the official project website and wiki for more information.

Cobbler is a Linux provisioning server that centralizes and simplifies control of services including DHCP, TFTP, and DNS for the purpose of performing network-based operating systems installs. It can be configured for PXE, reinstallations, and virtualized guests using Xen, KVM or VMware. Again it is mainly used by Redhat and friends, but you can configure a PXE server to boot various non-RPM boot images such as Knoppix and other flavors of Debian such as Ubuntu.

There is also a lightweight built-in configuration management system, as well as support for integrating with configuration management systems like Puppet. Cobbler has a command line interface, a web interface, and also several API access options.

Fig.02: Cobbler WebUI (image credit: Fedora project) Fig.02: Cobbler WebUI (image credit: Fedora project)

See the official Cobbler project home page and wiki for more information.

From the official website:

Spacewalk is an open source (GPLv2) Linux systems management solution. It is the upstream community project from which the Red Hat Network Satellite product is derived. Spacewalk manages software content updates for Red Hat derived distributions such as Fedora, CentOS, and Scientific Linux, within your firewall. You can stage software content through different environments, managing the deployment of updates to systems and allowing you to view at which update level any given system is at across your deployment. A clean central web interface allows viewing of systems and their software update status, and initiating update actions.

Inventory your systems (hardware and software information)Install and update software on your systemsCollect and distribute your custom software packages into manageable groupsProvision (kickstart) your systemsManage and deploy configuration files to your systemsMonitor your systemsProvision and start/stop/configure virtual guestsDistribute content across multiple geographical sites in an efficient manner.Fig.03: Spacewalk Server Provisioning System Fig.03: Spacewalk Server Provisioning System

See the official project website for more information.

From the official website:

openQRM is the next generation, open-source Data-center management platform. Its fully pluggable architecture focuses on automatic, rapid- and appliance-based deployment, monitoring, high-availability, cloud computing and especially on supporting and conforming multiple virtualization technologies. openQRM is a single-management console for the complete IT-infra structure and provides a well defined API which can be used to integrate third-party tools as additional plugins.

Complete separation of "hardware" (physical servers and virtual machines) from "software" (server-images)
Support for different virtualization technologiesFully automatic Nagios configuration (single click) to monitor all systems and servicesHigh-availability : "N to 1" fail-over Integrated storage managementDistribution support - openQRM 4.x comes with a solid support for different linux distribution like Debian, Ubuntu, CentOS and openSuse. A single openQRM server can manage the provisioning of servers from those different linux distributions seamlessly.Fig.04: OpenQRM Dashboard Fig.04: OpenQRM Dashboard (image credit: OpenQRM project)

See the official project website for more information.

You can build your own server using PXE, TFTP server, and DHCP software. PXE allows you to boot up a system and have it automatically get an IP address via DHCP and start booting a kernel over the network. See the following articles for more information:

There are many proprietary software solutions available to automate the provisioning of servers, services and end-user devices from vendors such as BladeLogic, IBM, or HP. But open source software gives you more freedom to automate the installation of the Linux server. Some of the above software support UNIX and Windows operating systems too.

I'm wondering if you use Server Provisioning Software regularly. Drop your discussion below and share what works for you in the comments.

Tuesday, September 7, 2010

Top 5 Open Source Linux Server Provisioning Software

Server provisioning is nothing but load the Linux or UNIX like operating systems automatically with actual operating systems, device drivers, data, and make a server ready for network operation without any user input. Typically you select a server from a pool of available servers, load the operating systems (such as RHEL, Fedora, FreeBSD, Debian), and finally customize storage, network (IP, gateway, bounding etc), drivers, applications, users etc. Using the following tools you can perform automated unattended operating system installation, configuration, set virtual machines and much more. These software can be used to install a lot (say thousands) of Linux and UNIX systems at the same time.

Kickstart

From the official Redhat guide:

Many system administrators would prefer to use an automated installation method to install Red Hat / CentOS / Fedora Linux on their machines. To answer this need, Red Hat created the kickstart installation method. Using kickstart, a system administrator can create a single file containing the answers to all the questions that would normally be asked during a typical Red Hat Linux installation. Kickstart provides a way for users to automate a Red Hat Enterprise Linux installation.

Kickstart Configurator allows you to create or modify a kickstart file using a graphical user interface, so that you do not have to remember the correct syntax of the file.