Ubuntu20.04 configuration notes

Change the Chinese directory to English:

# debian/Ubuntu
export LANG=en_US
xdg-user-dirs-gtk-update
export LANG=zh_CN

Environment variables##


# node env
export PATH=$PATH:/opt/node/bin

# npm global env 
export PATH=~/.npm-global/bin:$PATH

# env jdk
JAVA_HOME=/opt/jdk
CLASSPATH=.:$JAVA_HOME/lib.tools.jar
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME CLASSPATH PATH

# env golang
export PATH=$PATH:/opt/go/bin

# redis env
export REDIS_HOME=/opt/redis
export PATH=$PATH:$REDIS_HOME/src

# hadoop 3.1.1 env
export HADOOP_HOME=/opt/hadoop-3.1.1export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin

# hadoop 2.8.5 env
# export HADOOP_HOME=/opt/hadoop-2.8.5
# export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin

# hbase env
export HBASE_HOME=/opt/hbase-2.1.1export PATH=$PATH:$HBASE_HOME/bin

# mongodb
export PATH=/opt/mongodb/bin:$PATH

# RUST env
export PATH="$HOME/.cargo/bin:$PATH"

# android env
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/emulator

# QT env
export QTDIR=/opt/Qt/5.11.0/gcc_64/export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${QTDIR}/lib
export PATH=${QTDIR}/bin:${PATH}

alias postman='cd /opt/Postman/ && ./Postman'
alias datagrip='/opt/Datagrip/bin/datagrip.sh'
alias pycham='/opt/pycharm/bin/pycharm.sh'
alias idea='/opt/idea/bin/idea.sh'
alias webstorm='/opt/pycharm/bin/webstorm.sh'
alias spoon='sh /opt/di/spoon.sh'
alias elasticsearch='/opt/elasticsearch/bin/elasticsearch'
alias kibana='/opt/kibana/bin/kibana'
alias spoon='cd /opt/data-integration/ && ./spoon.sh'
alias robo3t='cd /opt/robo3t/bin/ && ./robo3t &'
alias justmd='cd /opt/justmd/ && ./justmd &'

software##

Common tools###

sudo -- sh -c '
sudo apt update
sudo apt upgrade

sudo apt install -y cmake;
sudo apt install -y git;
sudo apt install -y vim;
sudo apt install -y htop;
sudo apt install -y glances;
sudo apt install -y tree;
sudo apt install -y curl;
sudo apt install -y aria2;
sudo apt install -y whois;
sudo apt install -y unrar;
sudo apt install -y lrzsz;
sudo apt install -y synaptic;
sudo apt install -y python3-distutils;
sudo apt-get install -y libmysqlclient-dev;
sudo apt install  -y python3-pip;
sudo apt install -y zlib1g-dev;
sudo apt install -y virtualenv;
sudo apt install -y nginx;
sudo apt install -y supervisor;
sudo apt install -y nmap;
# rime input method
sudo apt-get install ibus-rime
# Powerful dictionary, need to configure third-party dictionary resources
sudo apt install -y goldendict;
sudo apt install pandoc;
# Comparison of text version differences, diff and merge tools visualized by the merge tool
sudo apt install -y meld;
# Remote Desktop Client
sudo apt install -y remmina;
# VCN client
sudo apt install -y krdc;
# Open source multimedia player, feels more stable than VLC.
sudo apt install -y smplayer;
sudo apt install -y qbittorrent;
# Password manager
sudo apt install -y keepassxc;
# Deepin screenshots, powerful functions. It is better to cooperate with the default screenshot with a time-lapse screenshot.
sudo apt install -y deepin-screenshot;
# Deepin Desktop Color Picker
sudo apt install -y deepin-picker;
sudo apt install -y deepin-terminal;
# Monitor data progress through pipelines
sudo apt install -y pv;
sudo apt install -y neofetch;
# The clock shows seconds, set.
sudo apt-get install -y gnome-tweaks;
'
# Check if there is an SSH key
ls -al ~/.ssh
# Generate ssh-key key pair
ssh-keygen -t rsa -C "[email protected]"

