🖥️
Born2BeRoot
  • 📘Born2BeRoot
  • 🛠️Installing the virtual machine
    • 💿Virtual machine ISO
    • 🖥️VirtualBox
    • 💿Attaching ISO to VirtualBox
  • 🌀Installing Debian
    • 🌍Configure locals
    • 📶Configure the network
    • 🔐Set up users and passwords
    • 🕚Configure the clock
    • 💾non-BONUS: Partition disks
    • 💾BONUS: Partition Disks
      • 💾BONUS: primary partition
      • 💾BONUS: logical partition
      • 💾BONUS: encrypt logical partition
      • 💾BONUS: logical volume manager
      • 💾BONUS: logical volume group
      • 💾BONUS: logical volume root
      • 💾BONUS: logical volume swap
      • 💾BONUS: logical volume home
      • 💾BONUS: logical volume var
      • 💾BONUS: logical volume srv
      • 💾BONUS: logical volume tmp
      • 💾BONUS: logical volume var-log
      • 💾BONUS: file system of all logical volumes
    • 📦Configure the package manager
    • 🖥️Install the GRUB boot loader
    • 🎉Finish installation
  • ⚙️Virtual machine setup
    • ⚙️First connection
    • 👤Installing sudo & configuration of user and groups
      • 👤Creating a user
      • 👥Creating a group
      • 🫂Adding a user to a group
    • 📶Installing & configuring SSH
      • 📶Configuring SSH
      • 👬Connecting via SSH
    • 🔥Installing & configuring UFW 🔥🧱 Firewall
      • 🔥Allow a port to firewall
    • 🔐sudo policies
    • 🔑password policy 🔑
    • 🧾Script 🚨
    • ⏰Crontab
    • ✒️Signature.txt
  • 😊BONUS Services
    • 💡Lighttpd
    • 📰WordPress
    • 🐬Mariadb
      • 🐬Create database on Mariadb
    • 🐘PHP
    • 📰WordPress configuration
    • ⚡LiteSpeed
  • ✅Correction preparation
    • ✅Correction sheet
    • ❤️‍🩹Evaluation answer
    • ⌨️Evaluation commands
      • ✅Check no graphical interface
      • ✅Check UFW
      • ✅Check SSH service
      • ✅Check OS
      • ✅Check user and group
        • ✅Add user and check password policy
        • ✅Check group creation
        • ✅Check adding to group
      • ✅Check hostname
        • ✅Check change hostname
      • ✅Check all partitions
      • ✅Check sudo
        • ✅Check add user to sudo group
        • ✅Check sudo rules
        • ✅Check sudo logs
      • ✅Check UFW advanced
        • ✅Check UFW active rules
        • ✅Check rule creation
      • ✅Check SSH advanced
        • ✅Check SSH usage
      • ✅Check crontab of script
      • 🎉Finish !
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. BONUS Services

LiteSpeed

PreviousWordPress configurationNextCorrection sheet

Last updated 1 year ago

Was this helpful?

LiteSpeed: It is a proprietary web server software. It is the fourth most popular web server, and is estimated to be used by 10% of websites.

  1. Before installing any software, it is important to ensure that the system is up to date:

sudo apt update
  1. and upgrade:

sudo apt upgrade
  1. By default, OpenLiteSpeed is available in the Debian 11 base repository. So, you must run the following command to add the OpenLiteSpeed repository to your Debian system:

wget -O - https://repo.litespeed.sh | sudo bash
  1. Again, we update the packages and install OpenLiteSpeed:

sudo apt update
sudo apt install openlitespeed
  1. The default password for OpenLiteSpeed is 123456. We will change the password to something more secure with the following command:

sudo /usr/local/lsws/admin/misc/admpass.sh
  1. We configure the firewall to allow connections through ports 8088 and 7080. We then add the rules in the port forwarding:

sudo ufw allow 8088/tcp
sudo ufw allow 7080/tcp
sudo ufw reload
  1. Port forwarding rules:

It could be better if the port are not equals like 7081 : 7080 or 8089 : 8088

  1. Once we have completed the previous step we can connect. We will put in the search engine of our browser localhost:7081 we provide our login credentials and we will have access to everything.

😊
⚡