会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Roy_home
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2021年4月28日
Centos测试服务器同步时间
摘要: 1. 安装ntpdate命令 [root@localhost ~]# yum install ntpdate -y 2. 用ntpdate命令对时 [root@localhost ~]# ntpdate ntp.aliyun.com 3. 写计划任务,每天进行一次对时
阅读全文
posted @ 2021-04-28 16:48 Shanghai-Roy
阅读(104)
评论(0)
推荐(0)
2021年4月22日
Centos7二进制安装Mysql5.7.36
摘要: 1. 安装mysql程序运行的依赖 [root@VM-0-11-centos opt]# yum -y install make gcc-c++ cmake bison-devel ncurses-devel perl vim numactl wget 2. 下载二进制的mysql5.7.36二进制
阅读全文
posted @ 2021-04-22 18:15 Shanghai-Roy
阅读(186)
评论(0)
推荐(0)
Centos7 yum安装mysql5.7
摘要: 1. 下载mysql源rpm包 [root@VM-0-11-centos ~]# wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm 2. 安装mysql软件源 [root@VM-0-11-centos ~
阅读全文
posted @ 2021-04-22 11:14 Shanghai-Roy
阅读(1365)
评论(0)
推荐(0)
2021年4月19日
Docker部署nginx
摘要: 1. docker search nginx #查找docker镜像 2. docker pull nginx #docker拉取nginx镜像 3. docker images #查看docker镜像 4. docker run -d --name nginx1 -p 80:80 imageid
阅读全文
posted @ 2021-04-19 11:59 Shanghai-Roy
阅读(136)
评论(0)
推荐(0)
2021年4月15日
Docker常用命令总结
摘要: 1. docker images #查看本机docker镜像有哪些 2. docker search #在docker镜像源中查找相应镜像 3. docker pull #从镜像源中拉取镜像 4. docker run -it imageid /bin/bash #交互式bash解释器模式启动某个镜
阅读全文
posted @ 2021-04-15 15:24 Shanghai-Roy
阅读(197)
评论(0)
推荐(0)
2021年4月14日
Centos7安装docker及配置腾讯云镜像源
摘要: 1. 准备工作 [root@localhost ~]# systemctl stop firewalld[root@localhost ~]# setenforce 0 2.执行安装命令 [root@localhost ~]# yum install -y yum-utils device-mapp
阅读全文
posted @ 2021-04-14 16:53 Shanghai-Roy
阅读(2116)
评论(0)
推荐(0)
2020年12月17日
Linux小知识整理
摘要: 1. 服务器重启之后,让服务器自动运行某个命令。 可以在crontab里面 用某个用户创建计划任务 @reboot command 2.
阅读全文
posted @ 2020-12-17 17:15 Shanghai-Roy
阅读(74)
评论(0)
推荐(0)
2020年12月8日
jenkins的迁移
摘要: 1. 迁移背景: 由于Centos6系列已停止补丁更新,故需要升级到Centos7系列和Centos8,考虑再三,还是使用成熟稳定点的Centos7系列 2. 迁移前准备: 备份.jenkins隐藏文件,一般在启动jenkins用户的家目录里面,大部分在普通用户的/home/xx/下面 备份ansi
阅读全文
posted @ 2020-12-08 12:24 Shanghai-Roy
阅读(412)
评论(0)
推荐(0)
2020年11月18日
Centos7.6源码编译安装nginx1.18.0
摘要: 一、 环境准备 1. Centos7.6服务器1台 2.winscp+putty 连接工具1套 二、 开始安装 1. 用putty连接上centos7服务器,输入服务器ip,连接端口 2. 输入服务器的超级管理员账号和密码 3. 编译安装nginx1.8.0 [root@VM-8-16-centos
阅读全文
posted @ 2020-11-18 14:12 Shanghai-Roy
阅读(542)
评论(0)
推荐(0)
2020年11月13日
Python理论知识汇总
摘要: 一、 数据类型 1. 整数类型,比如 1, 123, -9,0等,整数在计算机中的运算都是精确的 2. 浮点数类型,也就是小数,比如 3.14, -0.6,9.6等 3.字符串类型,对应生活中的非数值的内容,比如hello world, 姓名,性别等 4. 布尔值类型, 真或者假,是或者否,真表示为
阅读全文
posted @ 2020-11-13 16:17 Shanghai-Roy
阅读(237)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告