Basic configuration and common software installation after ubuntu 18.04 installation

0. This article contains the following content##

  1. Set root password
  2. Replace with domestic source
  3. Install vim
  4. Install Chinese input method
  5. Hang other disks on the computer under the current ubuntu
  6. Install VMware-workstation
  7. Install vlc player
  8. Install Google Chrome
  9. Install VS Code
  10. Ubuntu 18.04 and windows time is not synchronized problem
  11. Cancel ubuntu automatic update

1. Set root password##

Use the command: $ sudo su

2. Replace domestic source##

2.1 Backup /etc/apt/sources.list

$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

2.2 Replace source

Add the following entry in front of the /etc/apt/sources.list file

# Aliyuan
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

ps: deb-src can not be added

2.3 Execute the following command to update the source###

$ sudo apt-get update``$ sudo apt-get upgrade

3. Install vim

Command: sudo apt-get install vim

4. Install Chinese input method (Sogou input method)

4.1 Install Sogou input method###

Uninstall ibus (optional)
$ sudo apt remove 'ibus*'

Install Fcitx input framework
$ sudo apt install fcitx

Go to the official website to download the Sogou input installation package
Address: https://pinyin.sogou.com/linux/

Install Sogou input method:
$ sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

If you encounter problems, execute the following command
$ sudo apt --fix-broken install

4.2 Add Chinese language support

Because the English version of the system is installed here, Chinese language support is not installed by default.

Find Region&Language in the settings

Click on Manage Install Languages

Install the Chinese package, select fictx

After installation as follows:

4.3 Switch Sogou input method###

ps: restart after completing the previous steps

In the installation and application, find Fcitx Configuration, Add Sougou Pinyin

Sogou input and send and the installation is successful.

[Remarks] To switch between Chinese and English, you can use win+space or shift

5 Hang the D drive on the computer under the current ubuntu##

5.1 View Disk

Command: sudo fdisk -l

So, here we will mount /dev/sda5 under /mnt.

5.2 Mount###

Use command command: $ sudo mount /dev/sda5 /mnt
Or $ sudo mount -t ntfs /dev/sda5 /mnt -o iocharset=utf8,umask=0

If you want to unmount: $ sudo umount /dev/sda5
gfgffg fgf

5.3 Set permanent mount###

Permanently mount, no failure to boot
$ sudo vim /etc/fstab

Add after

/dev/sda5 /mnt ntfs utf8,umask=0

Then restart to take effect.

6. Install VMware-workstation

6.1 Download the installation package###

Download link: https://www.vmware.com/go/getWorkstation-linux

6.2 installation###

$ sudo apt install build-essential #Install the dependency package ``$ sudo ./VMware-Workstation-Full-15.0.4-12990004.x86_64.bundle

7. Install vlc player##

Command: $ sudo apt install vlc

8. Install Google Chrome##

8.1 Add the download source to the source list of the system (add dependency)

$ sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/ --no-check-certificate

8.2 Import the public key of Google software to verify the downloaded software.

$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

8.3 Used to update the current system's available update list. (Update dependency)

$ sudo apt-get update

8.4 Installation of Google Chrome browser (stable version). (install software)

$ sudo apt-get install google-chrome-stable

8.5 Launch Google Chrome browser.

$ /usr/bin/google-chrome-stable

Then add it to the status bar.

9. Install VS Code

9.1 Download the installation package###

Download link: https://code.visualstudio.com/Download

9.2 installation###

Installation dependency: $ sudo apt install libgconf-2-4
Installation: $ sudo dpkg -i code_1.25.1-1531323788_amd64.deb

9.2 python path (to solve the problem that the source file cannot be found in go to defination)

Select Settings, search for python.pythonPath, and add in the settings.json file
" python.pythonPath": "/home/xx/anaconda3/bin/python"

10. Ubuntu 18.04 and windows time is not synchronized

$ sudo timedatectl set-local-rtc 1

11 Cancel ubuntu automatic update##

Recommended Posts

Basic configuration and common software installation after ubuntu 18.04 installation
Configuration and beautification after Ubuntu installation (1)
Ubuntu configuration source and installation software
Ubuntu16.04 installation and simple configuration
Ubuntu PostgreSQL installation and configuration
Common exceptions and solutions for Ubuntu system installation and configuration
Ubuntu18 super detailed common software installation
Ubuntu16.04 configuration OpenCV3.4.2 and basic use
Ubuntu 19.1 installation and configuration Chinese environment
Nginx installation and configuration load (ubuntu12.04)
Ubuntu18.04 system installation and prerequisite software installation guide
DLNA/UPnP Server installation and configuration under Ubuntu 12.04
Debian and Ubuntu installation source configuration file description
The basic configuration and interface beautification of Ubuntu
Virtual machine installation and configuration ubuntu shared folder_
Ubuntu introduction and installation
023. Ubuntu common personalized configuration
Kaldi installation and configuration graphic tutorials under Ubuntu
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
Ubuntu16.04 mirror complete installation and configuration tutorial under VMware
Ubuntu12 step-by-step installation and configuration (system, FTP, TELNET.. settings)
Centos mysql installation and configuration
Centos7 installation and configuration prometheus
CentOS installation and configuration cmake
GitLab installation and basic use
Install common software on Ubuntu 16.04
Ubuntu16.04 install SVN and configuration
Enterprise self-built GitLab code warehouse installation and basic configuration use
Centos7 installation and configuration of Jenkins
CentOS 8 install Git and basic configuration
Centos7 hadoop cluster installation and configuration
Redis installation under ubuntu and windows
Java-JDK installation and configuration under CentOS
CentOS 7 Tomcat service installation and configuration
CentOS NTP server installation and configuration
Ubuntu upgrade software and ubuntu upgrade system commands
Ubuntu common instructions and usage details
Ubuntu18.04 installation Anaconda3 and VSCode guide
Configure ring after installation on Ubuntu 16.04
Centos7 mysql database installation and configuration
Ubuntu basic settings: introduction to the installation and use of openssh-server
ubuntu Docker installation and deployment of Rancher
Tomcat installation and configuration under CentOS 7 (Tomcat startup)
MySQL 8.0 installation, deployment and configuration under CentOS 6/7
Installation and configuration of redis under centos7
Installation and uninstallation of CUDA under Ubuntu 16.04
Install docker on ubuntu and basic usage
Ubuntu18.04 Server version installation and use (graphic)
Installation and deployment of Nginx in Ubuntu
Ubuntu software
Installation and use of Win10 subsystem Ubuntu
Ubuntu install PHP and PHP Nginx configuration method
Centos7 hive stand-alone mode installation and configuration
Ubuntu 14.04 16.04 Linux nvidia driver download and installation
Installation and configuration of JDK in CentOS 7 system
CentOS 6.5 system installation and configuration graphic tutorial (detailed graphic)
Installation of pulseaudio and API usage under Ubuntu 12.04
CentOS 7 installation and configuration graphic tutorials under VMware10
Installation and configuration of rsync server under CentOS 6.5
Installation and configuration of CentOS 7 in VMware Workstation
Technical corner | Windows 10/7 and Ubuntu 18.04 dual system installation