From the VMware WS 15 main menu select File – New Virtual Machine – Typical.
Select Installer disc image file (iso) and click on Browse to locate and select the Fedora 24 Live-x86 ISO you downloaded earlier. Click Next.
Specify a VM name (e.g. Fedora 24 server) and click Next.
Specify a maximum disk size of 10GB and click Next.
Click Finish to create the VM and then follow the steps in lab 1 (first half of the course) to install the Fedora 24 system. Name the system Projserver.nspdomN.local (where N is your unique number as described above – this is important, DO NOT JUST USE THE LETTER N, IT HAS TO BE YOUR UNIQUE NUMBER), set the root password as nsp655 and create a user student with password nspstudent as before. Finish the installation and reboot.
§ Once logged on as user student, open a terminal and type ifconfig. The ens33 virtual NIC adapter shown is connected with NAT to share the host OS’s IP address so that the system has access to the Internet. Test that by pinging a Web address, e.g. www.yahoo.ca.
NOTE: Make sure to disable SELinux and the system firewall, as was done in lab 2.
§ Add an additional virtual NIC by selecting VM –Settings from the VMware WS 15 main menu. Click on Add at the bottom of the window, select Network Adapter and click Finish. On the right hand side select the Host-only mode for this network connection and click OK.
§ The newly added adapter (ens37) will have a separate IP address given by virtual DHCP. To shut down the virtual DHCP server (since we will set up our own DHCP service on the Linux server), select from the VMware WS 15 main menu Edit – Virtual Network Editor, click Change Settings on the bottom, click Yes to allow VMware to make changes (NOTE: at this point, the Virtual Network Editor window may disappear from the foreground, just minimize the VMware WS 15 application to reveal the window) and uncheck the box at the bottom of the window (Use local DHCP service…). Click OK to save the settings and then bring your Fedora 24 VM back to the foreground again.
§ From the Fedora network settings applet on the top right, change the ens37 virtual NIC IP mode from DHCP to manual with IP address 192.168.10+N.1/24.
§ Repeat the steps above to create a Linux client Fedora 24 VM with hostname Projclient.nspdomN.local. Keep the ens33 vNIC interface disabled. As before, disable SELinux and the system firewall.
Ø LINUX SERVER SYSTEM GENERAL CONFIGURATION REQUIREMENTS
§ Configure the DHCP server service for the 192.168.10+N.0 network. Use a DHCP range of 192.168.10+N.50 – 192.168.10+N.100.
Configure the NFS server service to export the /backups directory (must be created) as read-write to all systems in the 192.168.10+N.0 network.
Configure the Samba server service to share the local /docs directory (must be created) as read-only for any user (public share).
Configure the DNS server service for the Internet forward zone nspdomN.local and add host resource records for all systems on the local network 192.168.10+N.0 (i.e., Linux server and client).
Configure Sendmail, Dovecot and Squirrelmail to provide Mail, POP/IMAP and Webmail services for users. Make sure the Web server is enabled and create a simple HTML welcome page (not the default Apache welcome page) with the course name, domain name and your name.
NOTE: Refer to Sobell, chapter 20 (pg. 758) on how to set up Squirrelmail (hint: use yum install squirrelmail to install the required packages).
Create local Linux users named engineer and manager (choose appropriate passwords).
Create local Linux user vncuser and configure the VNC server for remote X display 4 for this user (use connection password vncpass).
Configure a local serial printer (use HP LaserJet p1505n) and enable printer sharing and remote printer administration with CUPS.
Configure the Linux firewall to block all services except SSH, HTTPS, POP3S, SMTP, DNS, NFSv4, IPP, VNC and Samba. Also configure the Linux firewall for SNAT to allow the Linux client to access the Internet (hint: using the Firewall Configuration utility, add the primary vNIC interface (ens33) to the external firewall zone and enable masquerading).
LINUX CLIENT SYSTEM GENERAL CONFIGURATION REQUIREMENTS
Configure the system to mount the shared folder docs from the Linux server using the Files utility GUI of the Gnome graphical environment.
Configure the system to automatically mount (use fstab) the Samba share docs on the Linux server under /mnt/docs.
Configure the system to automatically mount (use fstab) the Linux server NFS share backups under /mnt/backups and configure the system to backup the /etc directory on the NFS share on a weekly basis using an executable bash script file (hint: use the crond daemon/crontab -e command).
Create an executable script to automatically launch the VNC viewer and connect to the Linux server with SSH tunneling (hint: see lab 6, part 4). The script should automate any password entry so that passwords will not be required to be entered when the script is executed.
Using the Print Settings GUI, connect to the shared network printer (LaserJet p1505n) on Linux server.