摘要: 1.安装rabbitmq-c wget -c https://github.com/alanxz/rabbitmq-c/releases/download/v0.8.0/rabbitmq-c-0.8.0.tar.gz tar zxf rabbitmq-c-0.8.0.tar.gz cd rabbit 阅读全文
posted @ 2021-08-16 18:38 一步随风 阅读(205) 评论(0) 推荐(0)
摘要: 1.安装erlang(rabbitmq是用erlang语言开发的,erlang版本需要22.x以上) [root@VM-0-7-centos ~]# yum install erlang 2.按装socat依赖 [root@VM-0-7-centos ~]# yum install socat 3. 阅读全文
posted @ 2021-08-16 18:20 一步随风 阅读(451) 评论(1) 推荐(0)
摘要: gitlab比较吃内存建议4G以上的内存 1.安装gitlab的依赖,如果报错不用管,centos8没有policycoreutils-python yum源 yum install -y curl policycoreutils-python openssh-server 2.启动ssh并设置为开 阅读全文
posted @ 2021-04-26 15:25 一步随风 阅读(527) 评论(0) 推荐(0)
摘要: 直接上代码,一目了然。 <?php include_once '../function.php'; //数据库连接 $con = mysqli_connect('localhost','root','root','test'); if(mysqli_connect_errno($con)){ ech 阅读全文
posted @ 2020-05-16 13:05 一步随风 阅读(232) 评论(0) 推荐(0)
摘要: PECL 上已经提供了用于 Window 平台的预编译 php mongodb 驱动二进制包(下载地址: https://pecl.php.net/package/mongodb),你可以下载与你 php 对应的版本,但是你需要注意以下几点问题: VC6 是运行于 Apache 服务器 Thread 阅读全文
posted @ 2020-05-08 10:56 一步随风 阅读(224) 评论(0) 推荐(0)
摘要: 一启动mongodb数据库mongod --port 端口号二客户端操作1.显示数据库集合show dbs2.新建数据库use shen3.建立表以及添加数据db.user.insert({"name":"shen","age":"26"})4.显示库下面表的集合show collections5. 阅读全文
posted @ 2020-05-07 15:54 一步随风 阅读(488) 评论(0) 推荐(0)
摘要: please install the ext-async extension, using SwooleAsyncClient报错? 原因: $client=new swoole\Client(SWOOLE_SOCK_TCP,SWOOLE_SOCK_SYNC);这种写法4.4版本已经不支持了 改为: 阅读全文
posted @ 2020-05-05 23:41 一步随风 阅读(1186) 评论(0) 推荐(0)
摘要: set global validate_password_policy=LOW; 阅读全文
posted @ 2019-09-04 22:12 一步随风 阅读(117) 评论(0) 推荐(0)
摘要: mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'youpassword' WITH GRANT OPTION; 阅读全文
posted @ 2019-09-04 22:11 一步随风 阅读(232) 评论(0) 推荐(0)
摘要: 2种解决方法: 1. 用户改成Apache的用户就行了。 2.应该把权限改为777,chmod -R 777 runtime。 阅读全文
posted @ 2019-08-30 15:18 一步随风 阅读(2565) 评论(0) 推荐(0)