desktop 版本ubuntu默认安装配置

2018年3月19日12:41:27 发表评论 1,465 views
广告也精彩

desktop 版本ubuntu默认安装配置

# apt 国内源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.orig
sudo sed -i "s/[a-z0-9\.]*.ubuntu.com/mirrors.cn99.com/g" /etc/apt/sources.list 

# sudo用户免passwd(可选)
#sudo visudo -f /etc/sudoers.d/custom-users
#sudo sh -c 'echo "xxx  ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/custom-users'

# 常用工具,安装代理
sudo apt install vim curl pv jq htop mc proxychains ifupdown byobu
sudo sed -i "s/socks4 \t127.0.0.1 9050/socks5 58.132.170.53 57073/g" /etc/proxychains.conf 
#sudo sed -i "s/socks4 \t127.0.0.1 9050/socks5 124.193.118.116 57108/g" /etc/proxychains.conf 

# 安装SSH服务
sudo apt install openssh-server openssh-sftp-server

# 安装chrome
# 注意第一次安装chromium,安装Proxy SwitchyOmega时
# 命令行下 proxychains chromium-browser 打开软件才行
#    配置代理socks5[58.132.170.53:57070, 58.132.170.53:57108]
#    默认搜索引擎设为google
sudo apt install chromium-browser chromium-codecs-ffmpeg 

# 安装多窗口终端
sudo apt install terminator

# 虚拟机安装(kvm用,物理机不用执行)
sudo apt install qemu-guest-agent

# 安装 vscode
#    安装扩展
#    a. markdown preview enhanced
#    b. markdown table formatter
#    配置编辑器字体为 'Noto Sans Mono CJK SC' 仅此一个字体
#    安装其他工具,主要是PhantomJS的pdf渲染等
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code # or code-insiders

# 安装classicmenu和gdebi-core
# 桌面找应用的软件类windows下开始菜单,比ubuntu的好用
sudo apt-get install classicmenu-indicator
sudo apt-get install gdebi-core

# 安装Beyond Compare 4
cd ~/soft
wget http://file.splcinema.com/soft/bcompare/bcompare-4.2.6.23150_amd64.deb
# or
wget https://www.scootersoftware.com/bcompare-4.2.6.23150_amd64.deb

sudo apt-get update
sudo apt-get install gdebi-core
sudo gdebi bcompare-4.2.6.23150_amd64.deb

# or

