$ mysqldump -u user -p database --opt | gzip > database.sql.gz$ mysqldump -uroot --opt --databases DB_NAME --tables TABLE_NAME | gzip > /tmp/TABLE_NAME.export.sql.gz| if [[ ! -d ~/.zplug ]];then | |
| git clone https://github.com/zplug/zplug ~/.zplug | |
| fi | |
| source ~/.zplug/init.zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "plugins/sudo", from:oh-my-zsh | |
| zplug "plugins/command-not-found", from:oh-my-zsh | |
| zplug "zsh-users/zsh-syntax-highlighting" | |
| zplug "zsh-users/zsh-history-substring-search" |
| # Change to the project directory | |
| cd /home/forge/domain.com | |
| # Turn on maintenance mode | |
| php artisan down || true | |
| # Pull the latest changes from the git repository | |
| # git reset --hard | |
| # git clean -df | |
| git pull origin master |
| version: "3" | |
| services: | |
| phpmyadmin: | |
| image: "phpmyadmin:5" | |
| ports: | |
| - "${FORWARD_PHPMYADMIN_PORT:-8001}:80" | |
| environment: | |
| PMA_HOST: "mysql" | |
| UPLOAD_LIMIT: '400M' | |
| PMA_USER: "${DB_USERNAME}" |
| #stop all containers: | |
| docker kill $(docker ps -q) | |
| #remove all containers | |
| docker rm $(docker ps -a -q) | |
| #remove all docker images | |
| docker rmi $(docker images -q) | |
| #remove intermediate containers, use "build --rm" to avoid them |
| fileName | Quah-D-2020.06-Pulse-Secure-Client-on-Ubuntu-Linux.md |
|---|---|
| Type | Notes |
| Tags | Software |
| output | pdf_document |
| title | Pulse Secure Client on Ubuntu Linux |