• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






逍遥人

人生为棋 ,我愿为卒,行动虽慢,可谁曾见我后退一步
 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  linux基础相关

 
release判断系统
摘要:#!/bin/bash # Name: Atomic Archive configuration script # Copyright Atomicorp, 2002-2018 # License: AGPL # Credits # Scott R. Shinn (atomicorp) # Andy Gredler (rackspace) # export LANG=C ATOMIC_VE... 阅读全文
posted @ 2018-12-14 15:25 ~逍遥人~ 阅读(248) 评论(0) 推荐(0)
rpm包制作
摘要:rm /dev/null mknod /dev/null c 1 3 chmod 666 /dev/null RHEL7内网编译升级openssh到7.9P1步骤 配置内网yum源wget http://10.0.0.8/html/rhel7.repoyum clean allyum makecac 阅读全文
posted @ 2018-12-13 16:56 ~逍遥人~ 阅读(413) 评论(0) 推荐(0)
无法重启ssh
摘要:rm /dev/null mknod /dev/null c 1 3 chmod 666 /dev/null 阅读全文
posted @ 2018-12-12 18:58 ~逍遥人~ 阅读(203) 评论(0) 推荐(0)
ipmitool的使用
摘要:https://www.ibm.com/developerworks/cn/linux/l-ipmi/index.html 阅读全文
posted @ 2018-12-04 13:42 ~逍遥人~ 阅读(284) 评论(0) 推荐(0)
创建yum仓库
摘要:第1章 服务端)创建yum仓库目录 命令:(创建)mkdir -p /application/yum/centos6.6/x86_64/ 命令:(切换)cd /application/yum/centos6.6/x86_64/ 命令:(创建)mkdir -p /application/yum/cen 阅读全文
posted @ 2018-11-27 21:37 ~逍遥人~ 阅读(887) 评论(0) 推荐(0)
centos7下添加开机启动
摘要:在/etc/systemd/system下创建weblogic .Service touch weblogic.Service 添加启动权限 chmod +x weblogic.Service 编辑weblogic.Service vim weblogic.Service [Unit] Descri 阅读全文
posted @ 2018-11-12 08:32 ~逍遥人~ 阅读(423) 评论(0) 推荐(0)
ps命令查看子进程
摘要:[root@centos7 log]# ps -f -e -o pid,ppid,pgid,comm PID PPID PGID COMMAND 5070 5068 5070 bash 7169 5070 7169 \_ bash 7173 7169 7169 \_ bash 7179 7173 7 阅读全文
posted @ 2018-11-06 13:19 ~逍遥人~ 阅读(3791) 评论(0) 推荐(0)
清理内存的缓存
摘要:做清理之前最好做一下存盘 sync 清理缓存 echo 1 > /proc/sys/vm/drop_caches 查看清理后的内存 free -h 阅读全文
posted @ 2018-10-26 09:22 ~逍遥人~ 阅读(390) 评论(0) 推荐(0)
在/etc/crondtab中添加定时任务注意事项
摘要:1 要添加用户名 2 要重启定时任务服务 阅读全文
posted @ 2018-10-24 19:20 ~逍遥人~ 阅读(176) 评论(0) 推荐(0)
将find过滤添加到数组
摘要:array=($(find . -name "*.txt"))for i in "${array[@]}"; do echo $i; done 阅读全文
posted @ 2018-10-15 14:44 ~逍遥人~ 阅读(196) 评论(0) 推荐(0)
邮件服务器
摘要:下载sendEmail yum -y install sendEmail sendEmail -f ttlsafrom@163.com -s smtp.163.com -u "我是邮件主题" -o message-content-type=html \ -o message-charset=utf8 阅读全文
posted @ 2018-08-31 20:29 ~逍遥人~ 阅读(117) 评论(0) 推荐(0)
linux秘钥分发
摘要:秘钥分发 ssh-copy-id -i /root/.ssh/id_rsa.pub "-p 9000 root@192.168.1.100" 传送文件 scp -P9000 -rp 2018-08-29-2_slow.log root@192.168.1.100:/data/mysql 阅读全文
posted @ 2018-08-31 17:21 ~逍遥人~ 阅读(205) 评论(0) 推荐(0)
linux发送邮件
摘要:vim /etc/mail.rc set from=renjunshuai168@126.com set smtp=smtp.126.com set smtp-auth-user=renjunshuai168@126.com set smtp-auth-password=lnb666888lnb s 阅读全文
posted @ 2018-08-31 15:39 ~逍遥人~ 阅读(121) 评论(0) 推荐(0)
linux系统优化
摘要:centos7系列 关闭没用的服务 关闭selinux,配置或关闭防火墙 配置yum源,epel源 下载常用软件 修改内核参数 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 阅读全文
posted @ 2018-08-08 14:09 ~逍遥人~ 阅读(108) 评论(0) 推荐(0)
svn上传项目
摘要:1、桌面右键单击 2、进行项目导入 3、选择项目所在目录 4、 阅读全文
posted @ 2018-08-04 18:04 ~逍遥人~ 阅读(118) 评论(0) 推荐(0)
svn搭建脚本
摘要:1、yum install subversion 2、输入rpm -ql subversion查看安装位置 我们知道svn在bin目录下生成了几个二进制文件。 输入 svn --help可以查看svn的使用方法,如下图。 3、创建svn版本库目录 mkdir -p /var/svn/svnrepos 阅读全文
posted @ 2018-08-04 15:01 ~逍遥人~ 阅读(780) 评论(0) 推荐(0)