Join David Bombal for an in-depth discussion in this video Software install, part 1, part of Practical Linux for Network Engineers: Part 2.
- [Narrator] In this video we're going to discuss the installation of software on an Ubuntu system. Now please note that there is a difference between installation versus deployment of software. If you've only got one or two Linux servers or devices to manage, then you're going to install software. So, in the same way as with a router, you'll manually install the software on a Linux system, so we're talking about a manual installation of software.
However, if you've got hundreds or thousands of servers, you don't want to manually install software on those servers You want to use an application such as Ansible, or Puppet or Chef, to deploy software to those servers. Now unlike in networking where we still very much do things manually, but there is a trend towards automation and network programmability, in server environments, server administrators have been deploying software automatically and programmatically using tools such as Puppet, Chef, and Ansible, amongst others.
So the idea is that you centrally deploy your software to multiple servers, you centrally deploy your patches to multiple servers, from a central control node. You don't want to be managing thousands of servers manually. In this course we're not gonna do that. We're simply gonna use apt-get update and apt-get install to update packages and install software on our Ubuntu systems. Apt-get update updates references on a server, which then allows us to install software.
So apt-get update again now shows us that references are up to date and we can install software on the server using the command apt-get install and specifying some software to install. So, as an example, I could install Python onto this server. So what happens here is the server contacts repositories on-line and then downloads and installs the relevant software.
There's a lot of free software available on Linux systems and I've just installed Python and notice I can run Python 2.7 on the server because I've just installed it. I could run Python 3, that was already installed. So here we'd have to do something like this to get to the same result. So softwares not installed, we can use apt to get install and there the software name to install it.
As an example we could install Net-tools. That's already installed, which allows me to use commands such as if config and route, rather than new commands such as ip address or ip route. So in Ubuntu we use the apt command to install software. Apt, or advanced packaging tool, is a command line tool that allows you to install new software packages, upgrade existing software packages, and even upgrade the entire Ubuntu system.
Note: This course uses GNS3 for all demonstrations.
- Configuring TFTP, dnsmasq, and DHCP
- Replacing GNS3 switches with Linux switches
- Creating a Docker-based network with OVS
- OpenFlow capture using Wireshark