10 things you really need to do after the Ubuntu system is installed

Source: Internet
Author: User

Updated: 2016 JUL

Ubuntu 16.04 has been updated in the evening, although important files have been backed up, but the system setup still needs to be restarted. As a result of the frequent re-installation of the system, has realized the most difficult to install the system of the number of re-set (this is also not willing to re-install WIN10 just according to the MS Step-up update reason). In order to facilitate future replacement, this side of the reset, while summarizing records, for reference. If you upgrade again in the future, this article must be updated.

OK, now that you have completed the installation of Ubuntu (16.04) completely, but what you are greeted with is a useless shell:-P the following is the most important thing you need to do before you really start living on this Linux platform!

0. Adjust Grub2

This is set to 0 because the general single system user can skip, but for dual system users, especially Ubuntu as a second system, you need to adjust the default boot order. GRUB2 (The upgraded version of Grub) is the preloader that controls the operating system boot, which is the Purple interface after the OEM is just booted. Dual system users just installed Ubuntu when GRUB is the default Ubuntu as the first startup item. If you need to change to another system such as windows as default, you need to open bash under Ubuntu again:

cd/etc/grub.d/

sudo mv 30_os-prober 01_os-prober

This is the priority of starting the original operating system from 30 to 01.

If you modify the Grub interface wait time in the way, continue:

cd/etc/default/

sudo gedit Grub

Open the graphical interface. Change the value of the grub_timeout corresponding to the number of seconds to wait; by the way, check #grub_hidden_timeout=0 this line if there is no previous # number, make sure to fill it up. I usually set the waiting time to be 1 seconds. Save and close.

Finally, be sure to:

sudo update-grub2

Only then does the modification actually take effect. At this point, you can restart to enjoy.

1. Confirm the System update

In general, the installation process does not make system updates, then after the installation is completed, you need to confirm that the system is up to date. Click on the upper right corner of the shutdown icon, the menu has about this computer an item, in the lower right corner of the button to update the prompt.

You can also open the Software center to see if there is any software that needs to be updated.

2. Input method configuration (Sogou Input method)

In general, installing Ubuntu is best installed in English, because many programs do not support Chinese paths and so on. But in order to code this article, I still the earliest time installs the Sogou Pinyin Input method (non-advertisement). The input method needs to be downloaded directly from the official website, so you can use Firefox to download and install Sogou input directly after connecting to the network. After the installation is complete reboot, and then the upper right corner button The first (generally speaking) is the input method. At this time Fcitx Input Method Manager has been installed automatically, the settings in the menu opens the Fcitx settings interface, plus add Input method, first canceled only Show current Language, and then pull the list to the bottom of sogou input Add. Finally set up a familiar switch to the keys just fine. After adding a successful input method settings will be changed to default to use the Sogou settings, want to open the FCITX settings need to Sogou settings in the middle of the bottom of the search. It is recommended to switch the keys through FCITX modification, the selection will be more.

3. Install git

I have to wait to install vim, but consider the plugin to use Git, or first load git:

sudo apt-get install git

Associate with the GitHub account after the installation is complete (see the next step without a GitHub account). First establish the Global information:

  git config--global user.name "YOUR name"

  git config--global user.email "YOUR email ADDRESS"

Replace the contents of the quotation marks with your GitHub account information.

The default is a completely new system, no residual junk files, so completely from the new SSH Association, and then the root directory:

  ssh-keygen-t RSA- b 4096 -C "[email protected]"

Also change the contents of the quotation marks to the same email address as above. You will be asked to save the location, directly press ENTER to save.

Then ask for passphrase, which is equivalent to setting a password, and the GitHub account password is different. This password is push submitted to the line when the need to lose the password, no special security requirements can be directly enter.

Then a word metalized is generated. Now you need to find the key:

Cat. Ssh/id_rsa.pub

A long string of characters is generated and right-click Copy is selected.

Open the GitHub webpage login account to enter the account settings to the left to find ssh, you can clean up the useless SSH keys, and then create a new, named arbitrary, pasted into all the characters cat produced. Save it.

The first time you log in to push, you will need to confirm SSH key security and enter passphrase.

For more information about how to modify the settings you've already set up, please ask GitHub help.

Reference: https://help.github.com/articles/set-up-git/

4. Install Vim

0 steps in the use of Gedit Open text file! It's ugly. However, VIM has not yet been installed:

sudo apt-get install vim

Then you get the most primitive vim-ugly.

So first choose the color theme to beautify it. Set up a personal Vim configuration folder, ~/.vim/colors/under Bash, and place the downloaded color body file (. vim) under this folder (Bash CP). My general choice of theme is Molokai. And then the user root directory

Vim. VIMRC

Set up the configuration file, see http://dougblack.io/words/a-good-vimrc.html for specific configuration methods.

For file type settings, you need to set up the folder Ftplugin under the. Vim folder and put the file type. Vim, such as Markdown.vim, into the configuration file. Remember to join in. Vim

  filetype plugin indent on

In particular,

Set Shortmess=ati "Remove the Welcome screen

Important to install VIM powerline. Install PIP First:

sudo apt-get install Python-pip

Pip Install--user Git+git://github.com/powerline/powerline

Here you can refer to http://powerline.readthedocs.io/en/master/installation/linux.html

If the font problem is never resolved, download all fonts from https://github.com/powerline/fonts in the. Font folder and run./install.sh,在bash的preferences里选择Ubuntu Mono derivative Powerline regular 13#可以解决问题。 顺便在这里可以调整bash背景颜色。

Installing plugins can be considered vundle, but it seems to be out of fashion recently.

5. Install Chinese fonts

Reference: https://gist.github.com/allex/11203573

10 things you really need to do after the Ubuntu system is installed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.