上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: docker run -d --name nexus3 --restart=always \ -p 8081:8081 \ --mount src=nexus-data,target=/nexus-data \ sonatype/nexus3 阅读全文
posted @ 2020-09-17 14:59 一毛丶丶 阅读(653) 评论(0) 推荐(0)
摘要: 现象:调用服务接口超时 原因: endpoint url 地址映射的是VPC内IP 外部不能访问 处理方法: 方法一:更改hosts解析,把解析的IP地址改成浮动IP,或者外部能够访问的IP地址 [root@controller1 ~]# cat /etc/hosts 127.0.0.1 local 阅读全文
posted @ 2020-09-03 18:23 一毛丶丶 阅读(617) 评论(0) 推荐(0)
摘要: 方法一: 使用openstack命令获取 (id的值就是token) [root@controller1 ~]# source admin-openrc [root@controller1 ~]# openstack token issue + + + | Field | Value | + + + 阅读全文
posted @ 2020-09-03 16:49 一毛丶丶 阅读(2090) 评论(0) 推荐(0)
摘要: 环境准备 使用的系统软件 名称 说明 centos 7.x libfastcommon FastDFS分离出的一些公用函数包 FastDFS FastDFS本体 fastdfs-nginx-module FastDFS和nginx的关联模块 nginx nginx1.15.4 编译环境 yum in 阅读全文
posted @ 2020-09-03 15:21 一毛丶丶 阅读(491) 评论(0) 推荐(0)
摘要: mysqldiff 针对 MySQL 数据库表结构的差异 SQL 工具。 安装 pip install pyinstaller pip install click pip install mysql-connector-python 打包 pyinstaller -F mysqldiff.py 使用 阅读全文
posted @ 2020-09-01 16:46 一毛丶丶 阅读(505) 评论(0) 推荐(0)
摘要: django默认使用sqlite,然后想使用MySQL数据库 在项目的setting文件中找到 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME' : os.path.join(BASE_DIR, 'db 阅读全文
posted @ 2020-08-31 16:29 一毛丶丶 阅读(351) 评论(0) 推荐(0)
摘要: 一、下命令查使用内存最多的5个进程 ps -aux | sort -k4nr | head -5 说明:ps -aux中(a指代all——所有的进程,u指代userid——执行该进程的用户id,x指代显示所有程序,不以终端机来区分) sort -k4nr中(k代表从第几个位置开始,后面的数字4即是其 阅读全文
posted @ 2020-08-31 16:19 一毛丶丶 阅读(836) 评论(0) 推荐(0)
摘要: # wget http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/a/axel-2.4-9.el7.x86_64.rpm # rpm -ivh axel-2.4-9.el7.x86_64.rpm 选项参数: --max- 阅读全文
posted @ 2020-08-25 18:38 一毛丶丶 阅读(153) 评论(0) 推荐(0)
摘要: Docker image of vsftpd server based on Alpine 3.4 ##Exemple1 usage docker run \ --name vsftpd \ -d \ -e FTP_USER=www \ -e FTP_PASS=my-password \ -e PA 阅读全文
posted @ 2020-07-21 17:14 一毛丶丶 阅读(980) 评论(0) 推荐(0)
摘要: CentOS 7 iSCSI客户端使用配置 1、查看安装是否安装iSCSI驱动 2、安装iscsi驱动 3、配置客户端名称 4、修改配置文件 5、查找目标存储 6、查看核对信息 7、登录 8、查看核对登录信息 9、查看磁盘情况 10、格式化磁盘 PS:SAN硬盘通过iscsiadm扫描后一般能看到三 阅读全文
posted @ 2020-05-21 00:40 一毛丶丶 阅读(1803) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页