Ubuntuマウント


1. git node


1.1 gitインストール

sudo apt-get install git
git -v

1.2 nodeインストール

sudo apt install curl #    curl
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - #      14.x    

#       
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
cd /etc/apt/
cp sources.list sources.list.bak
sudo cp sources.list sources.list.bak
sudo true > sources.list
sudo apt update

#    nodejs
sudo apt-get install -y nodejs
node -v
npm -v

1.3 python 3インストール

#    python3
sudo apt-get install python3.4

#   python     python3
whereis python3
cd /usr/bin/
sudo cp python3 python

#    pip3
sudo apt-get install python3-pip


1.4 mongodbインストール

sudo apt-get update
sudo apt-get install mongodb
mongo --version

1.5 postgresqlインストール

sudo apt-get update
sudo apt-get install postgresql-12 -y
psql --version

#     
sudo -u postgres psql #   
ALTER USER postgres WITH PASSWORD 'postgres'; 
CREATE USER "neo" with password '1234';
CREATE DATABASE "neo" with owner = "neo";

2.wineのインストール


wineは直接windows環境の下のインストールパッケージをインストールすることができて、インストールした後に直接Linuxの下でwindowsのソフトウェアを走ることができます.
# 1.    wine
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install wine-stable

# 2.    winetricks          
sudo apt install winetricks
winetricks riched20

# 2.    exe
#               WeChatSetup.exe
wine WeChatSetup.ext
# ...