简介:实战演练php服务的搭建 PHP是一种脚本语言,常用于做动态网站的。 源码编译安装: 安装依赖组件: yum -y install gcc gcc-c++ bzip2 bzip2-devel bzip2-libs python-devel ncurses ncurses- devel open ...
分类:
Web程序 时间:
2020-11-30 16:11:16
阅读次数:
15
1.由于rabbitmq是基于erlang语言开发的,所以必须先安装erlang。 安装依赖 yum -y install gcc glibc-devel make ncurses-devel openssl-devel xmlto perl wget gtk2-devel binutils-dev ...
分类:
其他好文 时间:
2020-11-30 16:03:52
阅读次数:
5
编辑用户级配置文件 vim ~/.bashrc 添加配置信息: export PATH=/usr/local/mongodb/mongodb-3.6.5/bin:$PATH (中间那部分就是你的安装目录下的bin) 保存退出,刷新:source ~/.bashrc 我们输入mongo,显示版本信息, ...
分类:
其他好文 时间:
2020-11-27 11:48:48
阅读次数:
36
1.卸载python(防止未卸载干净) rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps #强制删除已安装程序及其关联 whereis python|xargs rm -frv #删除所有残余文件 #xargs,允许你对输出执行其他某些命 ...
分类:
其他好文 时间:
2020-11-27 11:39:37
阅读次数:
9
在CentOS容器内执行 yum install passwd openssl openssh-server -y # Ubuntu把yum改成apt-get ssh-keygen -q -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N '' ssh-ke ...
分类:
系统相关 时间:
2020-11-27 11:39:01
阅读次数:
15
问题一:问题现象:[root@localhostgit-2.5.0]#autoconf无法执行:解决方案:[root@localhostgit-2.5.0]#yuminstall-yautoconf问题二:问题现象:[root@localhostgit-2.5.0]#make/usr/bin/perlMakefile.PLPREFIX=‘/usr/local/git‘INSTALL_BASE=‘‘
分类:
其他好文 时间:
2020-11-27 11:25:03
阅读次数:
7
第一步:安装 crontab ,命令 yum -y install vixie-cron 扩展:service crond start //启动服务 service crond stop //关闭服务 service crond restart //重启服务 service crond reload ...
分类:
系统相关 时间:
2020-11-27 11:08:43
阅读次数:
11
print("********如何实现switch-case********") local switch = { [1] = function() print ("case1") end, [2] = function() print ("case2") end, [3] = function() ...
分类:
其他好文 时间:
2020-11-27 11:06:56
阅读次数:
4
无重复字符的最长子串 输入: "abcabcbb" 输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。 class Solution { public: int lengthOfLongestSubstring(string s) { int m[256] = {0}; ...
分类:
编程语言 时间:
2020-11-27 11:02:48
阅读次数:
9
1. 安装Nginx $ vim /etc/yum.repos.d/nginx.repo [nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/7/$basearch/ gpgcheck=0 en ...
分类:
其他好文 时间:
2020-11-26 14:41:22
阅读次数:
5