1 int ngx_cdecl 2 main(int argc, char *const *argv) 3 { 4 ngx_buf_t *b; 5 ngx_log_t *log; 6 ngx_uint_t i; 7 ngx_cycle_t *cycle, init_cycle; 8 ngx_conf ...
分类:
其他好文 时间:
2021-03-09 13:10:05
阅读次数:
0
linux上nginx位置/usr/local/nginx。 停止nginx ps -ef | grep nginx 找到nginx进程(会列出三个) kill -QUIT <进程号> 杀掉进程(上面中,找到root且是nginx的根进程号) 后台nginx启动 /usr/local/nginx/s ...
分类:
系统相关 时间:
2021-03-08 14:17:06
阅读次数:
0
ModuleNotFoundError: No module named 'apt_pkg' Ubuntu18 从python3.6手动升级到python3.9后,apt update无法执行,显示没有apt_pkg模块。 查阅到四种解决方法,我是用的第三种。 第一种: # 创建一个软链接 cd / ...
分类:
其他好文 时间:
2021-03-08 14:14:27
阅读次数:
0
一、MDI简介 MDI就是多文档界面(Multi-document Interface,MDI)应用程序 MDI就是在主窗口里创建多个同类型的MDI子窗口,这些MDI子窗口在主窗口里显示,并共享主窗口上工具栏和菜单等操作功能,主窗口上的操作都针对当前活动的MDI子窗口进行 二、QMdiArea组件 ...
分类:
其他好文 时间:
2021-03-06 14:59:05
阅读次数:
0
Step 1 — Installing Apache and Updating the Firewall Adjust the Firewall to Allow Web Traffic sudo apt update sudo apt upgrade sudo apt install apache ...
分类:
系统相关 时间:
2021-03-06 14:52:16
阅读次数:
0
前面字体设的是 Ubuntu Mono,没有的可以去Ubuntu里拷一份,字体放大了点。剩下的是一些基本的操作,可按需取用。 开启自动全屏仅适用于Windows系统。 1 (custom-set-variables 2 ;; custom-set-variables was added by Cus ...
分类:
系统相关 时间:
2021-03-06 14:43:24
阅读次数:
0
在linux服务器(ubuntu)上搭建一个在线的jupyter notebook ...
分类:
系统相关 时间:
2021-03-06 14:39:24
阅读次数:
0
centos 7以上是用Systemd进行系统初始化的,Systemd 是 Linux 系统中最新的初始化系统(init),它主要的设计目标是克服 sysvinit 固有的缺点,提高系统的启动速度。关于Systemd的详情介绍在这里。 Systemd服务文件以 .service结尾,比如现在要建立n ...
分类:
其他好文 时间:
2021-03-06 14:24:34
阅读次数:
0
安装前准备:1.准备一个U盘安装【大白菜U盘启动】或者【U盘启动】类似的启动盘,可以进入winpe系统, 把工控机的两个硬盘(128G和1T)重新删除和创建;2.准备ubuntu U盘安装盘:镜像下载地址 http://releases.ubuntu.com/16.04/ 下载ubuntu-16.0 ...
分类:
系统相关 时间:
2021-03-06 14:12:03
阅读次数:
0
cd /usr/local/nginx #到nginx目录下 ./sbin/nginx #启动nginx ./sbin/nginx -t #检测配置文件 ps aux|grep nginx #查看nginx进程 nginx配置文件修改后,执行nginx -t successful。执行nginx - ...
分类:
其他好文 时间:
2021-03-05 13:30:31
阅读次数:
0