Ubuntu16.04 LTS + DRBL

壹、Ubuntu 160.4 LTS 安裝 Acer VM4630G cpu i5 4590

Ubuntu1604

一、Ubuntu 1604新增中文輸入法
1.開啟Ubuntu 16.04以後,點選「系統設定值」。
2.點選「語言支援」。
3.提醒語言支援尚未完備,點選「安裝」。
4.輸入開機登入的密碼,點選「核對」。
5.正在套用變更。
6.安裝完成,點選「關閉」。
7.關閉「系統設定值」的視窗。
8.點選「登出」,必須登出以後才能新增「新酷音輸入法」。

Ubuntu 15新增中文輸入法
http://blog.xuite.net/yh96301/blog/342227672

二、Ubuntu 1604 行列30輸入法
1.sudo apt-get install fcitx-table-array30

2.iBus 的行列輸入法 (Array30 input method of iBus)

http://bcm180.blogspot.tw/2016/08/easy-way-to-configure-your-chinese.html

如果你想使用 iBus 的行列30,記得選「ibus-array」,不要選「ibus-table-array30」。前一個用起來才會跟 Windows 的版本一樣,也才能使用簡碼。

https://code.google.com/archive/p/ibus-array/

三、Unity Tweak Tool 更改啟動欄(Launcher)位置

Unity Tweak Tool

四、16 Things To Do After Installing Ubuntu 16.04 LTS

16 Things To Do After Installing Ubuntu 16.04 LTS

 五、How to List Ubuntu Network Adapters

lspci


lspci | less
lspci | grep -i eth

ip link show

ifconfig

How to List Ubuntu Network Adapters – Top 5 Commands to Display Ethernet Adapters

六、Kazam Screen Capture (螢幕錄影軟體)

https://launchpad.net/kazam

apt install kazam

七、basic256

http://www.basic256.org/index_en

Search Results for basic256

https://pkgs.org/download/basic256

 

貳、DRBL安裝

http://drbl.nchc.org.tw/news/

一、設定網路:

root@VM4620G:/home/user# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet dhcp

auto enp1s0
iface enp1s0 inet static
address 192.168.11.1
netmask 255.255.255.0
dns-nameservers 163.17.51.6 168.95.1.1 163.17.51.1

二、安裝 DRBL

  • wget -q http://drbl.nchc.org.tw/GPG-KEY-DRBL -O- | sudo apt-key add –
  • 編寫/etc/apt/sources.list

deb http://free.nchc.org.tw/ubuntu xenial main restricted universe multiverse
deb http://free.nchc.org.tw/drbl-core drbl testing

  • 執行 “sudo apt-get update”
  • 執行 “sudo apt-get install drbl”來安裝drbl程式
  • 執行”drblsrv -i”

  • 執行 drblpush -i (cd /etc/drbl/ 再執行 drblpush -i)

三、設定使用者環境(環原使用者操作環境)

#!/bin/sh

strdir=”CA33″

for userID in CA11 CA12 CA13 CA14 CA15 CA16 CA17 CA18 CA19 CA20 CA21 CA22 CA23 CA24 CA25 CA26 CA27 CA28 CA29 CA30 CA31 CA32 CA33 CA34 CA35 CA36 CA37 CA38 CA39 CA40 CA41 CA42 CA43 CA44 CA45 CA46 CA47 CA48 CA49 CA50 CA51 CA52 CA53 CA54

do
rm -r -f /home/$userID
cp -a /backup/$strdir /home/$userID
chown -R $userID:$userID /home/$userID
echo $userID
done

四、網路速度測試

網路卡6片

 

network

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
 iface lo inet loopback

#auto enp3s0f0
# iface enp3s0f0 inet dhcp

auto enp3s0f0
 iface enp3s0f0 inet static
 address 163.17.51.30
 netmask 255.255.255.0
 dns-nameservers 163.17.51.6 168.95.1.1 163.17.51.1
 gateway 163.17.51.254

auto enp1s0f0
 iface enp1s0f0 inet manual
 bond-master bond0

auto enp1s0f1
 iface enp1s0f1 inet manual
 bond-master bond0

auto enp1s0f2
 iface enp1s0f2 inet manual
 bond-master bond0

auto enp1s0f3
 iface enp1s0f3 inet manual
 bond-master bond1

auto enp4s0f0
 iface enp4s0f0 inet manual
 bond-master bond1

auto enp4s0f1
 iface enp4s0f1 inet manual
 bond-master bond1

# bond0 is the bonding NIC and can be used like any other normal NIC.
# bond0 is configured using static network information.
auto bond0
 iface bond0 inet static
 dns-nameservers 163.17.51.6 8.8.8.8
 address 192.168.11.1
 netmask 255.255.255.0
 bond-mode balance-alb
 bond-miimon 100
 #bond-lacp-rate 1
 #bond-mode 802.3ad
 bond-slaves enp1s0f0 enp1s0f1 enp1s0f2
 #bond-slaves eth1 eth2 eth3

auto bond1
 iface bond1 inet static
 address 192.168.12.1
 netmask 255.255.255.0
 bond-mode balance-alb
 bond-miimon 100
 #bond-lacp-rate 1
 #bond-mode 802.3ad
 bond-mode balance-alb
 bond-slaves enp4s0f0 enp4s0f1 enp1s0f3

五、switch trunk

DGS-1210-48 switch trunk

六、上課流量實況