linux
混沌人生
这个作者很懒,什么都没留下…
展开
-
linux模拟POST请求
curl -X POST http://172.21.128.170:9000/v2/diskdomain/domain/construct -d '{"name":"test1","desc":"test1","construct_type":1,"DtbDiskInfoList":[1,2,3,4],"sas_hotspare_strategy":"mid原创 2018-05-21 09:54:23 · 9270 阅读 · 4 评论 -
linux配置多个环境变量
[root@localhost java]#vim /etc/profile在最下面的export path中用:隔开即可PATH=/home/play-1.3.1:$PATHMAVEN_HOME=/usr/local/maven3export MAVEN_HOMEexport PATH=${PATH}:${MAVEN_HOME}/binexport PATH=$PATH:/usr/local...原创 2018-06-27 13:50:47 · 21374 阅读 · 1 评论 -
yum安装失败
报错:[root@localhost src]# yum makecacheLoaded plugins: fastestmirrorbase ...原创 2019-01-10 16:24:12 · 825 阅读 · 0 评论 -
linux同步系统时间
我们一般使用“date -s”命令来修改系统时间。比如将系统时间设定成2010年4月5日的命令如下。 [root@rhel ~]# date -s 20100405Mon Apr 5 00:00:00 CST 2010 将系统时间设定成14点31分0秒的命令如下[root@rhel ~]# date -s 14:31:00Mon Apr 5 14:31:00 CST 20...转载 2019-01-10 16:40:22 · 359 阅读 · 0 评论 -
centos7 arm内核配置yum源
yum配置文件替换一、cd到目录 /etc/yum.repos.d ,创建/替换下面三个文件1、CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick ...原创 2019-05-30 15:48:48 · 11177 阅读 · 1 评论 -
yum安装库报错
错误[root@localhost zoukaicai]# yum install zipLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfilebase | 3.6 kB 00:00...原创 2019-06-20 13:57:26 · 2662 阅读 · 1 评论