创建表:create table people( id int primary key auto_increment not null, name varchar(10) not null, age int default 18); 创建学生表: create table students(id i ...
分类:
数据库 时间:
2021-06-04 18:53:42
阅读次数:
0
C程序编译过程: 预处理、编译、汇编、连接; 一 预处理 预处理的过程主要处理包括以下过程: 将所有的#define删除,并且展开所有的宏定义 处理所有的条件预编译指令,比如#if #ifdef #elif #else #endif等 处理#include 预编译指令,将被包含的文件插入到该预编译指 ...
分类:
其他好文 时间:
2021-06-04 18:52:56
阅读次数:
0
列出镜像: docker images REPOSITORY: 镜像所在仓库名称 TAG: 镜像版本 IMAGE ID: 镜像id CREATED: 镜像创建时间 SIZE: 镜像大小 唯一表示一个镜像: repository:tag 或者imageId 网络中搜索需要的镜像: docker sea ...
分类:
其他好文 时间:
2021-06-04 18:47:30
阅读次数:
0
HTML-body区域常用标签 文本标签 标题标签 <h1>标题</h1> 字体标签 <b></b><strong>加粗</strong> <sup>上标</sup> <sub>下标</sub> <s>删除线</s> <u>下划线</u> <i></i><em>斜体</em> <code></cod ...
分类:
Web程序 时间:
2021-06-04 18:43:36
阅读次数:
0
创建第一个启动shell脚本,如tomcat_restart.sh,内容 #/bin/sh tomcatmsg=$(ps -ef|grep tomcat|awk '{print $1$8}'|grep '/xxxx/xxx/xxxx/jdk/bin/java/'|wc -l) if [ $tomca ...
分类:
系统相关 时间:
2021-06-03 18:29:06
阅读次数:
0
Linux 平台上安装 Git 的工作需要调用 curl,zlib,openssl,expat,libiconv 等库的代码,所以需要先安装这些依赖工具。 在有 yum 的系统上(比如 Fedora)或者有 apt-get 的系统上(比如 Debian 体系),可以用下面的命令安装: 各 Linux ...
分类:
其他好文 时间:
2021-06-03 18:28:05
阅读次数:
0
Linux通过手机USB网络共享上网 因为各种各样的原因,Linux系统有时无法通过自身网卡接入互联网,而需要通过手机才能接入互联网。 设置方法如下: 1.连接好数据线并在手机设置中打开“USB网络共享”。 2. 终端中查看是否将USB接口识别为网络接口。 ip addr 或者 ifconfig 输 ...
分类:
移动开发 时间:
2021-06-03 18:20:05
阅读次数:
0
作者:Grey 原文地址:Linux下安装Nginx 版本 Nginx:1.20.1 操作系统:CentOS 7 安装必要工具和依赖 yum -y install wget gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-dev ...
分类:
系统相关 时间:
2021-06-03 18:15:31
阅读次数:
0
我个人曾经有一次经历: 就是在修改文件夹权限的时候,本来该执行: #chmod 777 -R ./ 结果我漏掉了那个".";执行的命令是chmod 777 -R /。 这个命令一定慎用,否则容易酿成大错。 结果就出大问题了。系统崩溃。 解决办法: 到正常的文件系统中获取一下权限列表。 #getfac ...
分类:
系统相关 时间:
2021-06-03 18:14:24
阅读次数:
0
linux下python3.6.7安装yum -y install gcc yum -y install wget openssl openssl-develtar xvf Python-3.6.7.tgzcd Python-3.6.7/ ./configure --prefix=/usr/loca ...
分类:
编程语言 时间:
2021-06-03 18:13:34
阅读次数:
0