随笔分类 -  Linux

上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要:1、安装依赖包 yum install -y gcc python-devel 2、安装freetds 下载地址:http://pan.baidu.com/s/1pLKtFBl tar zxvf freetds-0.82.tar.gz cd freetds-0.82 ./configure --pr 阅读全文
posted @ 2016-11-08 18:32 缤纷世界 阅读(3707) 评论(0) 推荐(0)
摘要:yum install -y openldap openldap-servers openldap-clients pam_ldap nss-pam-ldapd vsftpd slappasswd #记录备用 {SSHA}70WfjeJVZhmGy0wfSUKcOGsKPgLR7/ae cp /us 阅读全文
posted @ 2016-11-02 13:30 缤纷世界 阅读(3065) 评论(0) 推荐(0)
摘要:SSDB模块在Python使用方法 下载地址: http://pan.baidu.com/s/1bFdSQy 使用方法: 阅读全文
posted @ 2016-10-31 13:36 缤纷世界 阅读(2831) 评论(0) 推荐(0)
摘要:#get接口调用 import urllib import urllib2 get_url = "http://10.10.3.63/test?id=123&name=nba" cookie_headers = { "Cookie" : "person_id=2468" } req = urllib2.Request(url=get_url,headers=cookie_hea... 阅读全文
posted @ 2016-10-29 16:08 缤纷世界 阅读(6992) 评论(0) 推荐(0)
摘要:先移动日志文件 mv /usr/local/openresty/nginx/logs/access.log /usr/local/openresty/nginx/logs/access.log.20161024 发送信号重新打开日志文件 kill -USR1 $(cat /usr/local/ope 阅读全文
posted @ 2016-10-24 08:23 缤纷世界 阅读(2986) 评论(0) 推荐(0)
摘要:github项目地址:https://github.com/liuxianan/pinyinjs 完整demo演示:http://demo.liuxianan.com/pinyinjs/ 汉字转拼音: 云盘下载:http://pan.baidu.com/s/1bWEgUE 原文地址:http://w 阅读全文
posted @ 2016-10-18 13:42 缤纷世界 阅读(402) 评论(0) 推荐(0)
摘要:1、安装mysql-udf-httpyum install -y libcurl*下载地址:http://pan.baidu.com/s/1nuYZqR3tar zxvf mysql-udf-http-1.0.tar.gzcd mysql-udf-http-1.0./configure --pref 阅读全文
posted @ 2016-10-14 17:23 缤纷世界 阅读(7511) 评论(4) 推荐(1)
摘要:1、安装所有依赖包yum install -y gcc ncurses ncurses-base ncurses-devel ncurses-libs ncurses-static ncurses-term ocaml-curses ocaml-curses-devel openssl-devel 阅读全文
posted @ 2016-10-14 13:48 缤纷世界 阅读(1862) 评论(0) 推荐(0)
摘要:1、环境部署 inotify-master 10.10.6.208 inotify-slave 10.10.6.149 2、两台服务器都安装rsync yum install -y rsync 3、inotify-slave部署 新建rsync用户及模块目录并更改其用户组 useradd rsync 阅读全文
posted @ 2016-05-25 16:16 缤纷世界 阅读(594) 评论(0) 推荐(0)
摘要:yum install -y openssh-clients scp -r -P 26611 /usr/local/ssdb-20160518/ root@10.10.6.199:/usr/local/scp -r 目录 -P 端口 /usr/local/ssdb-20160518/ 要拷贝的目录 阅读全文
posted @ 2016-05-25 09:58 缤纷世界 阅读(3736) 评论(0) 推荐(0)
摘要:find -type d -name ".svn"|xargs rm -rf 阅读全文
posted @ 2016-05-19 16:40 缤纷世界 阅读(3419) 评论(0) 推荐(0)
摘要:先安装MySQL-python pip install mysqlclient (Windows) 测试代码: 阅读全文
posted @ 2016-05-07 16:09 缤纷世界 阅读(8288) 评论(0) 推荐(0)
摘要:导出: 导入: 阅读全文
posted @ 2016-04-14 15:50 缤纷世界 阅读(408) 评论(0) 推荐(0)
摘要:1、下载Python3.4安装包 2、解压、编译、安装 3、创建Python3.4的链接(CentOS6.7默认安装的是Python2) 4、验证 阅读全文
posted @ 2016-03-24 08:56 缤纷世界 阅读(1995) 评论(0) 推荐(0)
摘要:  阅读全文
posted @ 2016-03-14 17:25 缤纷世界 阅读(1061) 评论(0) 推荐(0)
摘要:mysqldump -uroot -pdsideal -t dsideal_db t_resource_info --where="res_type=1 and group_id=1 and ts>2015122115005600474 ORDER BY TS DESC LIMIT 1" --tri... 阅读全文
posted @ 2016-01-13 09:43 缤纷世界 阅读(19851) 评论(0) 推荐(0)
摘要:一、获取Access Token示例 1. 请您将以下HTTP请求直接粘贴到浏览器地址栏内,并按下回车键。https://openapi.baidu.com/oauth/2.0/authorize?response_type=token&client_id=L6g70tBRRIXLsY0Z3HwKq... 阅读全文
posted @ 2015-11-26 11:22 缤纷世界 阅读(15104) 评论(9) 推荐(1)
摘要:yum install hdparm参数: -a 设定读取文件时,预先存入块区的分区数,若不加上选项,则显示目前的设定。 -A 启动或关闭读取文件时的快取功能。 -c 设定IDE32位I/O模式。 -C 检测IDE硬盘的电源管理模式。 -d 设定磁盘的DMA模式。 -f 将内存缓冲区的数据写入硬盘,... 阅读全文
posted @ 2015-11-13 18:31 缤纷世界 阅读(5974) 评论(0) 推荐(0)
摘要:location ~.*\.(js|css|html|png|jpg)${ expires 3d;}expires 3d; //表示缓存3天expires 3h; //表示缓存3小时expires max; //表示缓存10年expires -1; //表示永远过期。如果设置为-... 阅读全文
posted @ 2015-10-23 08:25 缤纷世界 阅读(34794) 评论(3) 推荐(0)
摘要:repair table mysql.proc; 阅读全文
posted @ 2015-09-19 15:26 缤纷世界 阅读(392) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页