This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lvresize --extents +100%FREE --resizefs /dev/ubuntu-vg/ubuntu-lv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restart-Service LxssManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service nginx start | |
service docker start | |
service redis-server start | |
service postgresql start | |
service mysql start | |
service php8.0-fpm start | |
docker run --rm -it -d -p 4000:80 -p 2525:25 rnwood/smtp4dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# htaccess rules for subdomains and aliases | |
# to create new subdomain, create a folder www/subdom/(subdomain name) | |
# to create web for alias, create a folder www/domains/(whole domain name) | |
# htaccess pravidla pro subdomeny a samostatne weby aliasu | |
# pro vytvoreni subdomeny vytvorte adresar www/subdom/(nazev subdomeny) | |
# pro vytvoreni webu pro alias vytvorte adresar www/domains/(cely domenovy nazev) | |
# dalsi info a priklady: http://kb.wedos.com/r/32/webhosting-htaccess.html | |
#Options -MultiViews |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ./ ! -path "./versions/*" -type f -exec chmod 664 {} \; | |
find ./ -type d -exec chmod 00775 {} \; | |
pm2 start pm2.config.js --env development --watch | |
pm2 stop pm2.config.js --env development --watch | |
[HOST]/ghost/signup/[TOKEN]/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/src/netdata.git && git fetch --all && git reset --hard origin/master && git pull && ./netdata-updater.sh -f | |
sudo sh -c 'cd /usr/src/netdata.git && git fetch --all && git reset --hard origin/master && ./netdata-updater.sh -f' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm i -g yarn webpack gulp-cli gulp grunt-cli grunt npm-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service nginx stop && certbot renew ; service nginx start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
certbot register --update-registration --email your@mail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RMAGICK | |
https://medium.com/ruby-on-rails-web-application-development/install-rmagick-gem-on-windows-7-8-10-imagemagick-6-9-4-q16-hdri-5492c3fef202 | |
gem install rmagick --platform=ruby -- --with-opt-lib="C:/Host/opt/ImageMagick/6.9.9-Q16-HDRI/lib" --with-opt-include="C:/Host/opt/ImageMagick/6.9.9-Q16-HDRI/include" | |
gem install rmagick --platform=ruby -- --with-opt-lib="C:/Host/opt/ImageMagick-6.9.10-Q16-HDRI/lib" --with-opt-include="C:/Host/opt/ImageMagick-6.9.10-Q16-HDRI/include" | |
# CURB | |
gem install curb --version 0.7.18 --platform=ruby -- -- --with-curl-lib="C:/Host/opt/curl/bin" --with-curl-include=" C:/Host/opt/curl/include" |
NewerOlder