SSH Server

sudo apt-get install net-tools
sudo apt-get install openssh-server
一般就起来了,如果没有起来,我们通过下面命令起来
sudo /etc/init.d/ssh resart

Git

sudo apt install git

docker

#安装curl
sudo apt install curl
#安装docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
####sudo usermod -aG docker yypan
sudo systemctl start docker
#试一下是否能运行docker
sudo docker run hello-world

phabricator client tools

sudo apt install php7.2-cli php7.2-curl
cd
mkdir tool
cd tool
git clone https://github.com/phacility/libphutil.git
git clone https://github.com/phacility/arcanist.git

vim /etc/profile
PATH=$PATH:/home/[yourname]/tool/arcanist/bin/

arc set-config default http://[phabricator server web]
arc install-certificate


配置ssh key
$ ssh-keygen -t rsa -C "[yourname]@yuansuan.cn"     ##[yourname] 替换为你的名称
按3个回车,密码为空。

windows在目录下找:C:\Users\Think\.ssh, Linux 下会提示你存放的位置

然后根据提示连续回车即可在~/.ssh目录下得到id_rsa和id_rsa.pub两个文件,id_rsa.pub文件里存放的就是我们要使用的key。

打开密钥管理界面
http://[phabricator server web]/settings/user/[yourname]/page/ssh/    ##[yourname] 替换为你的名称
将新的密钥添加系统中

install scim-pinying

sudo apt-get install scim-pinyin

install gl and x11

sudo apt-get install libgl1-mesa-dev 
sudo apt-get install libx11-dev

chromium proxy

/usr/bin/chromium %U -proxy-server="127.0.0.1:7890"

install qt5

//debian
sudo apt-get install qt5-default
sudo apt-get install qt-sdk
sudo apt-get install qtcreator

or 
//centos
yum install qt5-qtbase-devel
yum install mesa-libGL-devel
yum install mesa-libGLU-devel
yum install libXt-devel

install notepadqq

sudo apt install notepadqq

git pull 保存密码

Git可以将用户名,密码和仓库链接保存在硬盘中,而不用在每次push的时候都输入密码。

$ cd 到仓库目录
$ git config credential.helper store

编译深度dtk

sudo apt-get install debhelper pkg-config qttools5-dev-tools qtbase5-private-dev libgsettings-qt-dev
git clone https://github.com/linuxdeepin/dtkcore.git
$ mkdir build
$ cd build
$ qmake ..
$ make
sudo make install


sudo apt-get install pkg-config libudev-dev qtmultimedia5-dev libqt5x11extras5-dev libxext-dev qttools5-dev-tools x11proto-xext-dev libxcb-util0-dev libstartup-notification0-dev libmtdev-dev qtbase5-private-dev libegl1-mesa-dev libudev-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev libxrender-dev libdtkcore-dev libgsettings-qt-dev librsvg2-dev libdframeworkdbus-dev libqt5svg5-dev
https://github.com/linuxdeepin/dtkgui.git
$ mkdir build
$ cd build
$ qmake ..
$ make
sudo make install

https://github.com/linuxdeepin/dtkwidget.git
$ mkdir build
$ cd build
$ qmake ..
$ make
发现错误:../../src/widgets/daboutdialog.cpp:176:26: error: ‘distributionOrgLogo’ is not a member of ‘Dtk::Core::DSysInfo’
C++实在难搞