sudo su
echo "nameserver 8.8.8.8" >> /etc/resolvconf/resolv.conf.d/base
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
#当前用户代理
cat << EOF >> ~/.bashrc
export ftp_proxy=http://192.168.*.*:端口号
export http_proxy=http://192.168.*.*:端口号
export https_proxy=http://192.168.*.*:端口号
export all_proxy=http://192.168.*.*:端口号
export no_proxy=localhost,127.0.0.1,.baidu.net
EOF
#root用户代理
sudo su -
cat << EOF >> ~/.bashrc
export ftp_proxy=http://192.168.*.*:端口号
export http_proxy=http://192.168.*.*:端口号
export https_proxy=http://192.168.*.*:端口号
export all_proxy=http://192.168.*.*:端口号
export no_proxy=localhost,127.0.0.1,.baidu.net
EOF
#图形客户端代理
gsettings set org.gnome.system.proxy mode "manual"
gsettings set org.gnome.system.proxy.http host "192.168.*.*"
gsettings set org.gnome.system.proxy.http port "端口号"
gsettings set org.gnome.system.proxy.https host "192.168.*.*"
gsettings set org.gnome.system.proxy.https port "端口号"
gsettings set org.gnome.system.proxy.ftp host "192.168.*.*"
gsettings set org.gnome.system.proxy.ftp port "端口号"
gsettings set org.gnome.system.proxy.socks host "192.168.*.*"
gsettings set org.gnome.system.proxy.socks port "端口号"
gsettings set org.gnome.system.proxy ignore-hosts "['localhost', '127.0.0.0/8']"
设置后重新打开终端生效
sudo apt remove libreoffice-common unity-webapps-common
Language Support
添加简体中文的支持Keyboard input method system
改为 fcitx
后重启或重新登录Sunpinyin
(推荐)、Shuangpin
、Pinyin
如果不喜欢自带输入法也可安装其他输入法
wget ***/sogoupinyin_2.1.0.0082_amd64.deb
sudo dpkg -i sogoupinyin_2.1.0.0082_amd64.deb
sudo apt install -f
sudo apt-get install fcitx-googlepinyin
sudo apt install -y git vim openssh-server aria2 ubuntu-restricted-extras ttf-mscorefonts-installer-
wget 网址/google-chrome-stable_57.0.2987.133_amd64.deb
sudo dpkg -i google-chrome-stable_57.0.2987.133_amd64.deb
sudo apt install -f
#download wps and fonts
wget *****/ware/kingsoft/wps-office_10.1.0.5672~a21_amd64.deb
wget *****/wps_symbol_fonts.zip
#install wps fonts
unzip wps_symbol_fonts.zip -d wps_symbol_fonts
sudo cp wps_symbol_fonts/* /usr/share/fonts
sudo mkfontscale
sudo mkfontdir
sudo fc-cache
#install wps
sudo dpkg -i wps-office_10.1.0.5672~a21_amd64.deb
sudo apt install -f
cd /opt
#下载jdk
wget *****/jdk-8u111-linux-x64.tar.gz
tar xzf jdk-8u111-linux-x64.tar.gz
#下载eclipse
wget *****/eclipse-jee-neon-2-linux-gtk-x86_64.tar.gz
tar xzf eclipse-jee-neon-2-linux-gtk-x86_64.tar.gz
mv eclipse eclipse-jee-neon-2-linux-gtk-x86_64
#设置eclipse所使用的jdk
cd eclipse-jee-neon-2-linux-gtk-x86_64
sed -i '1i -vm\n/opt/jdk1.8.0_111/bin' eclipse.ini
./eclipse
wget *****/VirtualBox/virtualbox-5.1_5.1.12-112440~Ubuntu~xenial_amd64.deb
sudo dpkg -i virtualbox-5.1_5.1.12-112440~Ubuntu~xenial_amd64.deb
sudo apt install -f
VirtualBox
#安装wine
sudo su -
dpkg --add-architecture i386
add-apt-repository ppa:wine/wine-builds
apt-get update
apt-get install --install-recommends winehq-devel
exit
#安装wine-qq
cd
wget *****software/tencent/wineQQ8.9_19990.tar.xz
tar xf wineQQ8.9_19990.tar.xz
本文由来源 jackaroo2020,由 javajgs_com 整理编辑,其版权均为 jackaroo2020 所有,文章内容系作者个人观点,不代表 Java架构师必看 对观点赞同或支持。如需转载,请注明文章来源。