上一页 1 2 3 4 5 6 ··· 40 下一页

go语言 rsa加密

摘要: // rsa.go package main import ( "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/pem" "errors" "fmt" ) // 公钥和私钥可以从文件中读取 var privateKey = []byte(` -----BEGIN RSA PRIVATE KE... 阅读全文
posted @ 2017-03-06 15:19 liuwenbohhh 阅读(419) 评论(0) 推荐(0) 编辑

重启fpm

摘要: ps aux | grep php-fpm cat /etc/php-fpm.conf kill -USR2 `cat /run/php-fpm/php-fpm.pid 阅读全文
posted @ 2017-02-23 12:18 liuwenbohhh 阅读(125) 评论(0) 推荐(0) 编辑

cp复制文件夹命令

摘要: cp -r phpMyAdmin ./phpMyAdmin201217 阅读全文
posted @ 2016-12-17 18:17 liuwenbohhh 阅读(78) 评论(0) 推荐(0) 编辑

centos7 添加svn

摘要: 预期目的: 1、仓库放在 /var/svn/ 目录下,并且仓库名为 project 2、创建用户组lsgogroup,该组下添加两个成员lsgoweb1、lsgoweb2,密码直接用用户名,两用户可以checkout代码和提交代码 3、利用SVN的钩子实现当仓库的代码更新的时候自动同步至我们的web 阅读全文
posted @ 2016-12-17 11:08 liuwenbohhh 阅读(272) 评论(0) 推荐(0) 编辑

centos7 mariadb

摘要: 闲置已久的空间环境配置忘得差不多了,今天得空整理,重置了磁盘重新搭建环境,首先在CentOS 7.0安装MariaDB的数据库,在这里记录下安装过程,以便以后查看。 1、安装MariaDB 安装命令 安装完成MariaDB,首先启动MariaDB 设置开机启动 接下来进行MariaDB的相关简单配置 阅读全文
posted @ 2016-12-16 17:13 liuwenbohhh 阅读(136) 评论(0) 推荐(0) 编辑

nginx配置之取消index.php同时不影响js,css功能

摘要: 附apache: 阅读全文
posted @ 2016-08-15 15:41 liuwenbohhh 阅读(675) 评论(0) 推荐(0) 编辑

测试post接口curl

摘要: function post($url,$data=array()) { if ( !empty($data) ) { $data=http_build_query($data); } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); cu 阅读全文
posted @ 2016-08-01 17:08 liuwenbohhh 阅读(193) 评论(0) 推荐(0) 编辑

boos直聘扫码直接登陆js代码

摘要: 阅读全文
posted @ 2016-07-27 14:09 liuwenbohhh 阅读(664) 评论(0) 推荐(0) 编辑

保证唯一的一种js提交数据方式,还不错

摘要: //表单数据 这个表单主要是利用session防止重复ajax提交,想法蛮奇特的。网址:http://www.itaoqian.net/ 阅读全文
posted @ 2016-07-14 11:18 liuwenbohhh 阅读(217) 评论(0) 推荐(0) 编辑

centos7设置网关

摘要: 1.cd /etc/sysconfig/network-scripts 2.vi 网络文件 3.service network restart 阅读全文
posted @ 2016-07-13 15:37 liuwenbohhh 阅读(535) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 40 下一页