Skip to content

dustinnewman/one_liners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Sysadmin One-Liners

A list of handy sysadmin one-liners.

Interactive Ubuntu Image

docker run -it ubuntu

Quick Nginx

docker run -p 8080:80 nginx

Setup SSL on Ubuntu/Nginx

Site must be configured on registry already and Nginx must be configured to run the site.

snap install core
snap refresh core
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
certbot --nginx
# Answer questions

Use rsync with sudo privileges but still require password

rsync -aP <src_file> <remote_user>@<remote_ip>:<root_file_path> --rsync-path="sudo rsync"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published