03 2018 档案
摘要:pydash项目地址:https://github.com/k3oni/pydash 一、安装过程 1、安装pip dnf install git python-pip -ypip install virtualenv 2、下载软件git clone https://github.com/koni/
阅读全文
摘要:Saidar,是一款命令行下的小工具,可用来查看CPU、进程、负载、内存、交换分区、网络、磁盘、文件系统等系统信息。 #ubuntu sudo apt-get install saidar -y #fedora dnf install saidar -y 安装完毕之后,在命令行下运行: saidar
阅读全文
摘要:一. 利用sys.stdout将print行导向到你定义的日志文件中,例如:import sys # make a copy of original stdout route stdout_backup = sys.stdout # define the log file that receives
阅读全文
摘要:linux系统启动过程中给出错误: There are offline or missing virtual drives with preserved cache. Please check the cables and ensure that all drives are present.Pre
阅读全文
摘要:1、安装常用软件 yum install tree nmap sysstat lrzsz dos2unix wget net-tools ntpdate -y 2、配置yum源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-
阅读全文
摘要:pip类似RedHat里面的yum,安装Python包非常方便。本节详细介绍pip的安装、以及使用方法。 1、pip下载安装 1.1 pip下载 1 # wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=
阅读全文
摘要:GlusterFS是一个可伸缩的网络文件系统,使用常见的现成的硬件,您可以创建大型分布式存储流媒体解决方案、数据分析、和其他数据相关的任务。GlusterFS是自由和开源软件。 详细参考官网:https://docs.gluster.org/en/latest/Quick-Start-Guide/Q
阅读全文