ls /usr/bin/python*
sudo apt-get remove python3.5
sudo apt-get remove --auto-remove python3.5
sudo apt-get purge python3.5
First Do this ... | |
git fetch origin master | |
git merge master | |
Then, do this ... | |
git fetch origin master:tmp | |
git rebase tmp | |
git push origin HEAD:master |
#!/usr/bin/env bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
TIMESTAMP=`date +"%Y-%m-%d-%T"` | |
BACKUP_DIR="${DIR}/${TIMESTAMP}" | |
APPDATA_DIR="${DIR}/../appdata" | |
MYSQL_USER="root" | |
MYSQL_PASSWORD="abc123" | |
MYSQL_DB="nextcloud_db" |
FATAL: Listen error: unable to monitor directories for changes. | |
Visit https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for info on how to fix this. | |
Solved: | |
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
<IfModule mod_rewrite.c> | |
<IfModule mod_negotiation.c> | |
Options -MultiViews | |
</IfModule> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} -d [OR] | |
RewriteCond %{REQUEST_FILENAME} -f | |
RewriteRule ^ ^$1 [N] |
#Update system & reboot | |
sudo apt update && sudo apt -y upgrade | |
sudo reboot | |
#Install Asterisk 16 LTS dependencies | |
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev | |
#Add universe repository and install subversio | |
sudo add-apt-repository universe | |
sudo apt update && sudo apt -y install subversion |
LEMP is the new LAMP. If you were an Apache user like most of us, simply follow this guide to easily deploy and learn develop to develop on Nginx.
Be sure that you are already running Linux be it Ubuntu, CentOS or RHEL. However, this guide will demonstrate installation guide for Ubuntu Server 14.04 LTS.
version: '3' | |
services: | |
bitwarden: | |
image: vaultwarden/server:latest | |
container_name: vaultwarden | |
restart: always | |
environment: | |
- WEBSOCKET_ENABLED=true | |
- SIGNUPS_ALLOWED=false |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user