sudo apt install mysql-server php7.2-common php7.2-cli php7.2-fpm php7.2-bcmath php7.2-curl php7.2-gd php7.2-mbstring php7.2-mysql
- Create document root folders
mkdir -p /var/www/example.com/htdocs
mkdir -p /var/www/example.com/logs
$ ssh root@<ip_of_droplet>
$ adduser
cd ~/src | |
wget -O keychain-2.8.5.tar.gz https://github.com/funtoo/keychain/archive/2.8.5.tar.gz | |
tar xzvf keychain-2.8.5.tar.gz | |
cd keychain-2.8.5/ | |
make clean && make | |
cp keychain ~/.local/bin/ | |
echo "export PATH="$HOME/.local/bin:$PATH" >> ~/.bashrc | |
. ~/.bashrc |
I hereby claim:
To claim this, I am signing this object:
# change ext to source file extension | |
# change -t argument to expand to number of spaces | |
find . -name '*.ext' ! -type d -exec bash -c 'unexpand --first-only -t 4 "$0" >/tmp/ex && mv /tmp/ex "$0"' {} \; |
# change ext to source file extension | |
# change -t argument to expand to number of spaces | |
find . -name '*.ext' ! -type d -exec bash -c 'expand -i -t 2 "$0" >/tmp/ex && mv /tmp/ex "$0"' {} \; |
# | |
# Original version by Grant Parnell is offline (http://digitaldj.net/2011/07/21/trim-enabler-for-lion/) | |
# Update July 2014: no longer offline, see https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/ | |
# | |
# Looks for "Apple" string in HD kext, changes it to a wildcard match for anything | |
# | |
# Alternative to http://www.groths.org/trim-enabler-3-0-released/ | |
# Method behind this madness described: http://forums.macrumors.com/showthread.php?t=1409151&page=4 | |
# See discussion in comments here: https://www.macupdate.com/app/mac/39654/lion-tweaks | |
# And here: http://forums.macrumors.com/showthread.php?t=1410459 |