模型与数据库
Posted on 2023-01-19 in django • Tagged with django, models and databases
Posted on 2023-01-19 in django • Tagged with django, models and databases
dpkg -L packagename
When /sbin/nologin is set as the shell, if user with that shell logs in, they'll get a polite message saying 'This account is currently not available.' This …
Posted on 2023-01-22 in how-to • Tagged with rst, ReStructuredText
Posted on 2023-01-22 in how-to • Tagged with speech recognition
以下操作在 Windows 10 环境下
下载 Virtual Audio Cable。下载地址:https://www.vb-audio.com/Cable/index.htm
安装后,会生成了二个虚拟设备:CABLE Input 和 CABLE Output,并且被分别设 …
检查 SSH 是否安装:
$ apt list --installed | grep ssh ## 如果没有安装 $ sudo apt install openssh-client
如果已经安装,是否需要重新生成 SSH 服务器端钥匙? 如是批安 …
Posted on 2022-06-19 in debian
Posted on 2020-10-03 in how-to • Tagged with postgresql, database
安装 postgresql 并登录至 postgres 用户环境
$ sudo apt install postgresql $ sudo -i -u postgres $ psql
创建角色以及数据库
>> CREATE ROLE demo_role LOGIN PASSWORD 'demo_password'; >> CREATE DATABASE demo_db WITH owner = demo_role;
默认安 …
Posted on 2022-05-02 in how-to • Tagged with serenity, asp.net core, dotnet core
Posted on 2020-10-03 in django • Tagged with wagtail, django, postgresql, git
参考链接
设置开发与运行环境,默认环境为全新安装,仅安装 SSH 和 基 …
常用命令:
$ django-admin.py startproject myprojectname . $ python manage runserver $ python manage startapp myappname