linux如何查看puma版本,linux

存档

‘linux’ 分类的存档

2020年12月3日

1.新建Personal access tokens 点击自己头像,选择 Settings :在左边栏选择 Developer settings :然后在左边栏选择 Personal access tokens 点击头上的 Generate new token 创建一个新的 Token :注意: 创建完成后需要保存好这个 Token ,它只会出现这一次。 2. 设置项目的Secrets 没有项目新建项目,有的直接点击项目中的 Settings ,在 Secrets 的栏目中,点击 New repository secret 将刚才创建的 Token 填写进去。 Name可以自定义,用在action文件中设置环境变量使用。 新建 Secrets 报错:Failed to add secret. Name is...

2020年11月29日

ruby /usr/local/rvm/gems/ruby-2.4.9/bin/puma -C /home/wwwroot/redis.com.cn/puma.rb: symbol lookup error: /usr/local/rvm/gems/ruby-2.4.9/gems/puma-5.0.4/lib/puma/puma_http11.so: undefined symbol: OPENSSL_init_ssl 或者 current directory: /usr/local/rvm/gems/ruby-2.4.9/gems/openssl-2.2.0/ext/openssl make "DESTDIR=" compiling openssl_missing.c In file included from /usr/local/include/openssl/bn.h:20:0, from /usr/local/include/openssl/engine.h:18, from openssl_mis...

分类:标签:

2020年10月23日

通过 docker 部署 redis,启动 docker 时需要依赖 containerd。其实跟 redis 关系不大,主要是 docker 依赖于 containerd。安装完成 docker 启动后可能会遇到如下错误: ./containerd: symbol lookup error: ./containerd: undefined symbol: seccomp_version 1 ./containerd: symbol lookup error: ./containerd: undefined symbol: seccomp_version缺少对应版本的 libseccomp, 有两种可能:系统没有安装 libseccomp 系统安...

2020年10月22日

systemd 代替 init,可以帮助我们不用写复杂的脚本来启停服务,大多数情况下配置 ExecStart 就能完成基本任务。很多人会对关闭表示疑问:很多 unit 文件中只有 ExecStart 命令,没有ExecStop、ExecReload命令也能实现关闭和重启,这是为什么? 例如,关闭防火墙服务执行systemctl stop firewalld。 执行后,如果没有配置ExecStop,Systemd 默认将发送SIGTERM信号到主进程,并等待TimeoutStopSec配置的时间后查看进程是否已终止,如果没配置这个时间默认是90s。 90s以后,systemd 会检查进程有没有停止成功,如果还没停止,则 systemd ...

2020年9月24日

本文完美在centos7或8下验证mysql5.7的安装,解决了/var/run文件不能创建的问题,并且创建了systemd文件来管理mysql启动和关闭。 mysql安装前的准备: 编译环境依赖 yum -y install cmake make gcc gcc-c++ bison ncurses ncurses-devel 1 yum -y install cmake make gcc gcc-c++ bison ncurses ncurses-devel下载安装包 wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.29.t...

2020年9月23日

centos使用firewall替换了iptables,操作起来更加语义化,例如永久开放防火墙80端口和443端口。 firewall-cmd --add-service=http --permanent firewall-cmd --add-service=https --permanent firewall-cmd --reload 123 firewall-cmd --add-service=http --permanentfirewall-cmd --add-service=https --permanentfirewall-cmd --reload

分类:标签:

2020年9月21日

1、centos6的网卡重启方法:service network restart centos7的网卡重启方法:systemctl restart network 2、centos重启网口方法: 关闭网卡口:ifdown eth0 或 ifconfig eth0 down 启动网卡口:ifup eth0 或 ifconfig eth0 up 3、配置网卡ip 增加ip:ifcfg eth0 add 192.168.1.251/24 删除ip:ifcfg eth0 del 192.168.1.251/24  或 ifcfg eth0 stop 4、DNS配置文件:cat /etc/resolv.conf 5、关闭防火墙并设置开机不启动 查看防火墙状态:systemctl status firewalld.service 关闭:systemctl stop firewalld 开启:systemctl start f...

2020年9月18日

php安装redis扩展,可以通过源码编译,也可以通过pecl来快速安装,本文介绍通过pecl安装redis扩展。 安装前准备: yum -y install libzstd-devel pecl install lzf pecl install zstd 查看redis扩展的版本,通过 pecl search redis 可以看到redis扩展的最新版本是5.3.1 [root@67 ~]# /usr/local/php/bin/pecl search redis Retrieving data...0% Matched packages, channel pecl.php.net: ======================================= Package Stable/(Latest) Local redis 5.3.1 (stable) PHP extension for interfacing with Redis ...

2020年9月17日

网上很多升级openssl的文档,升级完成后相关设置不完整,导致旧的版本存在,编译需要使用openssl的程序是会报错。本文完整介绍整个安装过程,并在centos 7下亲测有效。 从源码安装openssl 1. 下载并解压: cd ~ wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz tar -zxvf openssl-1.1.1g.tar.gz cd openssl-1.1.1g 1234 cd ~wget https://www.openssl.org/source/openssl-1.1.1g.tar.gztar -zxvf openssl-1.1.1g.tar.gzcd openssl-1.1.1g ...

分类:标签:

2020年9月17日

现在大多数php环境都推荐使用php7版本,本文主要介绍如何安装php-fpm7.2 安装环境准备 sudo yum install epel-release -y sudo yum install autoconf libtool re2c bison libxml2-devel bzip2-devel libcurl-devel libpng-devel libicu-devel gcc-c++ libmcrypt-devel libwebp-devel libjpeg-devel openssl-devel -y 12 sudo yum install epel-release -ysudo yum install autoconf libtool re2c bison libxml2-devel bzip2-devel libcurl-devel libpng-d...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值