1.配置apt源
vi /etc/apt/source.list
2.安装libreoffice
tar zxvf LibreOffice_4.4.2.2_Linux_x86-64_deb
dpkg -i *.deb
dpkg -i *.deb
sudo cp simsun.ttc /usr/share/fonts
cd /usr/share/fonts
sudo chmod 644 simsun.ttc
cd /usr/share/fonts
sudo chmod 644 simsun.ttc
sudo fc-cache -fv
3.安装输入法
apt-get install ibus python-dbus
IBus has been started! If you can not use IBus, please add below lines in $HOME/.bashrc, and relogin your desktop.
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
4.安装gnone工具
gnome-tweak-tool
5.安装flash插件
Debian GNU/Linux squeeze/sid
Debian GNU/Linux squeeze/sid
aptitude install flashplugin-nonfree
/usr/lib/flashplugin-nonfree/libflashplayer.so
6.配置cups打印服务器
FirewallD is not running. Network printer detection needs services mdns, ipp, ipp-client and samba-client enabled on firewall.
Printer add hp laserjet p4515
add cups service local:631 add printer (better add printer ppd file)
Internet Printing Protocol (ipp)
[home-workgroup-openprinting-drives]
Description:
hp4515
Location:
hp4515
Driver:
HP LaserJet p4515, hpcups 3.12.6 (color, 2-sided printing)
Connection:
socket://192.168.32.244:9100(网络打印机)
Defaults:
job-sheets=none, none media=iso_a4_210x297mm sides=one-sided
hp4515
Location:
hp4515
Driver:
HP LaserJet p4515, hpcups 3.12.6 (color, 2-sided printing)
Connection:
socket://192.168.32.244:9100(网络打印机)
Defaults:
job-sheets=none, none media=iso_a4_210x297mm sides=one-sided
7. 增加源
sudo add-apt-repository -r ppa:fcitx-team/nightly
GRANT ALL PRIVILEGES ON * . * TO ‘UCenter’@’localhost’ IDENTIFIED BY ‘***’ WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
CREATE DATABASE IF NOT EXISTS `UCenter` ;
GRANT ALL PRIVILEGES ON `UCenter` . * TO ‘Ucenter’@’localhost’;
8.chrome
/usr/bin/google-chrome-stable %U
/opt/google/chrome/google-chrome %U –user-data-dir=/root/chrome
/opt/google/chrome/google-chrome %U –user-data-dir=/root/chrome
9.防火墙设置端口放行
加入http服务、8080/tcp端口到列表,你懂的。
加入http服务、8080/tcp端口到列表,你懂的。
firewall-cmd –permanent –zone=public –add-service=http
firewall-cmd –permanent –zone=public –add-port=8080/tcp
firewall-cmd –reload
firewall-cmd –list-all
firewall-cmd –permanent –zone=public –add-port=8080/tcp
firewall-cmd –reload
firewall-cmd –list-all
这里不全面,只是修改了端口,加入了防火墙规则,但最重要的一点是,selinux阻止了
*简单处理就是关闭selinux .
*但通常我不建议关闭selinux,只需要用semanage添加你修改过的ssh端口。否则,你的ssh服务可能连启动都启动不了.
http://www.xishui139.pub:81/wordpress/2015/05/30/file-for-create/