This file contains hidden or 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
| @echo off | |
| :: please change file path according to your installed path | |
| SET PHPStormPath=C:\Program Files\JetBrains\PhpStorm 2018.1.2\bin\phpstorm64.exe | |
| echo Adding file entries | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\PHPStorm" /t REG_SZ /v "" /d "Open with PHPStorm" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\PHPStorm" /t REG_EXPAND_SZ /v "Icon" /d "%PHPStormPath%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\PHPStorm\command" /t REG_SZ /v "" /d "%PHPStormPath% \"%%1\"" /f | |
This file contains hidden or 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
| Install Nginx | |
| 1- sudo apt-get update | |
| 2- sudo apt-get install nginx | |
| 3- systemctl status nginx (optional) | |
| 4- sudo systemctl start nginx |
This file contains hidden or 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
| # =================== YOUR DATA ======================== | |
| SERVER_NAME="some-server-name" | |
| SERVER_IP="111.111.11.11" | |
| USER="someuser" | |
| SUDO_PASSWORD="secret-password-one" | |
| MYSQL_ROOT_PASSWORD="secret-password-two" |