中文打字
2020年12月2日 星期三
2020年11月30日 星期一
install anacoda and django on ubuntu1804
anacoda
https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart
django
https://www.digitalocean.com/community/tutorials/how-to-install-the-django-web-framework-on-ubuntu-18-04
如何啟動 ~/django-test
source my_env/bin/activate
如何關掉 ~/django-test
deactivate
python3 裝了沒
~/django-test
python3 -V
django 裝了沒
~/django-test
python3 -m django --version
在 ~/django-test 新增 mytestsite web點
django-admin startproject mytestsite
runserver
~/django-test/mytestsite
python3 manage.py runserver
shell 基本指令
reference from http://n.sfs.tw/content/index/10450
type cd
type ifconfig
ifconfig ==>ip addr
route ==> ip -route
traceroute www.google.com.tw ==>tracepath www.google.com.tw
netstat ==> ss -lt
ss -t
ss -u
ssh
ssh ==>ssh root@192.168.2.24


