Ubuntu

该板块内容来自 Kev 的贡献。


制作启动盘

# 下载ISO镜像
wget http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso
# 插入U盘, 找出挂载U盘
lsblk
# 解除U盘挂载, 别拔U盘
sudo umount /dev/sdX
# 刻录ISO镜像
sudo dd if=ubuntu-14.04.1-server-amd64.iso of=/dev/sdX bs=1M
# 弹出U盘, 拔出U盘
sudo eject /dev/sdX


安装过程排错(未验证)

Press Alt+F2, <ENTER>
 
mkdir /media/usb
mount -t vfat /dev/sdb /media/usb
mount -t iso9660 -o loop /media/usb/ubuntu-12.04-server-amd64.iso /cdrom
 
Press Alt+F1


查看版本号

sudo lsb_release -a
cat /etc/issue


安装 sqlite3 lib

sudo apt install libsqlite3-dev


修复boot

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair


版本升级

sudo apt-get update && sudo apt-get dist-upgrade
sudo update-manager -d


ubuntu mac

sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install mbuntu-y-ithemes-v5
sudo apt-get install mbuntu-y-icons-v5
 
sudo add-apt-repository ppa:noobslab/apps
sudo apt-get update
sudo apt-get install slingscold
 
sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install mbuntu-y-docky-skins-v5
 
cd && wget -O config.sh http://drive.noobslab.com/data/Mac-15.04/config.sh
chmod +x config.sh;./config.sh
 
cd && wget -O Mac.po http://drive.noobslab.com/data/Mac-15.04/change-name-on-panel/mac.po
cd /usr/share/locale/en/LC_MESSAGES; sudo msgfmt -o unity.mo ~/Mac.po;rm ~/Mac.po;cd
 
wget -O launcher_bfb.png http://drive.noobslab.com/data/Mac-15.04/launcher-logo/apple/launcher_bfb.png
sudo mv launcher_bfb.png /usr/share/unity/icons/
 
sudo apt-get install unity-tweak-tool
sudo apt-get install gnome-tweak-tool
 
sudo apt-get install libreoffice-style-sifr
 
wget -O mac-fonts.zip http://drive.noobslab.com/data/Mac-15.04/macfonts.zip
sudo unzip mac-fonts.zip -d /usr/share/fonts; rm mac-fonts.zip
sudo fc-cache -f -v
 
sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install mbuntu-y-lightdm-v5

FIXME

Jovi Meng 2017/09/06 13:33