VPS & Servers
VPS en server handleidingen
16 artikelen
Artikelen in deze categorie
Firewall configuration (UFW)
# UFW Firewall ## Installation ```bash apt install ufw ``` ## Basic configuration ```bash # Default rules ufw default deny incoming ufw default allow outgo...
Server-level cronjobs
# Cronjobs ## Edit crontab ```bash crontab -e ``` ## Syntax ``` * * * * * command │ │ │ │ │ │ │ │ │ └── Day of week (0-7) │ │ │ └──── Month (1-12) │ │ └───...
Activating SSH access in DirectAdmin
# Activating SSH ## In DirectAdmin 1. [Log in to DirectAdmin](https://support.theory7.net/hc/en-us/articles/1162-directadmin-complete-guide-for-beginners)...
SSH connection from Windows (PuTTY)
# SSH with PuTTY ## Downloading PuTTY 1. Go to putty.org 2. Download PuTTY 3. Install ## Making connection 1. Open PuTTY 2. Fill in: - Host: yourdomain.com...
SSH connection from Mac/Linux
# SSH on Mac/Linux ## Opening terminal - Mac: Cmd+Space → "Terminal" - Linux: Ctrl+Alt+T ## Connecting ```bash ssh user@yourdomain.com -p 7777 ``` ## With...
Using Composer via SSH
# Composer via SSH ## Composer available? ```bash composer --version ``` ## Basic commands ```bash # Install dependencies composer install # Update package...
Using WP-CLI via SSH
# WP-CLI ## Check availability ```bash wp --version ``` ## Common commands ```bash # Update WordPress wp core update wp plugin update --all wp theme update...
VPS first steps after purchase
# VPS first steps ## After purchase 1. You'll receive an email with: - IP address - Root password - SSH port (usually 22) ## First login ```bash ssh root@y...
Installing DirectAdmin on VPS
# Installing DirectAdmin ## Requirements - Clean VPS installation - CentOS, AlmaLinux, Ubuntu or Debian - Minimum 1GB RAM - DirectAdmin license ## Installa...
Basic server security
# Server security ## Securing SSH 1. **Change SSH port** ```bash nano /etc/ssh/sshd_config # Port 22 → Port 2222 systemctl restart sshd ``` 2. **Disable ro...
Monitoring server resources
# Server monitoring ## Basic commands ```bash # CPU and memory top htop # Memory free -h # Disk space df -h # Disk I/O iostat ``` ## Processes ```bash # Ac...
PHP-FPM configuration
# PHP-FPM configuration ## Pool configuration Edit `/etc/php/8.2/fpm/pool.d/www.conf`: ```ini pm = dynamic pm.max_children = 50 pm.start_servers = 10 pm.mi...
LiteSpeed webserver configuration
# LiteSpeed configuration ## Admin panel access https://your-ip:7080 ## Basic settings 1. **Server Configuration** - Tune connections - Configure logging 2...
Root access and sudo
# Root and sudo ## Root login ```bash ssh root@server-ip ``` ## Creating sudo user ```bash adduser newuser usermod -aG sudo newuser ``` ## Sudo commands ``...
Server backup strategy
# Backup strategy ## What to backup? 1. Databases 2. Website files 3. Configuration files 4. Mail data ## Automatic backups ```bash #!/bin/bash DATUM=$(dat...
Basic Linux commands for hosting
# Linux commands ## Navigation ```bash pwd # Current directory ls -la # List files cd /path # Go to directory cd .. # Go up ``` ## Files ```bash cp source...
Niet gevonden wat je zocht?
Ons support team staat voor je klaar!