sudo apt upgrate
Download .deb package and run:
sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb
Sync accounts
Copy old ssh keys in ~/.ssh dir and set:
chmod 700 ~/.ssh
chmod 644 ~/.ssh/config
chmod 600 ~/.ssh/id_rsa*
chmod 644 ~/.ssh/*.pub
or generate new keys (https://www.digitalocean.com/community/tutorials/ssh-ubuntu-18-04-ru):
ssh-keygen
sudo apt install htop
sudo apt install curl
sudo apt install wget
sudo apt install git
sudo apt install zsh
sudo apt install yadm
yadm clone git@github.com:fomvasss/dotfiles.git
chsh
Login Shell [/bin/bash]: /usr/bin/zsh
Set default zsh in your termanal
sudo dpkg -i ~/Downloads/virtualbox...
sudo dpkg -i ~/Downloads/vagrant...
https://laravel.com/docs/8.x/homestead#installation-and-setup
Run:
vagrant up
Install vagrant plugins:
vagrant plugin install vagrant-hostsupdater
- Backup All Databases
mysqldump -u homestead -psecret --all-databases > backup.sql - Restore All Databases
mysql -u homestead -psecret < backup.sql
- Backup files
tar -cvf App.tar ~/App - Restore files
tar -xvf App.tar -C ~/App
Download fonts (JetBrainsMono, FiraCode,...) to dir ~/.fonts:
Gnome Tweak Tools (https://help.ubuntu.ru/wiki/gnome-tweak-tool)
sudo apt-get install gnome-tweak-tool
Set: https://i.imgur.com/wC6c7GM.png
sudo apt-get install lm-sensors
sudo sensors-detect
Visit: https://extensions.gnome.org/ Find and install: Dash to Panel, Freon (by UshakovVasilii)
sudo apt-get install dconf-editor
sudo apt install snapd
sudo snap install opera
sudo snap install telegram-desktop
sudo snap install code --classic
sudo snap install sublime-text --classic
sudo snap install mysql-workbench-community
sudo snap install postman
sudo snap install vokoscreen-ng
sudo snap install vlc
sudo snap install youtube-dl
sudo snap install wallpaperdownloader
sudo snap install flameshot
(Add keyboard shortcuts: Shift+PrtSc => command: flameshot gui)
Install PhpStorm, activate and sync settings https://www.jetbrains.com/ru-ru/toolbox-app/
curl -fsSL https://fnm.vercel.app/install | bash
fnm install 12
fnm use 12
fnm default 12
Example use in projects:
npm i
npm run dev
npm i gulp@3.9.1
./node_modules/.bin/gulp build; ./node_modules/.bin/gulp test --noinline --nohtmlmin
...
-
SimpleScreenRecorder?
-
Vokoscreen (
sudo apt-get install vokoscreenof snap) -
Odio (radio)
-
Pencil (prototype)
-
Pinta (graphics editor)
-
Flameshot (printscreen)
-
XMind (snap)
-
Kdenlive (video editor)
-
KDE partition manager
-
Snap (
sudo apt install snapd) -
Opera
-
Chrome
-
Slac
-
Telegram
-
Tor
-
Transmission
-
Insomniya
-
Postman
-
GraphQLPlayground
-
VirtualBox
-
Vagrant
-
Homestead (+
vagrant plugin install vagrant-hostsupdater) -
PhpStorm
-
Sublime
-
VisualCode
-
MySqlWorkbanch
-
JatBrains Toolbox
sudo apt-get install gnome-tweak-tooll
sudo apt install dconf-tools
sudo apt install compizconfig-settings-manager compiz-plugins
gnome-tweak-toollhttp://compizomania.blogspot.com/2016/01/gnome-nautilus-318-ubuntu-1604.html
-
Freon
-
Dash to Panel
-
Bing Wallpaper
-
TopIcons Plus
-
Status Area Horizontal Spacing
-
MConnect
-
AlternateTab
-
User Themes
FNM - https://github.com/Schniz/fnm fnm install latest fnm default 14 Postman - https://gist.github.com/invinciblycool/ecc1c6e32b581b68932ac7452f4c911c GIT - sudo apt install git ZSH - sudo apt install zsh $ sudo apt install flameshot
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
/swapfile swap swap defaults 0 0 в файл /etc/fstab
Set for .ssh dir - 700, for keys files - 600 (chmod 775 /var/www/myfile) ssh-copy-id user@server
chmod 700 ~/.ssh
chmod 644 ~/.ssh/config
chmod 600 ~/.ssh/id_rsa*
chmod 644 ~/.ssh/*.pub
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/github_rsa
chmod 644 ~/.ssh/github_rsa.pub
chmod 600 ~/.ssh/mozilla_rsa
chmod 644 ~/.ssh/mozilla_rsa.pub
http://linuxway.ru/pervye-shagi/komanda-chmod-primery-ispolzovaniya/
sudo apt install git
sudo apt install composer ?-
https://www.leaseweb.com/labs/2013/08/git-tip-show-your-branch-name-on-the-linux-prompt/
-
https://www.tecmint.com/install-different-php-versions-in-ubuntu/
- https://github.com/YabataDesign/afterglow-theme
- https://losst.ru/ustanovka-sublime-text-3-ubuntu-16-04
- http://jetbrains.license.laucyun.com/
- https://confluence.jetbrains.com/display/PhpStorm/PHP+Code+Sniffer+in+PhpStorm , http://epages.su/blog/setting-php-code-sniffer-in-phpstorm-using-composer.html
- https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
- https://gist.github.com/rvegas/a596d2e2abd54784b919
vagrant box add laravel/homestead
vagrant plugin install vagrant-hostsupdater
Backup All Databases
mysqldump -u homestead -psecret --all-databases > homestead-20150727_0913.sql
Restore All Databases
mysql -u homestead -psecret < homestead-20150727_0913.sql
https://linuxhint.com/install_zsh_shell_ubuntu_1804/
Установить оболочку (https://github.com/robbyrussell/oh-my-zsh):
sudo apt-get install zshТеперь установим фреймворк Oh My ZSH!
1 способ:
curl -L http://install.ohmyz.sh | sh2 способ:
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zshуказать системе какую именно обложку нужно использовать
chsh -s /bin/zshРебут компа:
sudo shutdown -r 0Note: many themes require installing the Powerline Fonts in order to render properly (https://github.com/robbyrussell/oh-my-zsh).
sudo apt-get install fonts-powerlineTo use a different theme, simply change the value to match the name of your desired theme. For example: ZSH_THEME="agnoster" # (this is one of the fancy ones) see https://github.com/robbyrussell/oh-my-zsh/wiki/Themes#agnoster