- 博客(9)
- 资源 (1)
- 收藏
- 关注
转载 centos7 关闭防火墙
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。firewall:systemctl start firewalld.service#启动firewallsystemctl stop firewalld.service#停止firewallsystemctl disable firewalld.service#禁止firewall开机启动
2015-06-13 21:23:13
423
转载 centos下python上传jpg格式图片报错问题IOError: decoder jpeg not available
如果已经安装过pil先删除这个 -rf /usr/lib/python2.7/site-packages/PILxxxxxxx然后安装这些yum install zlib zlib-develyum install libjpeg libjpeg-levelyum install freetype freetype-devel然后下载并解压Image
2015-06-12 13:28:36
473
转载 Centos python 2.6 升级到 2.7
查看python的版本#python -V Python 2.6.6 1.下载Python-2.7.3#wget hhttps://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz2.解压#tar -zxvf Python-2.7.9.tgz 3.更改工作目录#
2015-05-14 00:50:25
396
转载 zookeeper集群配置学习随笔
1. 下载并解压zookeeper-3.4.6.tar.gz2.将conf下的zoo_sample.cfg修改为zoo.cfg3.修改zoo.cfg4.按照上面我修改的路径新建文件夹,并在其中创建myid文件,根据上述配置中server.X来修改myid内容为X,例如ip234的/data/myid的内容为1,ip235的为2之前没有创建这个文件,一直启不来,错误日志如下
2015-05-05 13:16:02
980
转载 MyEclipse报错 Could not create the view: An unexpected exception was thrown.
删了这个就好了
2014-12-18 08:35:11
495
转载 oracle12 新建用户报错 invalid common user or role name
当我们在CDB中使用传统方式创建用户会遇到错误sys@LUOCS12C> create user luocs identified by oracle default tablespace luocs;create user luocs identified by oracle default tablespace luocs*ERROR at line 1:ORA-65096
2014-11-09 01:09:55
1066
转载 关于jetty 三元操作符
${usertj.ln=="" ?"":usertj.ln}這種代碼在jsp頁面用jetty跑起來是會報錯的,然後調換一下順序就可以了 ${usertj.ln!="" ?usertj.ln:""}或者在後面那個加個括號也可以 ${usertj.ln=="" ?"":(usertj.ln)}------------------------------------shit!!
2014-10-27 14:39:53
457
转载 Myeclipse报错Errors running builder 'DeploymentBuilder' on project 'xxx'
今天干活时遇到这个错
2014-06-24 21:04:14
556
转载 ORA-01791:不是 SELECTed 表达式
Oracle 9i数据库,执行下面语句出现错误“ORA-01791: 不是 SELECTed 表达式”:select distinct t.name from auth_employee t order by t.auth_employee_id asc原来:SELECT语句中含有DISTINCT关键字或者有运算符时,排序用字段必须与SELECT语句中的字段相对应。网上搜到
2014-03-10 22:50:15
526
《Java与模式》
2012-07-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