雾里看浮光
不管遇到什么事情,都要调整好自己的心态,用最好的自己重新开始,自甘堕落只会越来越糟糕!加油!
摘要: Fastdfs分布式文件系统-互为主从配置部署 1.安装基础依赖 yum install -y gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel unzip 2.下载安装 libfastcommon wget http 阅读全文
posted @ 2019-12-05 11:34 雾里看浮光 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 官方文档:https://about.gitlab.com/install/#centos-7 1.yum install -y curl policycoreutils-python openssh-server2.systemctl start sshd3.yum install postfix 阅读全文
posted @ 2019-12-05 11:28 雾里看浮光 阅读(258) 评论(0) 推荐(0) 编辑
摘要: WCP知识共享平台部署 一、环境准备 操作系统:CentOS Linux release 7.5.1804 (Core) Java:jdk-7u79-linux-x64.tar.gz 中间件:apache-tomcat-7.0.92.tar.gz 数据库:mysql-5.7.24-linux-gli 阅读全文
posted @ 2019-12-05 11:10 雾里看浮光 阅读(1720) 评论(0) 推荐(0) 编辑
摘要: #自动清理缓存脚本 [root@k8s-node3 ~]# vim freemem.sh#! /bin/sh#当前已使用内存大小used=`free -m | awk 'NR==2' | awk '{print $3}'`#当前剩余的内存大小free=`free -m | awk 'NR==2' | 阅读全文
posted @ 2019-12-05 10:36 雾里看浮光 阅读(920) 评论(0) 推荐(0) 编辑
摘要: 问题: CentOS系统网络不通,重启网卡后能ping通,等一会就又不通。 解决: 在云环境管理平台下,KVM系统的MAC地址,使其重新生成一下。 阅读全文
posted @ 2019-12-05 10:32 雾里看浮光 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 问题: 在强制卸载根目录下的磁盘,导致/proc文件系统丢失。 解决: 重启服务器重新生成。 阅读全文
posted @ 2019-12-05 10:31 雾里看浮光 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 问题原因: linux login:rootpasswd:Last login:Fri Jul 26 09:55:31 CST 2019 from 192.168.168.1 on pts、5You have new mail. Module is unknown Welcome to SUSE L 阅读全文
posted @ 2019-12-05 10:30 雾里看浮光 阅读(1560) 评论(0) 推荐(0) 编辑
摘要: 问题: SUSE_Linux 无法使用SSH连接登录。 解决: 1、关闭防火墙命令如下: linux:~ # /etc/init.d/SuSEfirewall2_init stop linux:~ # /etc/init.d/SuSEfirewall2_setup stop 2、修改/etc/ssh 阅读全文
posted @ 2019-12-05 10:29 雾里看浮光 阅读(2756) 评论(0) 推荐(0) 编辑
摘要: 问题:系统更改IP地址重启服务时网卡信息不正确 linux#~ vi /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='static'BROADCAST='192.9.200.255'ETHTOOL_OPTIONS=''IPADDR='192.9.200.78 阅读全文
posted @ 2019-12-05 10:27 雾里看浮光 阅读(2460) 评论(0) 推荐(0) 编辑
摘要: 问题: Windows 2012 R2 安装360安全卫士失败及无法卸载,导致网络无法通信问题解决。 解决:1.进入 Windows2012R2 安全模式下;2.进行覆盖安装360安全卫士;3.覆盖安装完成后,进行卸载360安全卫士;4.进行重启之前把安全引导最小方式取消。 方法:1.进入 Wind 阅读全文
posted @ 2019-12-05 10:26 雾里看浮光 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: 微软漏洞安全问题: 检测:默认配置 = 已启用(未创建注册表项),所以不会返回 SMB1 值。Get-Item HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters | ForEach-Object {Get-ItemProp 阅读全文
posted @ 2019-12-05 10:25 雾里看浮光 阅读(3388) 评论(0) 推荐(0) 编辑
摘要: SUSE Linux 系统 1、新建本地源存储目录root@suse:mkdir /mnt/SUSE_LOCAL_SOURCE 2、创建zypper本地源root@suse:zypper ar file://mnt/SUSE_LOCAL_SOURCE local-source 3、添加完本地源,会在 阅读全文
posted @ 2019-12-05 10:22 雾里看浮光 阅读(5962) 评论(0) 推荐(0) 编辑
摘要: RedHat系统 1、挂载镜像光盘[root@localhost ~]# mount /dev/sr0 /media/cdrom/ 2、创建本地yum源仓库[root@localhost ~]# cd /etc/yum.repos.d/[root@localhost yum.repos.d]# vi 阅读全文
posted @ 2019-12-05 10:20 雾里看浮光 阅读(435) 评论(0) 推荐(0) 编辑
摘要: CentOS系统 1、挂载镜像光盘[root@localhost ~]# mount /dev/sr0 /media/cdrom/ 2、创建本地yum源仓库[root@localhost ~]# cd /etc/yum.repos.d/[root@localhost yum.repos.d]# vi 阅读全文
posted @ 2019-12-05 10:19 雾里看浮光 阅读(601) 评论(0) 推荐(0) 编辑
摘要: visudo权限配置普通用户的使用权限范围配置文件: (请根据自己公司需求配置) [root@localhost ~]# visudo ## Allow root to run any commands anywhereroot ALL=(ALL) ALL#user ALL=/usr/sbin/*, 阅读全文
posted @ 2019-12-05 10:18 雾里看浮光 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 根目录LVM扩容操作步骤: [root@centos7 ~]# df -lh文件系统 容量 已用 可用 已用% 挂载点/dev/mapper/centos-root 50G 7.7G 43G 6% /devtmpfs 3.8G 0 3.8G 0% /devtmpfs 3.9G 144K 3.9G 1 阅读全文
posted @ 2019-12-05 10:15 雾里看浮光 阅读(1002) 评论(0) 推荐(0) 编辑
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld关闭: systemctl stop firewalld查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld开机启用 : sy 阅读全文
posted @ 2019-12-05 10:13 雾里看浮光 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 配置网卡操作: vi /etc/network/interfaces auto eth0iface eth0 inet static 配置eth0使用默认的静态地址address 192.168.1.10 设置eth0的IP地址netmask 255.255.255.0 配置eth0的子网掩码gat 阅读全文
posted @ 2019-12-05 10:10 雾里看浮光 阅读(3895) 评论(0) 推荐(0) 编辑
摘要: 问题:云环境下CentOS系统断电或强制关机,再开机出现问题:Entering emergency mode. Exit the shell to continue. Generating "/run/initramfs/rdsosreport.txt" Entering emerfency mod 阅读全文
posted @ 2019-12-05 10:06 雾里看浮光 阅读(1161) 评论(0) 推荐(0) 编辑
摘要: 问题:Error:UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY Give root password for maintenance /**输入root密码进入*/ (or type Control-D to continue): ****** 原因分析: 阅读全文
posted @ 2019-12-05 10:04 雾里看浮光 阅读(282) 评论(0) 推荐(0) 编辑