Task 1:
- I create 3 webpages
[Link]
[Link]
[Link]
and enable ModSecurity in all websites and make a Round Robin load balancer. So requests to
[Link] are distributed between the upstream servers defined in your configuration
([Link] and [Link]).
- install MariaDB & Secure Installation (Run MySQLTuner script, Enable query log -Enable slow
query log -create Database “Mohamed” (Root Password for DBs “axis1234”) – Create Table
“axispay” and Put data on it)
Task 2:
- Install Apache
- Install PHP 7.3
- Create domain [Link]
- Install WordPress and connect it with MariaDB
- Create DB “wordpress_db”
- And sign up as a “test” user and check if data is recorded in a database or not
Task 3:
- Create user “mohamed”
- Install docker
- Add “mohamed” to Docker Group
- Install Docker Compose
- Create Directory for Jenkins Data ~/jenkins_home
- Run Jenkins in port 8081 (docker run -d -p 8081:8080 -p 50000:50000 --name jenkins -v
~/jenkins_home:/var/jenkins_home jenkins/jenkins:lts)
- [Link] (user: mohamed, Pass: axis1234)
- Create a new pipeline to run the script to “echo my name and server hostname”
Task 4:
- Install GitLab using Docker
- Run GitLab Container
- The web interface is mapped to port 8082, and SSH is on port 2222.
- Create a New Repository "Mohamed"
- Push a New README File to My Repository
- [Link]
Task 5:
- Install and Run RKHunter, Maldet, and ClamAV
- Restrict SSH access from our Device's Mac address because I use a different network
- install RKHunter - Maldet - ClamAV and make scan
- Login with SSH Keys Only
- Root Access Alert by Email alert come from mail (Printer@[Link]) to my mail
(melshafie@[Link])