logo

Installation and Configuration of Linux Virtual Machines for Managing Services and Security

   

Added on  2023-06-04

20 Pages1511 Words489 Views
 | 
 | 
 | 
Managing Services and Security
[Name ]
[Institution]
Unit Code
Installation and Configuration of Linux Virtual Machines for Managing Services and Security_1

Introduction
This report presents the installation and configuration of Linux virtual machines. The virtual
machines are configures with various services such as DNS and SSH as well as a Web server.
The first machine runs a CentOS operating system and provides DNS services, while the
second machine runs Ubuntu operating system and is the main Web server, as well as the
secondary DNS server. To enable Ubuntu machine to be a web server, LAMP software was
installed and configured. The machine was also installed and configured to run FTP services.
A step-by-step installation and configuration process is outlined, with necessary commands
and screen shots
Part 1
Installation and configuration of Virtual Machine One
After installation of CentOS on Virtual Machine server1, and configuration of a static IP
address; 192.168.43.46, BIND was installed to provide DNS services.
BIND was installed with the command;
sudo yum install bind bind-utils
Installation and Configuration of Linux Virtual Machines for Managing Services and Security_2

DNS Configuration
To configure the DNS, the file namde.conf was edited
nano -w /etc/named.conf
ZONE configuration
A zone was configured by creating a file saffioti.org.au.zone, and typing in configurations.
nano -w /var/named/saffioti.org.au.zone
To ensure that the service is always started at boot time, the following command was issued;
chkconfig named on
Installation and Configuration of Linux Virtual Machines for Managing Services and Security_3

Part 2
Virtual Machine 2 was installed with an Ubuntu Operating system. A combination of three
software - Apache, MySQL and PHP - which makes up LAMP were installed and configured
to allow the virtual machine provide web server services. A step by step guide is outlined
below on how the virtual machine was configured to provide the services.
Before installation began, the command sudo apt-get update was issued, with the aim of
updating the packages list.
1. Apache Installation
Apache web server was installed on Ubuntu, by issuing the command; sudo apt-get install
apache2
After the installation, the server was started by issuing the command;
sudo /etc/init.d/apache2 start
To ensure that apache is always started at boottime, the following command was issued;
sudo systemctl start apache2.service
The server was started successfully, and to confirm the running status, the default web page
was accessed through a web browser .
Installation and Configuration of Linux Virtual Machines for Managing Services and Security_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents