Skip to content

Instantly share code, notes, and snippets.

sudo apt update -y && sudo apt upgrade -y && sudo snap refresh && sudo apt autoremove -y
sudo apt install nginx zip mysql-server software-properties-common
sudo ufw allow 'Nginx HTTP'
//add key to github
ssh-keygen -t rsa -b 4096
cat ~/.ssh/id_rsa.pub
sudo add-apt-repository ppa:ondrej/php
sudo apt -y install php7.4 php7.4-xml php7.4-dom php7.4-intl php7.4-fpm php7.4-mysql
https://scr.online.sberbank.ru/api/fl/idgib-w-3ds
https://3dsec.sberbank.ru/mportal3/auth/login
https://acs1.sbrf.ru
https://acs2.sbrf.ru
https://acs3.sbrf.ru
https://acs4.sbrf.ru
https://acs5.sbrf.ru
https://acs6.sbrf.ru
https://acs7.sbrf.ru
https://acs8.sbrf.ru
@zabidok
zabidok / jb_install_update.sh
Last active March 26, 2021 22:04
Install or update jetbrains products like PhpStorm, WebStorm, IntelliJ Idea, PyCharm, CLion, ReSharper on Ubuntu and fix problems with non latin hotkeys in gui java application
#!/bin/bash
# installation jetbrains
j_url="https://data.services.jetbrains.com/products/download"
tmp_dir="$HOME/tmp_jb"
install_dir="/opt"
if [ "$(whoami)" != "root" ]
then
echo "Sorry, you are not root."
exit 1
fi