domain=<your domain> sudo mkdir -p /var/www/$domain/html sudo chown -R $USER:$USER /var/www/$domain sudo chmod -R 755 /var/www/$domain sudo nano /var/www/$domain/html/index.html <html>...
VINAGHOST's personal blog
CancelSetup SSL for Nginx using CertBot
List all services in systemctl
systemctl list-unit-files | grep <condition>
Check which service is using port
lsof -i:port -S
Add & remove service to systemd
Add service chmod +x <executabe file> service_name=<service> cd /etc/systemd/system sudo nano $service_name [Unit] Description=<description about this service> [Service] ExecS...
Create docker-compose from docker run command
Say goodbye to sprawling docker commands and say hello to docker-compose up :) https://www.composerize.com/
Recently Updated