Getting Started with Tasksel on Ubuntu

Tasksel is a Debian/Ubuntu tool that allows you to install multiple related packages as coordinated “tasks” onto your server. For example, instead of going step-by-step and installing each part of a LAMP stack, you could have Tasksel install all the parts of the LAMP stack for you in a single keystroke.

Prerequisites:

• Ubuntu Server

Installing Tasksel

To install Tasksel, execute the following command from the server:

# sudo apt-get install tasksel

Running Tasksel

Once Tasksel is installed, run Tasksel with the following command:

# sudo tasksel

Installing Software

After initiating Tasksel, you’ll be brought to a GUI based interface with a list of Tasks you can choose to install to your server. Use the ARROW KEYS to move your cursor, and the SPACEBAR to check a box next to the Task you wish to install. Once you’ve selected the software, press ENTER.

As the software is installed, you’ll be given a progress bar. Once Tasksel returns you to the command prompt, your software should be installed.

# sudo service apache2 status
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: active (running) since Tue 2020-02-25 18:57:30 UTC; 13s ago
 Main PID: 10802 (apache2)
    Tasks: 6 (limit: 1145)
   CGroup: /system.slice/apache2.service
           ├─10802 /usr/sbin/apache2 -k start
           ├─10810 /usr/sbin/apache2 -k start
           ├─10811 /usr/sbin/apache2 -k start
           ├─10812 /usr/sbin/apache2 -k start
           ├─10813 /usr/sbin/apache2 -k start
           └─10815 /usr/sbin/apache2 -k start

Feb 25 18:57:30 tasksel systemd[1]: Starting The Apache HTTP Server...
Feb 25 18:57:30 tasksel systemd[1]: Started The Apache HTTP Server.

Tasksel Options

For more information on the packages available via Tasksel, you can run the following command:

# sudo tasksel --list-tasks

Further information on Tasksel and it’s features can be found in the ‘man‘ pages for the service:

# sudo man tasksel

Leave a Reply

Your email address will not be published. Required fields are marked *