Table of Contents
Introduction.....................................................................................................................................5
Task 1: Configuration of DNS...........................................................................................................5
Task 2 Web Facilities......................................................................................................................14
Building server 2........................................................................................................................20
Task 3: Security management and System-hardening..................................................................29
Conclusion......................................................................................................................................33
References.....................................................................................................................................34
Figure 1 changing the domain name of the system........................................................................5
Figure 2 Set-up the static IP on the DNS..........................................................................................6
Figure 3 install the Bind package on the server...............................................................................6
Figure 4 config changes in the config-file........................................................................................6
Figure 5 Adding the zone information.............................................................................................7
Figure 6 Adding the information in the forward area file...............................................................7
Figure 7 building the conserve zone file..........................................................................................8
Figure 8 Creating the forward zone https server.............................................................................8
Figure 9 GIving the root access........................................................................................................9
Figure 10 checks the config files......................................................................................................9
Figure 11 adding-up the server-name.............................................................................................9
Figure 12 typing the commands to run the server..........................................................................9
Figure 13 Checking the created Server through the dig................................................................10
Figure 14 getting detailed information about the server..............................................................10
,Figure 15 configuration client........................................................................................................11
Figure 16 Adding-up the static internet Protocol..........................................................................11
Figure 17 name-server in the resolved configuration file.............................................................11
Figure 18 starting the NetworkManager.......................................................................................12
Figure 19 using the Ping command...............................................................................................12
Figure 20 ping the ns1.kumar.org.au.............................................................................................12
Figure 21 ping command on the ww.kumar.org.au......................................................................12
Figure 22 using dig command........................................................................................................13
Figure 23 using the dig statement.................................................................................................13
Figure 24 using the nslook-up command......................................................................................14
Figure 25 using the nslook-up command again on the IP address................................................14
Figure 26 again using the nslook-up command.............................................................................14
Figure 27 Installing the httpd dependency....................................................................................15
Figure 28 Installing the open-SSL services.....................................................................................15
Figure 29 Installing the OpenSSL package.....................................................................................15
Figure 30 Adding-up the static internet-protocol address............................................................15
Figure 31 Adding up the details in the configuration file..............................................................16
Figure 32 Using the systemctl command.......................................................................................16
Figure 33 Creating the webserver-conf file...................................................................................16
Figure 34 Creating SSL certificate..................................................................................................17
Figure 35 moving created SSL to their respective location...........................................................17
Figure 36 adding-up the port 8282................................................................................................17
,Figure 37 restarting the httpd........................................................................................................18
Figure 38 checks the port number.................................................................................................18
Figure 39 testing the https.............................................................................................................19
Figure 40 https service run............................................................................................................19
Figure 41 working port with a host_name....................................................................................20
Figure 42 adding a port in the firewall..........................................................................................20
Figure 43 adding -up the port number..........................................................................................20
Figure 44 installing package MySQL..............................................................................................21
Figure 45 getting apache-server....................................................................................................21
Figure 46 setting-up MySQL...........................................................................................................21
Figure 47 Installing PHP.................................................................................................................22
Figure 48 adding-up the name of the server.................................................................................22
Figure 49 adding-up the details of the virtual domain..................................................................22
Figure 50 testing the configuration files........................................................................................23
Figure 51 Setting-up the hostname...............................................................................................23
Figure 52 Installing samba-server..................................................................................................24
Figure 53 creating a folder and giving all permissions..................................................................24
Figure 54 adding-up the information in the configuration file of the samba...............................25
Figure 55 starting-up the smbd & nmbd services..........................................................................25
Figure 56 accessing the files..........................................................................................................26
Figure 57 Share folder....................................................................................................................27
Figure 58 connecting to the server................................................................................................27
, Figure 59 empty folder..................................................................................................................28
Figure 60 Creating the folder.........................................................................................................28
Figure 61 adding-up the port and host information......................................................................29
Figure 62 Restarting the network and checking using the netstat statement..............................30
Figure 63 adding-up the port information in the security framework..........................................30
Figure 64 checking through the netstat statement.......................................................................30
Figure 65 checking with the help of the browser..........................................................................31
Figure 66 adding-up port number 8080........................................................................................31
Figure 67 adding-up port number in the file.................................................................................32
Figure 68 adding up the port in Selinux.........................................................................................32
Figure 69 checking using netsta statement...................................................................................32
Figure 70 checking through netstat command..............................................................................33
Introduction.....................................................................................................................................5
Task 1: Configuration of DNS...........................................................................................................5
Task 2 Web Facilities......................................................................................................................14
Building server 2........................................................................................................................20
Task 3: Security management and System-hardening..................................................................29
Conclusion......................................................................................................................................33
References.....................................................................................................................................34
Figure 1 changing the domain name of the system........................................................................5
Figure 2 Set-up the static IP on the DNS..........................................................................................6
Figure 3 install the Bind package on the server...............................................................................6
Figure 4 config changes in the config-file........................................................................................6
Figure 5 Adding the zone information.............................................................................................7
Figure 6 Adding the information in the forward area file...............................................................7
Figure 7 building the conserve zone file..........................................................................................8
Figure 8 Creating the forward zone https server.............................................................................8
Figure 9 GIving the root access........................................................................................................9
Figure 10 checks the config files......................................................................................................9
Figure 11 adding-up the server-name.............................................................................................9
Figure 12 typing the commands to run the server..........................................................................9
Figure 13 Checking the created Server through the dig................................................................10
Figure 14 getting detailed information about the server..............................................................10
,Figure 15 configuration client........................................................................................................11
Figure 16 Adding-up the static internet Protocol..........................................................................11
Figure 17 name-server in the resolved configuration file.............................................................11
Figure 18 starting the NetworkManager.......................................................................................12
Figure 19 using the Ping command...............................................................................................12
Figure 20 ping the ns1.kumar.org.au.............................................................................................12
Figure 21 ping command on the ww.kumar.org.au......................................................................12
Figure 22 using dig command........................................................................................................13
Figure 23 using the dig statement.................................................................................................13
Figure 24 using the nslook-up command......................................................................................14
Figure 25 using the nslook-up command again on the IP address................................................14
Figure 26 again using the nslook-up command.............................................................................14
Figure 27 Installing the httpd dependency....................................................................................15
Figure 28 Installing the open-SSL services.....................................................................................15
Figure 29 Installing the OpenSSL package.....................................................................................15
Figure 30 Adding-up the static internet-protocol address............................................................15
Figure 31 Adding up the details in the configuration file..............................................................16
Figure 32 Using the systemctl command.......................................................................................16
Figure 33 Creating the webserver-conf file...................................................................................16
Figure 34 Creating SSL certificate..................................................................................................17
Figure 35 moving created SSL to their respective location...........................................................17
Figure 36 adding-up the port 8282................................................................................................17
,Figure 37 restarting the httpd........................................................................................................18
Figure 38 checks the port number.................................................................................................18
Figure 39 testing the https.............................................................................................................19
Figure 40 https service run............................................................................................................19
Figure 41 working port with a host_name....................................................................................20
Figure 42 adding a port in the firewall..........................................................................................20
Figure 43 adding -up the port number..........................................................................................20
Figure 44 installing package MySQL..............................................................................................21
Figure 45 getting apache-server....................................................................................................21
Figure 46 setting-up MySQL...........................................................................................................21
Figure 47 Installing PHP.................................................................................................................22
Figure 48 adding-up the name of the server.................................................................................22
Figure 49 adding-up the details of the virtual domain..................................................................22
Figure 50 testing the configuration files........................................................................................23
Figure 51 Setting-up the hostname...............................................................................................23
Figure 52 Installing samba-server..................................................................................................24
Figure 53 creating a folder and giving all permissions..................................................................24
Figure 54 adding-up the information in the configuration file of the samba...............................25
Figure 55 starting-up the smbd & nmbd services..........................................................................25
Figure 56 accessing the files..........................................................................................................26
Figure 57 Share folder....................................................................................................................27
Figure 58 connecting to the server................................................................................................27
, Figure 59 empty folder..................................................................................................................28
Figure 60 Creating the folder.........................................................................................................28
Figure 61 adding-up the port and host information......................................................................29
Figure 62 Restarting the network and checking using the netstat statement..............................30
Figure 63 adding-up the port information in the security framework..........................................30
Figure 64 checking through the netstat statement.......................................................................30
Figure 65 checking with the help of the browser..........................................................................31
Figure 66 adding-up port number 8080........................................................................................31
Figure 67 adding-up port number in the file.................................................................................32
Figure 68 adding up the port in Selinux.........................................................................................32
Figure 69 checking using netsta statement...................................................................................32
Figure 70 checking through netstat command..............................................................................33