linux查看软件是否安装 linux有多种方式安装软件,查看某个软件是否安装的方法有以下几种: 以rpm包安装的软件使用 rpm -qa | grep “软件或者包的名字”命令查看 1rpm -qa | grep ruby 以deb包安装的软件使用dpkg -l | grep “软件或者包的名字”命令查看 1dpkg-l |grep ruby yum方法安装的软件可以用yum list installed | grep 2022-05-07 linux #linux
fastDfs与nginx整合 下载安装包https://github.com/happyfish100 作者:余庆(YuQing) 安装wget: 1yum install wget 下载: https://github.com/happyfish100/fastdfs-nginx-module/archive/refs/tags/V1.22.tar.gz 解压: 1tar -zxvf fastdfs-nginx-modul 2022-05-06 fastDfs #fastDfs
fastDfs单机版安装 安装FastDFS依赖FastDFS是C语言开发的应用。安装必须使用make、cmake和gcc编译器。 1yum install -y make cmake gcc gcc-c++ perl 下载安装包libfatscommon FastDFS分离出的一些公用函数包 FastDFS FastDFS本体 https://github.com/happyfish100 作者:余庆(YuQing) 2022-05-06 fastDfs #fastDfs
java使用fastdfs 前置安装了maven 使用fastdfs-client-javahttps://github.com/happyfish100/fastdfs-client-java 在maven项目pom.xml中添加依赖12345<dependency> <groupId>org.csource</groupId> <artifactId>fastd 2022-05-06 fastDfs #fastDfs
mysql记录不存在插入存在修改 引发因为项目中使用select for update引发的死锁问题。 select for update为什么会出现死锁select for update语句是当前读。会有加锁操作。 mysql加锁规则: 原则 1:加锁的基本单位是 next-key lock。希望你还记得,next-key lock 是前开后闭区间。 原则 2:查找过程中访问到的对象才会加锁。 优化 1:索引上的等值查询,给唯一 2022-05-06 mysql #mysql
mac虚拟机安装linux 安装vmware下载安装包,下一步就行了 下载ISO镜像找个网址下载就行了 https://www.centos.org/download/ 安装拖动ISO到vmware 自定义名称 选择“处理器和内存”,设置内存为1GB 选择“磁盘”,设置为24GB 启动 选择安装 选择语言 选择磁盘 设置网络 这时记录IP 设置root密码 开始安装 设置yum源为阿里云源12cd /etc/yum.repo 2022-05-06 linux #linux
node安装+hexo执行+布署网页 node安装下载:https://nodejs.org/en/ 点击安装 验证: node -v npm -v 创建环境变量: 123vim .bash_profile PATH=$PATH:/usr/local/bin/:wq 使环境变量生效: 1echo $PATH npm 下载时有问题,使用cnpm 12345npm get registrynpm config set regis 2022-05-06 node #hexo #node
mysql热备份 理论采用数据库已经入库的数据进行备份。对binlog进行备份。 准备数据库mysqldump逻辑备份1/usr/local/mysql/bin/mysqldump -h127.0.0.1 -P3306 -uroot -p'密码' trans-core-dev --single-transaction --default-character-set=utf8mb4 | gzip 2022-05-05 mysql #mysql
nginx四层负载 前置服务器上已经有nginx。 查看是否有ngx_stream_proxy_module1./nginx -V with后有ngx_stream_proxy_module,说明已安装。 configure arguments: 为以前的编译时的参数 安装ngx_stream_proxy_module 1234# 1 ./configure --with-stream + 加上原来的模块# 2ma 2022-04-22 nginx #nginx
20万数据导出 参考https://blog.csdn.net/weixin_33719619/article/details/88983710 https://www.csdn.net/tags/MtjacgxsMTM1NC1ibG9n.html https://blog.csdn.net/qq_40127376/article/details/124032521 方向考虑涉及到的软件及中间件等。 我这是个小项 2022-04-19 java #xlsx