Ubuntu20.04配置笔记

将中文目录改为英文:

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

环境变量

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

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

# 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.1
export 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.1
export 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 &'

软件

常用工具

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 tree;
sudo apt install -y curl;
sudo apt install -y aria2;
sudo apt install -y whois;
sudo apt install -y lrzsz;
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 goldendict;
# 文本版本差异对比,合并工具 可视化的diff和merge 工具
sudo apt install -y meld;
# 开源多媒体播放器, 感觉比VLC稳定。
sudo apt install -y smplayer;
sudo apt install -y qbittorrent;
# 密码管理器
sudo apt install -y keepassxc;
# 深度截图,功能强大。 配合系统默认的带有延时截图的screenshot更佳。
sudo apt install -y deepin-screenshot;
# 深度桌面取色器
sudo apt install -y deepin-picker;
sudo apt install -y deepin-terminal;
# 通过管道监控数据进度
sudo apt install -y pv;
sudo apt install -y neofetch;
'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 检查是否存在SSH秘钥
ls -al ~/.ssh
# 生成ssh-key 密钥对
ssh-keygen -t rsa -C "[email protected]"

# 将SSH key添加到ssh-agent:
ssh-add ~/.ssh/id_rsa

# 启用ssh
sudo apt update
sudo apt install openssh-server
sudo systemctl status ssh
# 禁用
sudo systemctl disable --now ssh

# 重启
sudo systemctl enable --now ssh

实用工具

Visual Studio Code

CherryTree
功能强大的树形笔记工具

DBeaver
通用数据库管理

Peek
超级好用的屏幕GIF动画录制器

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

KRDC
好用的远程桌面客户端

GIMP
功能强大的图像处理和绘画软件

Syncthing
多台设备双向文件同步工具

VirtualBox
虚拟机

Motrix
多功能下载器
特性: Async DNS BitTorrent Firefox3 Cookie GZip HTTPS Message Digest Metalink XML-RPC SFTP

balenaEtcher
镜像写入工具
支持的映像格式包括:img、iso、zip、bz2、dsk、etch、gz、hddimg、raw、xz等;

calibre
电子书管理工具

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

永中Office

robo3t

趣味软件

sonic-pi
通过编码的音乐合成器

figlet

neofetch
neofetch.png

文章作者: Spaceack
文章链接: http://spaceack.com/2020/05/01/2020-05-01-Ubuntu20.04%E9%85%8D%E7%BD%AE%E7%AC%94%E8%AE%B0/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 丸子家的小云吞
支付宝打赏
微信打赏