Ubuntu configuration development environment

Some configurations developed in Linux##

Have been using Ubuntu14 before.04Development. Recently, the system cannot be started due to misoperation. Reinstall the system and record some development environment settings

premise##

OS Recommendation###

U Disk Launcher###

Rufus:https://rufus.ie/

Environment configuration##

A worker must first sharpen his tools if he wants to do well

Google Chrome###

sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable

Virtual Machine VirtualBox

Postman

https://www.getpostman.com/do...

Git

https://git-scm.com/download/...

sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git

Golang

https://golang.org/

sudo tar -C /usr/local -xzf go1.12.1.linux-amd64.tar.gz
export GOROOT=/usr/local/go
export GOPATH=$HOME/gopath
export PATH=$PATH:$GOROOT/bin

Python2/Python3

sudo apt-get install python-dev 
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py

SpaceVim

https://spacevim.org/cn/

#=============================================================================
# dark_powered.toml --- dark powered configuration example for SpaceVim
# Copyright(c)2016-2017 Wang Shidong & Contributors
# Author: Wang Shidong < wsdjeg at 163.com >
# URL: https://spacevim.org
# License: GPLv3
#=============================================================================

# All SpaceVim option below [option] section
[ options]
 # set spacevim theme. by default colorscheme layer is not loaded,
 # if you want to use more colorscheme, please load the colorscheme
 # layer
 colorscheme ="gruvbox"
 colorscheme_bg ="dark"
 # Disable guicolors in basic mode, many terminal do not support 24bit
 # true colors
 enable_guicolors =true
 # Disable statusline separator,if you want to use other value, please
 # install nerd fonts
 statusline_separator ="arrow"
 statusline_inactive_separator ="arrow"
 buffer_index_type =4
 enable_tabline_filetype_icon =true
 enable_statusline_mode =false
 # Indent to 4 spaces
 default_indent =4
 # Cancel relative line numbers
 relativenumber =0
 # Set up file tree management
 filemanager ="nerdtree"
 # Start YouCompleteMe
 enable_ycm =1
    
# Enable autocomplete layer
[[ layers]]
name ='autocomplete'
auto-completion-return-key-behavior ="complete"
auto-completion-tab-key-behavior ="smart"[[layers]]
name ='shell'
default_position ='top'
default_height =30[[layers]]
name ='lang#go'[[layers]]
name ='lang#python'
format-on-save =1
# Grammar check
pip install --user flake8
# Format imports
pip install --user autoflake
pip install --user isort
# Code formatting
pip install --user yapf
1,[ options]Add a line below`enable_ycm = 1`2,Open vim to automatically install the plug-in, but it cannot be used yet
3, Need to install gcc,g++,cmake(sudo apt-get update; sudo apt-get install gcc g++ cmake)4, cd ~/.cache/vimfiles/repos/github.com/Valloric/YouCompleteMe/5,./install.py --go-completer

VSCode

If you are not used to Vim, I strongly recommend VSCode https://code.visualstudio.com/

beautify v1.4.11
bracket-pair-colorizer v1.0.61
code-runner v0.9.7
code-settings-sync v3.2.7
code-spell-checker v1.6.10
cpptools v0.22.1
githistory v0.4.6
gitlens v9.5.1
Go v0.9.2
html-css-class-completion v1.18.0
Material-theme v2.21.0
path-intellisense v1.4.2
prettier-vscode v1.8.1
python v2019.3.6215
vetur v0.17.1
vsc-material-theme v2.8.2
vscode-fileheader v0.0.2
vscode-filesize v2.1.2
vscode-icons v8.4.0
vscode-language-pack-zh-hans v1.32.4
vscode-markdownlint v0.25.1
vscode-mysql v0.3.0
vscode-yseopml v1.5.0
Settings-Sync v3.2.7

Configure terminal [fish or zsh]

mysql