# Add SSH key to ssh-agent:
ssh-add ~/.ssh/id_rsa

# Enable ssh
sudo apt update
sudo apt install openssh-server
sudo systemctl status ssh
# Disable
sudo systemctl disable --now ssh

# Reboot
sudo systemctl enable --now ssh

npm non-root global installation permissions

Utilities###

rime input method

F4 Switch input scheme

sudo apt-get install ibus-rime
ibus restart
ibus engine rime

Visual Studio Code

CherryTree
Powerful tree-shaped note tool

VNote
Powerful Vim and MarkDown note taking tools

DBeaver
General database management

RDM
Open source Redis ® management tool
sudo snap install redis-desktop-manager

Zeal
( Offline document browser)[https://zealdocs.org/]

sudo add-apt-repository ppa:zeal-developers/ppa
sudo apt-get update
sudo apt-get install zeal

OBS(Open Broadcaster Software)
Open source video recording and live broadcast software

sudo apt install ffmpeg
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt update
sudo apt install obs-studio

Peek
Super easy to use screen GIF animation recorder

sudo add-apt-repository ppa:peek-developers/stable
sudo apt-get update
sudo apt-get install peek

yEd
Draw flowchart download

KRDC
Easy to use remote desktop client

GIMP
Powerful image processing and painting software

Syncthing
Two-way file synchronization tool for multiple devices

VirtualBox
virtual machine

Motrix
Multi-function downloader
Features: Async DNS BitTorrent Firefox3 Cookie GZip HTTPS Message Digest Metalink XML-RPC SFTP

balenaEtcher
Mirror writing tool
The supported image formats include: img, iso, zip, bz2, dsk, etch, gz, hddimg, raw, xz, etc.;

calibre
E-book management tool

sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin

Yongzhong Office

robo3t

OmegaTOpen source computer-aided translation software

Display Chinese under linux character terminal tty

sudo apt-get install fbterm -y
sudo gpasswd -a $USER video 
sudo chmod u+s /usr/bin/fbterm

Fun Software###

sonic-pi
Music synthesizer through encoding

figlet

neofetch

Recommended Posts

Ubuntu20.04 configuration notes
ubuntu 18.04 early configuration
Ubuntu use notes
Ubuntu nfs configuration
Ubuntu 14.04 configuration record
ubuntu configuration python, Red
Ubuntu16.04 common command notes
Ubuntu configuration development environment
Ubuntu uses PlayOnLinux notes
Ubuntu 18.04 network card configuration
Ubuntu development environment configuration
Network configuration under Ubuntu
Ubuntu Linux study notes
023. Ubuntu common personalized configuration
Ubuntu16.04 installation and simple configuration
Ubuntu16.04 install SVN and configuration
Ubuntu PostgreSQL installation and configuration
Ubuntu environment variables and ADB configuration
Ubuntu 20.04 best configuration guide for engineers
Ubuntu 20.04 best configuration guide for engineers
Ubuntu 18.04 install Sogou input method notes
Ubuntu16.04 configuration OpenCV3.4.2 and basic use
Ubuntu 19.1 installation and configuration Chinese environment
Configuration and beautification after Ubuntu installation (1)
Nginx installation and configuration load (ubuntu12.04)
Ubuntu configuration source and installation software
Docker CE for Ubuntu installation notes
Ubuntu installation and deployment Redash operation notes (2020.08)
Python notes
Ubuntu software
Ubuntu17.04 configuration method to replace domestic sources
Ubuntu install PHP and PHP Nginx configuration method
Linux (ubuntu 12.04)
Ubuntu 18.04 LTS configuration network tutorial through Netplan
DLNA/UPnP Server installation and configuration under Ubuntu 12.04
Debian and Ubuntu installation source configuration file description
Kaldi installation and configuration graphic tutorials under Ubuntu
Basic configuration and common software installation after ubuntu 18.04 installation
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
Install Leanote on Ubuntu18 to build cloud notes