会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
浪迹天涯-阿震
博客园
首页
新随笔
联系
订阅
管理
2018年11月8日
查看CentOS版本方法
摘要: 查看CentOS版本方法 有以下命令可以查看:# lsb_release -aLSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID: CentOSDescript
阅读全文
posted @ 2018-11-08 16:55 浪迹天涯-阿震
阅读(26757)
评论(0)
推荐(1)
2018年8月30日
最新省市区划分码code
摘要: 爬取国家统计局省市区code 提供php爬取脚本以及json和sql https://github.com/zzDylan/area-code 觉得好用给个star,3q
阅读全文
posted @ 2018-08-30 14:53 浪迹天涯-阿震
阅读(2111)
评论(0)
推荐(0)
2018年4月19日
编译安装php、nginx
摘要: 以centos6.6为例 1、安装以及配置php 首先在官网下载源码包http://php.net/downloads.php 这里下载php-7.1.16 接下来进行参数配置,配置前如果没有libxml2和libxml2-devel会报错,所以应该更新libxml2并安装libxml2-devel
阅读全文
posted @ 2018-04-19 11:42 浪迹天涯-阿震
阅读(619)
评论(0)
推荐(0)
2018年4月18日
nginx配置https
摘要: 官方文档 http://nginx.org/en/docs/http/configuring_https_servers.html 官方的最简单的https配置: php的常规的http配置: php的https配置(http转发到https):
阅读全文
posted @ 2018-04-18 23:00 浪迹天涯-阿震
阅读(1621)
评论(0)
推荐(0)
CentOS7使用firewalld打开关闭防火墙与端口
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc
阅读全文
posted @ 2018-04-18 22:18 浪迹天涯-阿震
阅读(5561)
评论(0)
推荐(0)
查看当前linux版本
摘要: 如果命令不存在,则yum安装
阅读全文
posted @ 2018-04-18 21:33 浪迹天涯-阿震
阅读(248)
评论(0)
推荐(0)
2017年1月12日
centos安装composer以及使用国内镜像
摘要: 下载composer.phar文件 将composer.phar移动到环境变量中并且更名为composer 使用国内镜像
阅读全文
posted @ 2017-01-12 12:04 浪迹天涯-阿震
阅读(6131)
评论(0)
推荐(0)
2017年1月9日
在centos集成服务器上安装imap扩展
摘要: yum install libc-client-devel.x86_64(如果不行就yum install libc-client-devel)ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so cd oneinstack/srctar x
阅读全文
posted @ 2017-01-09 15:28 浪迹天涯-阿震
阅读(1632)
评论(0)
推荐(0)
2016年12月26日
linux常用命令
摘要: find find /data -name "test.txt" -print查找到根目录下data目录中的test.txt的具体位置 which which指令会在PATH变量指定的路径中,搜索某个系统命令的位置,并且返回第一个搜索结果 whereis whereis命令是定位可执行文件、源代码文
阅读全文
posted @ 2016-12-26 11:34 浪迹天涯-阿震
阅读(171)
评论(0)
推荐(0)
2016年12月25日
为git配置ssh
摘要: git clone有两种方式,一种是http,一种是ssh。 配置ssh的好处是:在每次push代码的时候不需要输入密码。 bash上生成秘钥: 会生成一个公钥和一个密钥,公钥是放在gibhub或者gitlab类似的平台上的,而密钥是放在自己电脑上的 tortoise是常用的git图形化工具。 用t
阅读全文
posted @ 2016-12-25 01:03 浪迹天涯-阿震
阅读(260)
评论(0)
推荐(0)
下一页
公告