在linux中安装源码,在源码目录下使用 ./configure --prefix=xxx --with=xxx 其中configure是一个可执行脚本, --prefix 选项就是配置安装的路径,如果不配置该选项,安装后可执行文件默认放在/usr/local/bin,库文件默认放在/usr/loc ...
分类:
其他好文 时间:
2018-04-22 21:59:59
阅读次数:
9
在虚拟机安装后。在项目中加入redis 想测试一下功能 然后在物理机死活连不上。 1.用物理机ping 虚拟机的IP 通。。。。 2.然后。把redis.conf 里面bind 0.0.0.0 依然没有效果 还是连不上。访问项目接口redis链接依旧拿不到。 try{ 代码 } 没有抛出来 手动处理 ...
分类:
其他好文 时间:
2018-04-22 21:58:17
阅读次数:
7
树莓派上手之后,让我们开始做一些简单实用的功能吧。所有这些和使用 Linux 是一样的。 先记录下我自己的其他软件的安装过程,后面我也会提供其他文章的说明。 树莓派重装系统后需要完成对事情 安装VNC,通常网上很多教程都是教我们怎么安装VNC服务器即tightvncserver,其实raspberr ...
分类:
其他好文 时间:
2018-04-22 13:12:47
阅读次数:
12
You have an empty repository To get started you will need to run these commands in your terminal. Configure Git for the first time git config --global ...
分类:
其他好文 时间:
2018-04-22 13:11:53
阅读次数:
16
1、安装环境: linux-redhat7 2、下载redis安装文件 http://download.redis.io/releases/redis-4.0.9.tar.gz 3、安装redis,需要gcc编译环境,所以需要先安装gcc环境 yum install gcc 4、解压redis压缩文 ...
分类:
数据库 时间:
2018-04-22 12:50:32
阅读次数:
8
dnf是新型的rpm包管理工具,功能比yum更强大 第一步: wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64/dnf conf 0.6.4 2.sdl7.noarch.rpm 第二步: wget http://s ...
分类:
其他好文 时间:
2018-04-22 10:45:53
阅读次数:
10
安装都是老生长谈了,这里推荐俩个文章看看把。:打开一个cmd窗口 使用cd命令切换目录到 C:\redis 运行 redis-server.exe redis.conf(安装的关键指令) 。 启动Redis的话: 1:c:\>redis\redis-cli.exe -h 127.0.0.1 -p 6 ...
分类:
其他好文 时间:
2018-04-22 00:57:29
阅读次数:
27
优化linux中的内核,即/etc/sysctl.conf
分类:
Web程序 时间:
2018-04-21 21:18:59
阅读次数:
17
修改文件句柄vim /etc/security/limits.conf# 修改* soft nofile 65535* hard nofile 65535添加用户useradd -s /usr/sbin/nologin mysqlmkdir -p /home/mysqldatachown -R my... ...
分类:
数据库 时间:
2018-04-21 19:47:20
阅读次数:
22
1 # sales_urls.py 2 # ————————47PerfectCRM实现CRM客户报名流程———————— 3 from django.conf.urls import url 4 from bpm.sales import sales_views 5 6 urlpatterns = ...
分类:
其他好文 时间:
2018-04-21 19:46:06
阅读次数:
12