Ubuntu 16.04 LTS安装后的配置
Ubuntu 16.04 LTS 安装后的配置:
1.设置主板时间为本地时间,默认为UTC时间,与Windows不同,如果双系统,时间有时差
sudo timedatectl set-local-rtc true
2.移除无用软件
sudo apt remove --purge snapd webbrowser-app gnome-chess gnome-klotski gnome-mines gnome-mahjongg gnome-sudoku gnome-nibbles gnome-robots gnome-taquin gnome-tetravex aisleriot gnome-calendar gnome-contacts gnome-online-accounts gnome-documents gnome-maps gnome-todo gnome-logs gnome-orca gnome-system-log apport baobab brltty deja-dup evolution rsyslog seahorse synaptic shotwell thunderbird usb-creator-gtk unity-lens-music unity-lens-video unity-lens-photos unity-scope-* unity-scope-home+ fonts-arphic-ukai fonts-arphic-uming
sudo gedit /usr/share/unity/scopes/applications.scope
# [Category scopes]
# Name=Dash plugins
# Icon=/usr/share/icons/unity-icon-theme/places/svg/group-installed.svg
# DedupField=uri
# SortField=scope_disabled;title;
# ContentType=apps
# RendererHint=toggled
3.安装常用的软件程序
sudo dpkg --add-architecture i386
sudo dpkg-reconfigure dash
sudo apt install bc rsync csh flashrom vim vim-gtk3 tree android-tools-adb android-tools-fastboot git subversion ssh cmake gcc g++ cgdb gparted unrar rar p7zip dos2unix minicom picocom tftp ftp telnet device-tree-compiler u-boot-tools bison flex tk mtd-utils mtools libncurses5 libncurses5-dev libssl-dev fxload sdcc winbind ibus-pinyin libusb-1.0-0 libusb-1.0-0-dev librxtx-java libx11-6:i386 libc6-dev-i386 libpng16-16:i386 libfontconfig1:i386 libjpeg62:i386 libtiff5:i386 libxau6:i386 libxext6:i386 libsm6:i386 libxi6:i386 libxrender1:i386 libxrandr2:i386 libxft2:i386 libncurses5:i386
sudo apt install nautilus-share verilator iverilog gtkwave ngspice octave octave-communications octave-signal gcc-riscv64-unknown-elf gcc-arm-linux-gnueabihf
4.grub配置
GRUB_TIMEOUT_STYLE=hidden
GRUB_CMDLINE_LINUX="net.ifnames=0"
5.禁止开机FAT32文件系统检查
编辑/etc/fstab中FAT32分区最后一列pass参数为0关闭文件系统检查。