我的工作
一直从事软件测试相关工作,曾在电信行业,软件安全行业,移动通信行业混迹过,现在在无人驾驶汽车行业从事软件测试工作
其实我就是一个有砌墙梦的搬砖工
$t1 = time(); //获取当前时间为 1441865485
$t2 = ‘2015-09-03 10:10:00’;
$t22 = strtotime($t2); //转换字符串格式的时间为UNIX标准时间 1441246200
$t12 = date(‘Y-m-d H:i:s’,$t1); //将UNIX标准时间转换为字符串时间 2015-09-10 14:11:25
$t221 = date(‘Y-m-d H:i:s’,strtotime(‘-1 Day’,$t22)); //前一天时间 2015-09-02 10:10:00
$t222 = date(‘Y-m-d H:i:s’,strtotime(‘+1 Day’,$t22)); //后一天时间 2015-09-04 10:10:00
$t223 = date(‘Y-m-d H:i:s’,strtotime([……]
在装php时出现以下的错误:
/root/Downloads/php-5.6.5/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/root/Downloads/php-5.6.5/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/root/Downloads/php-5.6.5/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
/root/Downloads/php-5.6.5/ext/xmlrpc/libxmlrpc/encodin[……]
网络安装RHEL的文档,网络上比较多了。这里主要说的是,在通过网络安装时,7.0和以前的系统相比,需要在APPEND后面通过inst.repo指定安装源,否则会出现如下错误:
dracut-initqueue[530]:mount no media found on /dev/sr0
dracut-initqueue[530]:warning couldn't mount /dev/sr0
dracut-initqueue[530]:warning no suitable image
dracut-initqueue[530]:warning could not boot
dracut-initqueue[530]:warning /dev/root doesnt not exist.
以前的pxelinux配置如下:
LABEL rhel7u0-x[……]
1. 首先下载cx_Oracle,下载地址:http://sourceforge.net/projects/cx-oracle/
2. 下载Oracle客户端程序instantclient,下载地址(可能有变化,建议百度一下instantclient):http://www.oracle.com/technetwork/cn/database/features/instant-client/index-092699-zhs.html
3. 安装instantclient
4. cx_Oracle的使用方法参见 $Python_Home\cx_Oracle-doc\html\index.html (如:C:\Python27\cx_Oracle-doc\html\index.html)
使用过程中遇到的问题:
1. 执行import cx_Oracle 提示“找不到[……]