因为最近Microsoft针对版权保护,为公司开源节流,研究了Ubuntu 18.0.4,我是安装在DELL latitude系列及Inspiron系列机器上都有测试,完美兼容(平常办公没有任何问题)。 首先说说安装,两款型号的机器都须要更改BIOS,latitude开机按F2,选择System Configuration选项下找SATA Operation选项,再选择AHCI选项(默认为RAID)。Inspiron系列机器我开机近BIOS,Setting下面的Secure Boot下一级的Secure Boot Enable的选项中的Enable更改成Disable(默认为Enable), 安装netstat命令 sudo apt-get install net-tools 安装vim sodo apt-get install vim 安装就不用多说了,主要说说安装之后的事吧,我用英文安装,须要安装中文输入法(屌丝用拼音,就安装搜狗拼音输入法吧), 一、安装fcitx输入架构 sudo apt install fcitx 或者在应用商店里搜索fcitx安装Fitx和Ficx Configuration 二、在浏览器下载搜狗拼音输入法(Linux版),根据本身的系统下载 三、在图像界面下双击执行 四、安装 五、安装成功后进入“设置”Settings,在系统右上角 六、Region&Language区域和语言--Manage Installed Languages管理已安装的语言--Keyboard Input Method System键盘输入法系统选择“fictx”--Apply System-wide应用到整个系统(应用后会直接注销,若是没有用能够重启系统) 七、点击桌面右上角的键盘图标--Configure Current Input Method配置当前输入法--点击+号图标--去掉Only Show Current Language(只显示当前语言)前面的钩--找到Sogou Pinyin--点击“OK”按钮【保留原有的Keyboard-English(US)】 八、中英文切换是Ctrl+空格,(shift是中英切换) 安装打印机 一、右上角点击“设置”Settings 二、选择Devices设备 三、Printes打印机--Add添加--输入打印机IP--jetdirect-printer--Add--FUJI XEROX--Fuji Xerox 安装chrome浏览器 sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo apt update sudo apt install google-chrome-stable 就能够在资源库打开浏览器了 配置句柄数(若是做为服务器使用,句柄数决定了链接数。默认是ubuntu 20,过小了因此要更改) ulimit -n #查看句柄数 修改配置 sudo vim /etc/security/limits.conf #添加以下四行 * hard nofile 204800 * soft nofile 204800 * hard noproc 204800 * soft noproc 204800 sudo vim /etc/systemd/system.conf #添加下面这句 DefaultLimitNOFILE=204800 重启后生效, ulimit -n #查看更改结果 卸载 剔除在线用户: 若是要ssh链接ubuntu,须要安装openssh-server sudo apt-get install openssh-server w--查看在线用户 pkill -KILL -t pts/0 #pts/0为w指令看到的用户终端号