Ubuntu Server 16.04 to 18.10
1. ssh into the system, switch to root and run cfdisk# cfdisk
เรื่องราวและ ทัศนะต่างๆ กับสิ่งต่างๆที่ไปประสบพบเจอมา โดยนำมาวิเคราะห์ตามแนวความคิดและวิถีทางแล้วบันทึกไว้
1. ssh into the system, switch to root and run cfdisk$ sudo apt-get update
Python3 installed.
$ sudo apt-get install python3-pip
Get virtualenv.
$ pip3 install virtualenv
Create the project folder.$ mkdir flaskproject
Set up the virtual environment.
$ cd flaskproject
$ virtualenv venv
Activate the environment (use deactivate to exit the environment).
$ . venv/bin/activate
|| (count($analyzed_sql_results[‘select_expr’] == 1)
to
|| (count($analyzed_sql_results[‘select_expr’]) == 1
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: yes
enp0s8:
dhcp4: no
addresses: [ 172.0.0.253/22 ]
gateway4: 172.0.0.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]
หลังจากแก้ไขค่าเสร็จแล้ว สั่งให้ network ทำงานใหม่ ใช้คำสั่ง
sudo netplan apply
Enter the next message in the final line.
# Ciphers Ciphers aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,arcfour KexAlgorithms diffie-hellman-group1-sha1
After that restart service
service sshd restart