sudo apt install libxml2-utils
BCOMPARE_FILE=$(wget -O - https://www.scootersoftware.com/download.php -q | xmllint --format --html --xpath '//*[@id="content"]/div/form/div[4]/p[1]/a/@href' - | awk -F= '{print $2}' | tr -d '"' | tr -d '/')
wget https://www.scootersoftware.com/$BCOMPARE_FILE
sudo gdebi $BCOMPARE_FILE

# 破解
sudo sed -i "s/keexjEP3t4Mue23hrnuPtY4TdcsqNiJL-5174TsUdLmJSIXKfG2NGPwBL6vnRPddT7tH29qpkneX63DO9ECSPE9rzY1zhThHERg8lHM9IBFT+rVuiY823aQJuqzxCKIE1bcDqM4wgW01FH6oCBP1G4ub01xmb4BGSUG6ZrjxWHJyNLyIlGvOhoY2HAYzEtzYGwxFZn2JZ66o4RONkXjX0DF9EzsdUef3UAS+JQ+fCYReLawdjEe6tXCv88GKaaPKWxCeaUL9PejICQgRQOLGOZtZQkLgAelrOtehxz5ANOOqCaJgy2mJLQVLM5SJ9Dli909c5ybvEhVmIC0dc9dWH+/N9KmiLVlKMU7RJqnE+WXEEPI1SgglmfmLc1yVH7dqBb9ehOoKG9UE+HAE1YvH1XX2XVGeEqYUY-Tsk7YBTz0WpSpoYyPgx6Iki5KLtQ5G-aKP9eysnkuOAkrvHU8bLbGtZteGwJarev03PhfCioJL4OSqsmQGEvDbHFEbNl1qJtdwEriR+VNZts9vNNLk7UGfeNwIiqpxjk4Mn09nmSd8FhM4ifvcaIbNCRoMPGl6KU12iseSe+w+1kFsLhX+OhQM8WXcWV10cGqBzQE9OqOLUcg9n0krrR3KrohstS9smTwEx9olyLYppvC0p5i7dAx2deWvM1ZxKNs0BvcXGukR+/g" /usr/lib/beyondcompare/BCompare

# 证书,需要图形界面下操作注册
cat << EOF >bcompare.lic
--- BEGIN LICENSE KEY ---
elDqpGNn-NC03Dd0EySEESX1WMYF2vvXeUP0gHaJpCawrzXkc4c6qOAN6WmqOrz+fiFttlck3Q6PRqMSObKfaMWgOsG4vyousWavXpTWaaVQaiBvCMWL0c22ySnprd1202RAwYQ2d+gUbMk6i2HxDA165SyxwIPEq6St+a0OQ9Q4biFHqXGAiQK7oPLdG+98yboKsIu8VhtQbnlQTQJgjMCdmv82Yz30zZvTuWqd1UVsGyyx1YTskk1Asp6CDLw7i0JJ0JGRa8LrUrFFOLFvomGNNgcNFYhTuFq8H8ARELspOjtLvGTXHKTPwXkfHs4tLrJuXT-X8EtTAPEZqcuWHU++
--- END LICENSE KEY -----
EOF

# 安装 securecrt-securefx
cd ~/soft
wget http://file.splcinema.com/soft/scrt-sfx/scrt-sfx-8.3.4-1699.ubuntu16-64.x86_64.deb

# 破解 SecureCRT
sudo perl -pi -e 's/\x6E\x53\x3E\x40\x6A\x45\xF0\xB6\x37\x2F\x3E\xA1\x07\x17\x00\x0C\x71\x20\x12\x7C\xD9\x15\xCE\xF8\xED\x1A\x3F\x2C\x5B/\x78\x57\x82\x39\x1A\xD0\xB9\x16\x9F\x17\x41\x5D\xD3\x5F\x00\x27\x90\x17\x52\x04\xE3\xAA\x65\xEA\x10\xCF\xF2\x08\x18/' /usr/bin/SecureCRT

# 注册信息,需要图形界面下操作注册
cat << EOF >scrt.lic
Name:           davidgxj
Company:        seatry
Serial Number:  03-39-397558
License Key:    AB6P7N 3SV6X4 33SPXR QK4TJJ ACG8VC 1QE1JM XRKC4V ZBBASF
Issue Date:     01-31-2017
EOF

# 破解 SecureFX
sudo perl -pi -e 's/\xC8\x47\xAB\xCA\x18\x4A\x6C\x5D\xFA\x47\xDC\x8E\xFC\xD7\x00\x01\x9D\xC9\xDF\x37\x43\xC6\x40\xF5\x0B\xE3\x07\x33\x4F\xEA/\xE0\x29\x54\xA7\x1C\xCA\x59\x2C\x85\x5C\x91\xEC\xD4\x17\x00\x01\xD6\xC6\x06\xD3\x83\x19\xCB\xB0\xDE\xAB\xEB\xB0\x51\x26/' /usr/bin/SecureFX

# 注册信息,需要图形界面下操作注册
cat << EOF >sfx.lic
Name:           davidgxj
Company:        seatry
Serial Number:  06-70-000386
License Key:    ACUYJV Q1V2QU 1YWRCN NBYCYK ADBJVD NZSGUX 17B6ZY NX1MZX
Issue Date:     01-31-2017
EOF

# 安装teamviewer
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
sudo gdebi teamviewer_amd64.deb

# 设置任务条到桌面底部
sudo apt install gnome-tweak-tool
sudo apt install unity-tweak-tool

# 窗口任务栏状态栏恢复
#https://blog.csdn.net/qq_26941173/article/details/78748055


# 交叉编译,源码编译必须用的工具和包
sudo apt-get install build-essential autogen libtool automake 
# mips gcc 交叉编译环境依赖
sudo apt-get install lsb-core 

# google拼音
sudo apt-get install fcitx-googlepinyin

# sogou拼音
wget http://cdn2.ime.sogou.com/dl/index/1524572264/sogoupinyin_2.2.0.0108_amd64.deb?st=OCNp87AYEQIGlfr_hTY5nA&e=1546404647&fn=sogoupinyin_2.2.0.0108_amd64.deb
sudo gdebi sogoupinyin_2.2.0.0108_amd64.deb


# wechat
## http://ubuntuhandbook.org/index.php/2017/07/install-wechat-desktop-app-ubuntu-16-04-higher/
sudo apt install snapd snapd-xdg-open
sudo snap install electronic-wechat
# wget https://github.com/geeeeeeeeek/electronic-wechat/releases/download/V2.0/linux-x64.tar.gz
  • QQ精品交流群
  • weinxin
  • 微信公众号
  • weinxin
广告也精彩
admin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: