代码改变世界

Cannot uninstall 'pyparsing'. It is a distutils installed project

2020-08-31 23:09 by jetwill, 1415 阅读, 0 推荐, 收藏, 编辑
摘要:我的环境: [root@ansible ~]# python -V Python 2.7.5 [root@ansible ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) [root@ansible ~]# pip -V 阅读全文

Linux下校验SHA1和MD5的方法

2020-08-27 09:25 by jetwill, 2103 阅读, 0 推荐, 收藏, 编辑
摘要:当我们从互联网下载东西或者从U盘拷贝东西的时候,通常是不会和源文件有什么区别的,但是在偶然的情况下会出现下载或者拷贝出错的情况, 尤其是在下载大文件的时候,比如系统光盘......当你装机到一半才发现是坏的怎么办?所以就有了以SHA1和MD5为代表的哈希值校验,数学上的功夫就不多说了, 反正就是SH 阅读全文

Linux查看进程启动时间和运行多长时间

2020-08-26 13:57 by jetwill, 7181 阅读, 0 推荐, 收藏, 编辑
摘要:Linux 查看进程启动时间和运行多长时间 启动时间 ps -eo lstart 运行多长时间 ps -eo etime -bash-4.1$ ps -eo pid,lstart,etime | grep 188637 188637 Wed Aug 26 11:37:45 2020 02:16:44 阅读全文

sqlplus -S参数表示什么意思?

2020-08-25 20:39 by jetwill, 4348 阅读, 0 推荐, 收藏, 编辑
摘要:sqlplus -S , -S选项是静默模式,是Silent的缩写。在这种模式下将会以最精简的形式完成SQL*Plus的交互过程。 -S模式多用于脚本模式。在命令行sqlplus -S还有可能出现卡住的情况。 C:\Users\chenjo>sqlplus -H SQL*Plus: Release 阅读全文

dnspython模块报错 AttributeError: 'CNAME' object has no attribute 'address'

2020-08-23 14:56 by jetwill, 803 阅读, 0 推荐, 收藏, 编辑
摘要:有时候用到这个模块的时候会报错 AttributeError: 'CNAME' object has no attribute 'address' 如下所示 [root@ansible ch01]# ./dnspython_ex1.py Please input a domain: www.baid 阅读全文

CentOS7中安装pip的方法

2020-08-20 20:18 by jetwill, 9124 阅读, 0 推荐, 收藏, 编辑
摘要:1、安装epel-release [root@localhost ~]# yum -y install epel-release 2、安装python-pip [root@localhost ~]# yum -y install python-pip 3、修改pip源 [root@localhost 阅读全文

Tomcat8/9的catalina.out中文乱码问题解决

2020-08-11 21:36 by jetwill, 1050 阅读, 0 推荐, 收藏, 编辑
摘要:OS: Red Hat Enterprise Linux Server release 7.8 (Maipo) Tomcat: 9 中文显示为???问号 在$CATALINA_HOME/conf下的logging.properties 添加 #这句可以保证输出中文没有乱码 java.util.log 阅读全文

怎样查看Jenkins的版本

2020-08-11 16:07 by jetwill, 6552 阅读, 0 推荐, 收藏, 编辑
摘要:where to check jenkins version To identify your current version of Jenkins, you can do one of two things. From the Jenkins UI, from any screen, if you 阅读全文

git报错 error: cannot stat 'file': Permission denied

2020-08-10 16:09 by jetwill, 2424 阅读, 0 推荐, 收藏, 编辑
摘要:切换分支(git checkout xxx)时报错: error: cannot stat ‘file’: Permission denied 解决方法:退出编辑器、浏览器、资源管理器等,然后再切换就可以了。 阅读全文

ANT之macrodef

2020-07-31 13:08 by jetwill, 252 阅读, 0 推荐, 收藏, 编辑
摘要:macrodef 的意思是宏定义, 可以理解为自定义函数。 对于大型部署,可以提高代码利用率。 为了方便理解,请看代码示例: <macrodef name="macro-send-file"> <attribute name="host" /> <attribute name="toPath" /> 阅读全文
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页