This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
deb11:pluto [2022/07/30 15:02] – [UFW Firewall] Bernard Condrau | deb11:pluto [2022/09/22 22:28] – [Config] Bernard Condrau | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Web Server - Debian | + | ====== Web Server - Debian |
* I originally switched my VPS from a provider in Thailand to a VPS provided by [[https:// | * I originally switched my VPS from a provider in Thailand to a VPS provided by [[https:// | ||
* I switched 27< | * I switched 27< | ||
Line 13: | Line 13: | ||
* My VPS was ready within 5 minutes after order placement | * My VPS was ready within 5 minutes after order placement | ||
- | ===== Server Setup ===== | + | ===== Installation |
- | * Login to the server via SSH as root | + | * [[deb11:setup|Setup]] |
- | * Install sudo, create the main user, and add him to the sudoers group< | + | * [[deb9:ssh|SSH Access]] |
- | # adduser < | + | |
- | # vi /etc/group (add < | + | |
- | * change the machine name:< | + | |
- | sudo edit / | + | |
- | * enable // | + | |
- | ===== Security | + | ===== Pluto ===== |
- | * Configure | + | * [[deb9:apache|Apache 2.4 & PHP 7/8]] |
- | * Install [[deb9: | + | * [[deb11: |
- | * Disable root login by changing file ''/ | + | |
- | root: | + | |
- | + | ||
- | ===== Apache 2.4 & PHP 8.1 ===== | + | |
- | * Install Apache< | + | |
- | $ sudo apt install apache2</code> | + | |
- | * Install PHP - [[https:// | + | |
- | $ sudo sh -c 'echo "deb https:// | + | |
- | $ wget -qO - https:// | + | |
- | $ sudo apt update | + | |
- | $ sudo apt install php8.1 php8.1-mysql php8.1-sqlite3 | + | |
- | </ | + | |
- | * Enable required modules< | + | |
- | a2enmod ssl</ | + | |
- | * Setup your virtual hosts | + | |
- | * Create sub folders in ''/ | + | |
- | * Install | + | |
- | + | ||
- | ===== ProFTP Server ===== | + | |
* Install [[deb720: | * Install [[deb720: | ||
+ | * Setup [[deb10: | ||
- | ===== BackupPC | + | ===== Other apps ===== |
- | * Setup [[deb10: | + | ==== Install |
+ | * < | ||
+ | $ sudo apt install vim | ||
+ | $ sudo apt install zip | ||
+ | $ sudo apt install rename | ||
+ | $ sudo apt install rsync</ | ||
- | ===== Other apps ===== | ||
- | $ sudo apt update | ||
- | $ sudo apt install vim | ||
- | $ sudo apt install zip | ||
- | $ sudo apt install rsync | ||