会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
艾薇-Ivy
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
20
下一页
2021年12月23日
docker容器中安装vim
摘要: 在使用docker容器时,有时候里边没有安装vim,敲vim命令时提示说:vim: command not found,这个时候就需要安装vim,可是当你敲apt-get install vim命令时,提示: Reading package lists... Done Building depend
阅读全文
posted @ 2021-12-23 13:12 艾薇-Ivy
阅读(2725)
评论(0)
推荐(0)
2021年12月22日
修改git代码源
摘要: 1、查看远程库 git remote -v 2 设置git远程库的用户名密码 git remote set-url origin [url] 如:git remote set-url origin http://username:passwd@10.74.120.140:3000/cb/ks.git
阅读全文
posted @ 2021-12-22 11:32 艾薇-Ivy
阅读(387)
评论(0)
推荐(0)
2021年12月20日
dockerfile centos配置文件_Dockerfile 方式定制 lnmp 环境
摘要: 现在容器化技术越来越成熟和流行,比传统的虚拟化技术确实是有很大的优势,所以流行是必然的。今天来实践一把,使用Docker的dockerfile方式定制lnmp环境。 环境配置 操作系统:CentOS Linux release 7.6.1810 Docker 版本:19.03.5 Nginx 版本:
阅读全文
posted @ 2021-12-20 16:45 艾薇-Ivy
阅读(285)
评论(0)
推荐(0)
2021年12月17日
rz lz scp tar zip
摘要: 安装命令: yum install lrzsz rz sz 【linux 和 windows 之间文件传输】 rz,sz是便是Linux/Unix同Windows进行ZModem文件传输的命令行工具,windows端需要支持ZModem的telnet/ssh客户端(比如SecureCRT) 运行命令
阅读全文
posted @ 2021-12-17 17:34 艾薇-Ivy
阅读(287)
评论(0)
推荐(0)
2021年11月29日
Docker搭建LNMP环境
摘要: Docker若未安装Docker,可参考以下资料进行安装:https://books.studygolang.com/docker_practice/install/ 安装docker curl -fsSL https://get.docker.com | bash -s docker --mirr
阅读全文
posted @ 2021-11-29 18:34 艾薇-Ivy
阅读(907)
评论(0)
推荐(0)
2021年10月18日
教你如何修改运行中的docker容器的端口映射
摘要: 在docker run创建并运行容器的时候,可以通过-p指定端口映射规则。但是,我们经常会遇到刚开始忘记设置端口映射或者设置错了需要修改。当docker start运行容器后并没有提供一个-p选项或设置,让你修改指定端口映射规则。那么这种情况我们该怎么处理呢?今天Docker君教你如何修改运行中的d
阅读全文
posted @ 2021-10-18 17:33 艾薇-Ivy
阅读(3393)
评论(0)
推荐(0)
解决:Failed to get D-Bus connection: Operation not permitted
摘要: docker中安装完httpd服务后,使用命令systemctl start httpd.service,发现报错,错误信息:Failed to get D-Bus connection: Operation not permitted 解决方法:使用命令docker run -d --name c
阅读全文
posted @ 2021-10-18 16:20 艾薇-Ivy
阅读(2758)
评论(0)
推荐(0)
2021年10月13日
Swoole入门之 Centos7下安装Swoole4
摘要: 1、环境介绍 centos7+nginx1.12+php7.2+mysql5.6 2、先安装PHP7的pcre模块,跟php5.6有很大的不同 $ wget http://pear.php.net/go-pear.phar $ php go-pear.phar $ ln -s /usr/local/
阅读全文
posted @ 2021-10-13 15:56 艾薇-Ivy
阅读(484)
评论(0)
推荐(0)
2021年10月12日
curl和wget的区别和使用
摘要: curl和wget基础功能有诸多重叠,如下载等。 非要说区别的话,curl由于可自定义各种请求参数所以在模拟web请求方面更擅长;wget由于支持ftp和Recursive所以在下载文件方面更擅长。类比的话curl是浏览器,而wget是迅雷9。 1.下载文件 curl -O http://man.l
阅读全文
posted @ 2021-10-12 14:28 艾薇-Ivy
阅读(117)
评论(0)
推荐(0)
Linux CentOS7 开启80,443端口外网访问权限
摘要: 一、查看系统防火墙状态(如果返回 running 代表防火墙启动正常) 1 firewall-cmd --state 二、开启端口外网访问 1、添加端口 返回 success 代表成功(--permanent永久生效,没有此参数重启后失效) 1 firewall-cmd --zone=public
阅读全文
posted @ 2021-10-12 13:37 艾薇-Ivy
阅读(1503)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
20
下一页
公告