coffee_cn

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页

2017年2月6日 #

摘要: 修改文件/etc/sysconfig/network-scripts/ifcfg-eth0把ONBOOT=no改ONBOOT=yes 阅读全文
posted @ 2017-02-06 17:23 coffee 阅读(249) 评论(0) 推荐(0) 编辑

摘要: rpm -ivh http://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-2.noarch.rpmyum install postgresql93 postgresql93-ser 阅读全文
posted @ 2017-02-06 16:49 coffee 阅读(245) 评论(0) 推荐(0) 编辑

2017年1月19日 #

摘要: conn sys/password as sysdba;创建用户test1CREATE USER test1 IDENTIFIED BY "pass1";GRANT CONNECT TO test1;GRANT DBA TO test1; dumpfile默认文件路径E:\app\Administr 阅读全文
posted @ 2017-01-19 10:17 coffee 阅读(170) 评论(0) 推荐(0) 编辑

2016年11月23日 #

摘要: 命令: #iptables -I INPUT -s 58.217.192.54 -j DROP #service iptables save 阅读全文
posted @ 2016-11-23 17:39 coffee 阅读(413) 评论(0) 推荐(0) 编辑

2016年11月17日 #

摘要: 为了下次方便信手拈来!! 示例1 示例2 阅读全文
posted @ 2016-11-17 18:51 coffee 阅读(658) 评论(0) 推荐(0) 编辑

2016年10月8日 #

摘要: 在手机safari上传图片时,竖着的照片会变成横着的照片,以下程序片段利用图片exif信息把图片旋转回去,代码抄自php.net官网。 http://php.net/manual/zh/function.exif-read-data.php 阅读全文
posted @ 2016-10-08 18:05 coffee 阅读(1697) 评论(0) 推荐(0) 编辑

摘要: SQL命令行执行以下命令:SQL> conn sys/111111 as sysdba; SQL> CREATE USER TEST11 IDENTIFIED BY "111111";SQL> GRANT CONNECT TO TEST11;SQL> GRANT DBA TO TEST11; CMD 阅读全文
posted @ 2016-10-08 12:33 coffee 阅读(2296) 评论(0) 推荐(0) 编辑

2016年9月30日 #

摘要: 参考:http://www.linuxidc.com/Linux/2012-11/74003.htm#!/bin/sh monitorlog=/opt/tomcat7/logs/monitor.log monitor() { tomcatid=$(ps -ef |grep tomcat |grep -w 'tomcat7'|grep -v 'grep'|awk '{print $2}') ... 阅读全文
posted @ 2016-09-30 10:58 coffee 阅读(285) 评论(0) 推荐(0) 编辑

2016年5月24日 #

摘要: 排除扩展名为log的文件 rsync -ave ssh --exclude '*.log' root@192.168.168.188:/website/abc.com/* /website/abc.com/ 阅读全文
posted @ 2016-05-24 17:47 coffee 阅读(272) 评论(0) 推荐(0) 编辑

2016年3月23日 #

摘要: http://blog.csdn.net/default7/article/details/41973887 从最新版本的linux系统开始,默认的是 Mariadb而不是mysql! yum install mariadb mariadb-server systemctl start mariad 阅读全文
posted @ 2016-03-23 12:43 coffee 阅读(146) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页