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
#!/bin/bash | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | |
sudo apt update | |
sudo apt install docker-ce -y | |
sudo docker --version | |
sudo docker volume create portainer_data |
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
passwd | |
sudo nano /etc/ssh/sshd_config | |
PubkeyAuthentication no | |
PasswordAuthentication yes | |
ChallengeResponseAuthentication no | |
PermitRootLogin yes | |
sudo systemctl restart ssh |
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
sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* ~/.npm | |
sudo rm -rf /usr/local/lib/node* | |
sudo rm -rf /usr/local/bin/node* | |
sudo rm -rf /usr/local/include/node* | |
sudo apt-get purge nodejs npm | |
sudo apt autoremove | |
sudo apt-get install nodejs npm | |
sudo apt install -y npm | |
sudo npm install -g n | |
sudo n stable |
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
# note | |
# enp0s3 = match the label in the netplan ip configuration | |
sudo ufw allow in on enp0s3 to any port 4369 |
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
PHP-FPM Configuration (php-fpm.conf or www.conf): | |
location /etc/php/7.4/fpm/pool.d/www.conf | |
pm.max_children = 50 | |
pm.start_servers = 5 | |
pm.min_spare_servers = 5 | |
pm.max_spare_servers = 35 | |
pm.process_idle_timeout = 10s | |
pm.max_requests = 500 |
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
PHP Intelephense | |
Laravel Blade formatter | |
Laravel blade snippets | |
Laravel Extra Intellisense / Laravel intellisense | |
Laravel goto view | |
Laravel goto controller | |
Path Intellisense | |
Auto Rename Tag | |
Atom One Dark Theme | |
One Dark Pro |
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
Delete largon/data/mysql-8 | |
cd to laragon/bin/mysql8.0.0.x/bin folder via cmder (important for step 3) | |
run 'mysqld --initialize --console' (remember the password) | |
run 'start mysqld' | |
run 'mysql -u root -p' | |
put in the password from 3. | |
You are now in mysql shell and can remove the password again: "ALTER USER 'root'@'localhost' IDENTIFIED BY '';" | |
run 'exit' and ctrl + c the spawned tab from step 4. |
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
Auto Rename Tag | |
css peak | |
Git Graph | |
indent-rainbow | |
IntelliSense for CSS | |
Live Server | |
Bracket Pair Colorization Toggler | |
One Dark Pro | |
PHP Intelephense | |
Prettier - Code formatter |
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
dbcc checkdb (sirs) with no_infomsgs, all_errormsgs | |
https://learn.microsoft.com/en-us/sql/t-sql/database-console-commands/dbcc-checkdb-transact-sql?view=sql-server-ver16 |
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
https://whatsmychaincert.com/ | |
cek proses jika masih incorrect | |
klik generate chain lanjut ke update cert di server |
NewerOlder