After installing Ubuntu I want to do things

I installed kUbuntu19.10, and Ubuntu19.10, in that it is used in the desktop environment is kde.

Replace the software source & Updates

Installing the first step must be to replace the under domestic source, I use the source Qinghua (Tsinghua open source software mirror sites), paste the following source software Tsinghua's official website Ubuntu19.10.

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan-security main restricted universe multiverse

# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ eoan-proposed main restricted universe multiverse

Paste Qinghua source of the official website https://mirrors.tuna.tsinghua.edu.cn/

After completion of the replacement source software can be updated.

sudo apt-get update
sudo apt-get upgrade

After replacing the complete software source download speed you will get a little lift.

After all the downloaded installation, restart the computer under it.

About Zoning

Many people tangled partition, not actually good tangled in the "Bird Brother Linux private kitchens" book mentioned, novice recommend a direct points /and a swapcan, just as the experience of people who use Ubuntu partition how points are OK, but after reaching a certain level only need to consider the size of various partitions, as well as future expansion. For more instructions can refer to the book mentioned above.

Since I UEFI startup mode and dual system is installed, so in /and swapmulti-drop of a 512M base EFI系统分区for storing the boot.

Graphics Driver

About video driver, many people died in the graphics driver to give up Linux, I almost gave up, then all kinds of online search, basically solved the graphics card driver problem.

There are many ways to install, NVIDIA graphics driver basically divided into three, using standard automated warehouse Ubuntu installation, use ppa warehouse installation, using the driver to manually install NVIDIA official website.

Check before installation under your video card supported by the device driver which version, which is recommended to view the Ubuntu drive, use the following command to see:

ubuntu-driver devices

After entering the display graphics driver is not the only graphics card drivers, there may be some other devices need to be installed graphics driver.

String back, find a driver:message, the back is the recommended graphics driver version installed.

Then install the driver using the command:

sudo apt-get install nvidia-driver-* # 这里的 * 代表每个人安装的显卡驱动版本不一样,按 tab 键寻找你的吸纳卡驱动版本

Installing the driver can restart, normal after restarting, it basically normal.

After driver installation is complete, if you are dual graphics notebook, found that after installing the drivers fans have been crazy turn, it may be the graphics driver to automatically set the operation mode to maximum efficiency, and no one would want in his normal use has been listening to his big mad cow graphics card has been crazy turn.

After installing the graphics driver software is installed in the graphics driver set, using the following command:

sudo add-apt-repository ppa:nilarimogard/webupd8    #添加PPA更新源
sudo apt-get update                                 #刷新更新源列表
sudo apt-get install nvidia-prime nvidia-settings
sudo apt-get install prime-indicator                #安装双显卡切换指示器

After installation or restart it, and then open a named NVIDIA X Server Settingssoftware, open the PRIME Profilescan select the graphics mode of a column, if there are three, one is the most efficient mode of operation mentioned above, the name Performance Modeof the model, there is a species, called on-Demandthis model to be "enough" mode that automatically adjusts the working efficiency, if the set was computer can also choose to use set of significant ways.

Another way is to install the graphics driver official website provides a way, this way more difficult to be higher than the other two, and the installation is not successful it will result in the issue of a series of uncertain switching machine crashes, fans crazy turn and so, here is simple mention, more detailed article if you need this type of installation your own online search to read.

install software

Some others, such as Sogou Pinyin like software, direct network Quguan find linux version of the software installation package, Ubuntu is recommended to download debformat installation package, use the command directly sudo apt dpkg -i debName.debcan be installed directly.

When installing Sogou Pinyin will appear dependent on the problem, use sudp apt-get install -fsome repair reinstall.

Installation wps linux version, ubuntu has built libreoffice free software as well, at its option, after the installation wps, because some copyright reasons will prompt deletion of some text formatting, since it is the official website for copyright reasons we certainly will not give missing font files, you can look online wps download the missing font, the font file will download all move to /usr/share/fonts/wps-office/the next folder, and then run a few commands:

sudo mkfontscale    #生成字体索引
sudo mkfontdir      #生成字体索引
sudo fc-cache       #更新字体缓存

Markdown is a recommended writing software typora, this software supports Windows, OS X, Linux three platforms, the following is the official website for the Linux installation command:

# or run:
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -

# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update

# install typora
sudo apt-get install typora

Modify Firefox dns resolution

Found page load speed is very slow, very slow dns resolve in the course of the Internet if it is found after the installation of ubuntu, perhaps the reason is because access WiFi LAN dns which the response is too slow leads can be modified under the dns server address was 8.8.8.8Alternatively 114.114.114.114, operation is as follows:

Using a text editor (vim, vi, nano just a) to open sudo vim /etc/resolv.confthe configuration file, and then comment out the existing dns records (using #annotations) and then add a line to nameserver x.x.x.xselect dns server.

If you find dns is some software changes, you can also use this command to lock the file, in the course of the operation:

sudo chattr +i /etc/resolv.conf # 加锁
sudo chattr -i /etc/resolv.conf # 解锁

Guess you like

Origin www.cnblogs.com/geekfx/p/12468431.html