Processing math: 100%

随笔分类 -  Linux学习

摘要:#!/bin/bash # judge input while read -p "Pls input Max lines:" MAX do expr MAX + 0 &>/dev/null if [? -eq 0 ];then break fi done echo "Success:$MAX" 阅读全文
posted @ 2022-08-21 11:06 Richie` 阅读(223) 评论(0) 推荐(0) 编辑
摘要:一.故障现象: [root@c1node01 ~]# service network restart Shutting down loopback insterface: [ OK ] Bringing up loopback insterface: [ OK ] Bringing up inter 阅读全文
posted @ 2019-05-02 14:35 Richie` 阅读(1028) 评论(0) 推荐(0) 编辑
摘要:查看CentOS自带JDK是否已安装 1 [root@test ~]# yum list installed |grep java 若有自带安装的JDK,应如下操作进行卸载CentOS系统自带Java环境 1 2 3 4 5 6 7 8 9 10 [root@test ~]# java -versi 阅读全文
posted @ 2019-05-02 14:08 Richie` 阅读(7113) 评论(0) 推荐(1) 编辑
摘要:在使用Docker的时候,有一个工具叫做 docker-compose,安装它的前提是要安装pip工具. 1、首先检查Linux有没有安装Python-pip包,直接执行 yum install python-pip 2、没有python-pip包就执行命令 yum -y install epel- 阅读全文
posted @ 2018-06-20 14:13 Richie` 阅读(4423) 评论(0) 推荐(0) 编辑
摘要:使用easy_install和pip可以让python的模块的安装和管理变得非常方便。我一般在新的Linux系统上,先easy_install pip然后就用pip安装其他的模块了。 不过,在国内用官方的pypi源(https://pypi.python.org/simple)一般比较慢,甚至偶尔会 阅读全文
posted @ 2018-04-22 20:43 Richie` 阅读(1951) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示