1, sudo apt update
2, sudo apt install mysql-server
3, sudo mysql_secure_installation;Follow the prompts to set
4, sudo mysql
5, View user table information
SELECT user,authentication_string,plugin,host FROM mysql.user;+------------------+-------------------------------------------+-----------------------+-----------+| user             | authentication_string                     | plugin                | host      |+------------------+-------------------------------------------+-----------------------+-----------+| root             || auth_socket           | localhost || mysql.session    |*THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost || mysql.sys        |*THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost || debian-sys-maint |*DEB29A8ED2C321F262FBA44912F947318ECAA6FA | mysql_native_password | localhost |+------------------+-------------------------------------------+-----------------------+-----------+6,set password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'yourpasswod';7,Check again
SELECT user,authentication_string,plugin,host FROM mysql.user;+------------------+-------------------------------------------+-----------------------+-----------+| user             | authentication_string                     | plugin                | host      |+------------------+-------------------------------------------+-----------------------+-----------+| root             |*5453C94A8D435513D0518C27E08B42F173870BF8 | mysql_native_password | localhost || mysql.session    |*THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost || mysql.sys        |*THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost || debian-sys-maint |*DEB29A8ED2C321F262FBA44912F947318ECAA6FA | mysql_native_password | localhost |+------------------+-------------------------------------------+-----------------------+-----------+8,Login with new password

FileZilla

sudo apt-get install filezilla

Meld file comparison###

sudo apt-get install meld

Some software###

Recommended Posts

Ubuntu configuration development environment
Ubuntu development environment configuration
ubuntu build python development environment
ubuntu builds common development environment
Ubuntu environment variables and ADB configuration
Ubuntu 19.1 installation and configuration Chinese environment
ubuntu 18.04 early configuration
Ubuntu nfs configuration
Ubuntu20.04 configuration notes
Ubuntu 14.04 configuration record
Build a LAMP development environment on Ubuntu 16.04
JDK environment variable configuration method under ubuntu
Configure Java development environment in Ubuntu20.04 LTS
Build a python development environment under Ubuntu
ubuntu16.04 deploy GPU environment
ubuntu configuration python, Red
Ubuntu 18.04 network card configuration
Network configuration under Ubuntu
Python virtual environment: Ubuntu16.04
023. Ubuntu common personalized configuration
Ubuntu Touch environment setup
Ubuntu18.10 configure Java environment
ubuntu environment deployment project
Embedded Linux development environment to build and configure Ubuntu
Django&amp;MySQL environment deployment under Ubuntu 14.04
ubuntu sets python2.5 environment variables
CentOS 7.2 deploy Node.js development environment
ubuntu14.0464 Ros environment install halcon13.01
Ubuntu16.04 installation and simple configuration
Ubuntu16.04 install SVN and configuration
Ubuntu PostgreSQL installation and configuration
ubuntu offline installation python environment
Ubuntu 18.04.1 build Java environment and HelloWorld
CentOS 7 configure Java language development environment
Ubuntu 20.04 best configuration guide for engineers
Ubuntu 20.04 best configuration guide for engineers
CentOS 7 configure Ruby language development environment
Build an Ubuntu Linux development environment on a Vmware virtual machine
Ubuntu16.04 build php5.6 Web server environment
CentOS 7 configure php language development environment
Docker ubuntu: install python-PIL-image environment on 14.04
Ubuntu16.04 configuration OpenCV3.4.2 and basic use
Install Python virtual environment on Ubuntu 18.04
Configuration and beautification after Ubuntu installation (1)
Nginx installation and configuration load (ubuntu12.04)
Install Spark stand-alone environment on Spark Ubuntu18
Install Hadoop system environment on Ubuntu 18.04
Ubuntu configuration source and installation software
CentOS 7 configure Python language development environment
Tomcat configuration JMX in centos 6.5 environment
Deep learning environment configuration guide! (Full explanation on Windows, Mac and Ubuntu)
Linux development preparation-install VMware and run Ubuntu
51 MCU program development and download under Ubuntu
Centos7.5 configuration java environment installation tomcat explanation
Ubuntu 20.04 best configuration guide (required for newbies)
Build the C++ compilation environment under ubuntu
Tencent Cloud ubuntu 16.04 ZenTao integrated environment construction
About installing node environment in Ubuntu server
Steps to build LNMP environment on ubuntu 20.04
Build arm virtual operating environment on Ubuntu
Ubuntu17.04 configuration method to replace domestic sources