What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-20 04:55:11
Start / Restart / Stop Nginx Commands
sudo systemctl start nginx sudo systemctl stop nginx sudo systemctl restart nginx sudo service nginx start sudo service nginx stop sudo service nginx restart sudo /etc/init.d/nginx start sudo /etc/init.d/nginx stop sudo /etc/init.d/nginx restart Add solution -
Shell/Bash 2021-11-14 06:17:10
Maximum upload file size: 2 MB
Step 1: find php.ini file in /etc folder by running below cmd: grep -rl "post_max_size" | xargs ls -lrth Here I have used post_max_size keyword to search php.ini file as might be we have to change the same on other file , It can vary ... Add solution -
Javascript 2021-10-20 09:08:10
missing expression after unary operator '--'
#cloud-config package_upgrade: true packages: - nginx write_files: - owner: www-data:www-data - path: /var/www/html/index.html content: | Hello world from Virtual Machine Scale Set ! runcmd: - service nginx restart Add solution -
Shell/Bash 2021-09-21 15:56:03
nginx: invalid option: "restart"
/etc/init.d/nginx restart Add solution -
-
Best helpers
Ranking is empty