DevAnswers is a collection of guides I’ve written and solutions to common problems I’ve encountered during web development. Read more. Follow me @DevAnswers.
Ubuntu 20.04 Guides
- Ubuntu Initial Server Setup (Ubuntu 20.04)
- Installing a LAMP stack (Apache, MySQL, PHP) (Ubuntu 20.04)
- Installing a LEMP stack (Nginx, MySQL, PHP) (Ubuntu 20.04)
- Installing phpMyAdmin for Apache (Ubuntu 20.04)
- Installing phpMyAdmin for Nginx (Ubuntu 20.04)
- Installing an FTP server with vsftpd (Ubuntu 20.04)
- How to configure SFTP for a Web Server Document Root
- Configuring Postfix and PHP mail() (Ubuntu 20.04)
- Creating Swap Space (Ubuntu 20.04)
- Configuring Let’s Encrypt SSL Cert for Apache (Ubuntu 20.04)
- Configuring Let’s Encrypt SSL Cert for Nginx (Ubuntu 20.04)
- How to Install VNC (Ubuntu 20.04) (coming soon)
Ubuntu 18.04 / 18.10 Guides
- Ubuntu Initial Server Setup (Ubuntu 18.04)
- Installing a LAMP stack (Apache, MySQL, PHP) (Ubuntu 18.04)
- Installing a LEMP stack (Nginx, MySQL, PHP) (Ubuntu 18.04)
- Installing phpMyAdmin for Apache (Ubuntu 18.04)
- Installing phpMyAdmin for Nginx (Ubuntu 18.04)
- Installing an FTP server with vsftpd (Ubuntu 18.04)
- How to configure SFTP for a web server document root
- Configuring Postfix and PHP mail() (Ubuntu 18.04)
- Creating Swap Space (Ubuntu 18.04)
- Configuring Let’s Encrypt SSL Cert for Apache (Ubuntu 18.04)
- Configuring Let’s Encrypt SSL Cert for Nginx (Ubuntu 18.04)
- How to Install VNC (Ubuntu 18.04)
Ubuntu 16.04 / 17.10 Guides
- Ubuntu Initial Server Setup (Ubuntu 16.04 / 17.10)
- Installing a LAMP stack (Apache, MySQL, PHP) (Ubuntu 16.04 / 17.10)
- Installing a LEMP stack (Nginx, MySQL, PHP) (Ubuntu 16.04 / 17.10)
- Installing phpMyAdmin for Apache (Ubuntu 16.04 / 17.10)
- Installing phpMyAdmin for Nginx (Ubuntu 16.04 / 17.10)
- Configuring Postfix and PHP mail() (Ubuntu 16.04 / 17.10)
- Installing an FTP server (vsftpd) (Ubuntu 16.04 / 17.10)
- Configure Let’s Encrypt SSL on Apache (Ubuntu 16.04 / 17.10)
- Configure Let’s Encrypt SSL on Nginx (Ubuntu 16.04 / 17.10)
- Creating Swap Space (Ubuntu 16.04 / 17.10)
- How to Install VNC (Ubuntu 16.04 / 17.10)
Ubuntu General
- How to update Ubuntu
- *** System Restart Required ***
- Automatically Back Up Your Web Server Doc Root with Tar and Cron
- How to Back Up MySQL Databases with Linux Command Line and Automate with Cron
- What version of Ubuntu am I using?
- Change Timezones and Set Up Time Synchronization
- Better system monitoring with htop
- Linux Permissions Table and Guide
SSH / PuTTY
- How to log into Linux from Windows using PuTTY
- Saving your PuTTY username and password in a Windows Shortcut
- PuTTY and SSH Key-Based Authentication (Windows)
- PuTTY Network Error: Software caused connection abort
- Disable Sudo Password Prompt or Extend Timeout in Linux
Apache
- Installing Apache with Multiple Domains (Ubuntu 18.04)
- Installing Apache with Multiple Domains (Ubuntu 16.04 / 17.10)
- Where are the Apache Error and Access Logs Located?
Nginx
- Installing Nginx with Multiple Domains (Ubuntu 18.04)
- Installing Nginx with Multiple Domains (Ubuntu 16.04 / 17.10)
- Where are the Nginx Error and Access Log Files Located?
- Where is the nginx config file located?
- How to check if the nginx service is running?
- How to restart nginx server in Ubuntu
- 301 permanently redirect a file or folder with nginx.conf
- 502 Bad Gateway / xmlrpc.php. Is your site under attack?
PHP
- Installing PHP for Apache (Ubuntu 18.04)
- Installing PHP for Apache (Ubuntu 16.04 / 17.10)
- Installing PHP for Nginx (Ubuntu 18.04)
- Installing PHP for Nginx (Ubuntu 16.04 / 17.10)
- Where is the PHP configuration file? (php.ini)
- Where is the PHP error log file in Nginx?
- How to Run Multiple PHP Versions with Apache on Ubuntu 18.04 / 16.04
MySQL / phpMyAdmin
- How to Reset the MySQL Root Password on Ubuntu
- How to Manually Upgrade phpMyAdmin
- How to Back Up MySQL Databases with Linux Command Line and Automate with Cron
FTP / SFTP
- How to configure SFTP for a web server document root
- Installing an FTP server with vsftpd (Ubuntu 18.04)
- Installing an FTP server (vsftpd) on (Ubuntu 16.04 / 17.10)
- Where is the vsftpd log in Ubuntu?
- vsftpd configuration file location in Ubuntu (vsftpd.conf)
- Example vsftpd.conf configuration file with or without TLS support
- How to disable SFTP for an FTP user