运维
文章平均质量分 57
algondon
这个作者很懒,什么都没留下…
展开
-
ntpdate[6043]: Can't find host –d: Name or service not known (-2)
针对这一问题,可能与服务器配置有关,可通过同步pool.ntp.org时间使得集群时间得到同步,无秒级时间差。date --set 101010(年月日【不用输入时分秒,下面的代码可同步】)ntpdate pool.ntp.orgps:The pool.ntp.org project is a big virtual cluster of timeservers providing re原创 2017-06-30 19:57:19 · 13023 阅读 · 0 评论 -
在ubuntu上安装/卸载anaconda, 安装tensorflow
下载地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/tensorflow 镜像地址:https://mirror.tuna.tsinghua.edu.cn/help/tensorflow/1. 在Ubuntu上安装anaconda的步骤:参考内网AI2.在ubuntu上卸载anaconda的步骤 :(一)删除整个...原创 2018-10-19 18:29:15 · 2051 阅读 · 0 评论 -
tomcat服务配置
tomcat 配置下载8.5https://tomcat.apache.org/download-80.cgi?Preferred=http%3A%2F%2Fapache.cs.utah.edu%2F 目录/usr/tomcat/apachechmod 755 –R /usr/tomcat 修改bin/startup.sh#set java environment...原创 2018-09-12 23:11:35 · 6210 阅读 · 0 评论 -
安装virtualenv
sudo pip install virtualenvsudo pip install virtualenvwrappermkdir myproject$ cd myproject$ virtualenv venvzhaoww% virtualenv venvNew python executable in /Users/zww/PycharmProjects/vi...原创 2018-08-11 18:44:28 · 125 阅读 · 0 评论 -
Linking keg-only openssl means you may end up linking against the insecure, deprecated system OpenSS
zhaoww% brew link openssl --forceWarning: Refusing to link: opensslLinking keg-only openssl means you may end up linking against the insecure,deprecated system OpenSSL while using the headers from...原创 2018-08-10 22:54:21 · 222 阅读 · 0 评论 -
requests.exceptions.ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))
原因:Mac openssl 版本过低解决方法: 链接最新的openssl版本$ brew link openssl --force确认输入下面命令确认安装位置及当前默认版本$ which openssl/usr/local/bin/openssl$ openssl versionOpenSSL 1.0.2h 3 May 2016...原创 2018-08-10 22:40:46 · 7837 阅读 · 1 评论 -
Uninstalling numpy-1.8.0rc1 卸载异常
出现问题:Collecting opencv-python Downloading opencv_python-3.4.0.12-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (41.2MB) 100% |█████原创 2018-01-08 19:18:29 · 4098 阅读 · 2 评论 -
linux 某个文件夹执行命令完全卡死完美解决方法
某个文件夹执行命令完全卡死(ctrl+z,ctrl+c等都不能用)表现:1.在文件夹执行ls等命令卡死;2.在服务器任何地方执行df -h卡死(sudo fdisk -l管用);3.cd 文件夹卡死;产生原因:该文件夹中有一个服务挂载在该文件夹某一目录下,因突然关机等异常情况导致该服务无限制等待,机器重启后也不能正常连接。解决方法:step1:查看与该文件夹相应的服务挂原创 2017-11-09 15:22:31 · 28819 阅读 · 2 评论 -
mongodb 开启和关闭的方法总结
1) mongodb安装:sudo apt-get install mongodb-server安装后配置文件路径信息:/etc/mongodb.confdbpath=/var/lib/mongodblogpath=/var/log/mongodb/mongodb.log2) mongodb开启与关闭关闭:法1:sudoservice m原创 2017-07-18 17:07:32 · 1078 阅读 · 0 评论 -
服务器下安装ubuntu16.04 出现grub 错误 及 如何配置固定ip
1.服务器安装ubuntu16.04时出现grub错误时,重启进入(按F11)进入boot Manager界面,将启动方式由grub 改为UEFI,然后按照正常方式即可安装。2.ubuntu16.04配置固定IP1).编辑interfaces 文件配置ip,网关,掩码vi /etc/network/interfaces添加:auto loiface lo inet loo原创 2017-06-13 15:18:28 · 4961 阅读 · 0 评论 -
git操作及版本回退
Command line instructionsGit global setupgit config --global user.name "z**11"git config --global user.email "zha**om"Create a new repositorygit clone git@co*hsi.gitcd cehsitouch README....原创 2018-10-27 19:01:29 · 144 阅读 · 0 评论