This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb11:pluto [2022/07/30 16:16] – [Crontab] Bernard Condrau | deb11:pluto [2026/08/21 13:39] (current) – [Pluto] 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< | ||
| + | * Read [[deb11: | ||
| + | |||
| ===== VPS specification ===== | ===== VPS specification ===== | ||
| Line 13: | Line 15: | ||
| * 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 | + | * [[deb11:apache|Apache 2.4 & PHP 7/8]] |
| - | * Install [[deb9: | + | * [[deb11: |
| - | * Disable root login by changing file ''/ | + | |
| - | root: | + | |
| - | + | ||
| - | ===== Apache 2.4 & PHP 8.1 with SSL ===== | + | |
| - | * 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< | + | |
| - | $ sudo a2enmod ssl</ | + | |
| - | * Setup your virtual hosts | + | |
| - | * Create sub folders in ''/ | + | |
| - | * Install | + | |
| - | + | ||
| - | ===== ProFTP Server ===== | + | |
| * Install [[deb720: | * Install [[deb720: | ||
| - | |||
| - | ===== BackupPC ===== | ||
| * Setup [[deb10: | * Setup [[deb10: | ||
| + | * Install [[deb13: | ||
| - | ===== Crontab ===== | ||
| - | * Root< | ||
| - | 35 3 * * 6 certbot renew && / | ||
| - | ===== Other apps ===== | ||
| - | ==== Install ==== | ||
| - | * < | ||
| - | $ sudo apt install vim | ||
| - | $ sudo apt install zip | ||
| - | $ sudo apt install rsync</ | ||
| - | |||
| - | ==== Config ==== | ||
| - | * Change visudo editor< | ||