会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
swore
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2024年2月21日
docker 手动安装部署jar包
摘要: 创建Dockerfile 文件 例: FROM jdk:11MAINTAINER tfinfo ADD ems-basic.jar /ems-gb.jar ENTRYPOINT ["java","-XX:+UseG1GC","-XX:+TieredCompilation","-Dspring.pro
阅读全文
posted @ 2024-02-21 19:39 swore
阅读(59)
评论(0)
推荐(0)
2024年1月13日
docker安装nginx
摘要: 1、查找镜像源 docker search nginx 2、拉取img镜像 docker pull nginx:latest 3、创建Nginx配置文件 启动前需要先创建Nginx外部挂载的配置文件( /home/nginx/conf/nginx.conf)之所以要先创建 , 是因为Nginx本身容
阅读全文
posted @ 2024-01-13 23:34 swore
阅读(129)
评论(0)
推荐(0)
docker 安装mysql
摘要: docker search mysql #查找镜像源 docker pull mysql:latest #拉取image 解决方案1.先创建一个简单的mysql容器实例 docker run -p 3306:3306 --name sample-mysql -e MYSQL_ROOT_PASSWOR
阅读全文
posted @ 2024-01-13 23:29 swore
阅读(48)
评论(0)
推荐(0)
Centos安装docker步骤
摘要: 安装docker 1、Docker 要求 CentOS 系统的内核版本高于 3.10 ,查看本页面的前提条件来验证你的CentOS 版本是否支持 Docker 。 通过 uname -r 命令查看你当前的内核版本:$ uname -r 2、使用 root 权限登录 Centos。确保 yum 包更新
阅读全文
posted @ 2024-01-13 21:10 swore
阅读(216)
评论(0)
推荐(0)
linux环境htop安装
摘要: 1、获取htop源码包 git clone https://github.com/htop-dev/htop 2、安装依赖 yum install ncurses-devel gcc 3、解压源码包,编译安装 ./configure make -j 8 make install 源码安装方式 安装支
阅读全文
posted @ 2024-01-13 20:20 swore
阅读(809)
评论(0)
推荐(0)
linux 安装最新版本git
摘要: 第一步,官网下载安装包 https://git-scm.com/download/linux git clone https://github.com/git/git 第二步,解压安装包 tar -zxvf git-2.34.1.tar.gz 第三步,安装编译环境 yum install curl-
阅读全文
posted @ 2024-01-13 19:41 swore
阅读(344)
评论(0)
推荐(0)
linux环境Python安装
摘要: 1、下载源码 华为云镜像地址下载python Python加速地址:https://repo.huaweicloud.com/python/ 2、安装前置依赖 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqli
阅读全文
posted @ 2024-01-13 19:26 swore
阅读(69)
评论(0)
推荐(0)
2021年1月21日
GIT高级
摘要: git checkout 分支名 命令:用于切换分支。 git checkout -- 文件名 撤销对文件的修改 checkout一个文件和带文件路径git reset 非常像,除了它更改的是工作目录而不是缓存区。不像提交层面的checkout命令,它不会移动HEAD引用,也就是你不会切换到别的分支
阅读全文
posted @ 2021-01-21 07:47 swore
阅读(59)
评论(0)
推荐(0)
2021年1月18日
Git基本使用
摘要: Git命令 设置与配置 git config 帮助命令 git help 初始化 git init git config --global user.name "guohongze" git config --global user.email guohongze@126.com 获取 git cl
阅读全文
posted @ 2021-01-18 07:32 swore
阅读(59)
评论(0)
推荐(0)
2020年10月22日
Linux安装最新版本git
摘要: ①、获取github最新的Git安装包下载链接,进入Linux服务器,执行下载,命令为: wget https://github.com/git/git/archive/v2.17.0.tar.gz ; v2.17.0.tar.gz 修改为官网最新版本 ②、压缩包解压,命令为: tar -zxvf
阅读全文
posted @ 2020-10-22 07:16 swore
阅读(272)
评论(0)
推荐(0)
1
2
下一页
公告