Centos6

Centos6与Centos7防火墙设置与端口开放的方法

centos7的firewall命令: 添加80端口 firewall-cmd --zone=public --add-port=80/tcp --permanent (--permanent永久生效,没有此参数重启后失效) 重新载入 firewall-cmd --reload 查看 firewal ......
Centos 端口 防火墙 Centos6 Centos7

centos6和7的模板机制作

centos6(安装操作系统直接最小化安装就行) 1.进入网卡配置文件将网卡的MAC和UUID删除(网卡需要开机自启的话,只要把ONBOOT=no改为ONBOOT=yes就行) 2.挂在光盘,临时挂在 3.制作yum源 yum clean all #清楚yum源的缓存 yum makecache # ......
机制 模板 centos6 centos

centos6.8 使用yum安装 mysql5.7

配置系统yum源 这一步可选,如果yum源使用正常可跳过,由于centos6支持已于2020年停止,安全维护也只支持到2024年11月30日,所以很多原来可用的yum源也失效了,试了几个后找到以下可用的。 备份旧配置 mv /etc/yum.repos.d/CentOS-Base.repo /etc ......
centos6 centos mysql5 mysql yum

CentOS6.配置python3和django1.11安装

一.Python3安装 1.安装方式是源码包安装,需要用到 gcc,make 1 yum install gcc make 2 3 安装python3需要的依赖包有:openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sql ......
CentOS6 python3 django1 CentOS python

CentOS6.10运行KVM,报错【合集】

实验环境 服务器CentOS 6.10;安装虚拟机个数3个,操作系统CentOS7.9 如下图所示: Unable to open a connection to the libvirt management daemon. 查看报错,发现 libvirt 服务已经启动了,那么使用root权限,重新 ......
CentOS6 CentOS KVM 10

利用kvm搭建一台centos6版本虚拟机

一、安装我们所需的包 [root@kvm01-server ~]# yum install -y libvirt virt-install qemu-kvm #################################################### libvirt #虚拟机管理工具 v ......
centos6 版本 centos kvm

Centos6.10创建KVM虚拟环境

实验环境:服务器操作系统Centos6.10,使用KVM虚拟机,在该服务器上配置三台操作系统为Centos7.9的虚拟机,网络连接方式采用NAT连接,(关于桥接和NAT连接的区别,可查看:CentOS 6.9下KVM虚拟机网络Bridge(网桥)方式与NAT方式详解 ) 查看cpu信息 输入grep ......
Centos6 环境 Centos KVM 10

【Centos6 升级openssh-9.1与openssl-1.1.1s】系统ssh补漏洞

(注意:操作前请做好备份) 1、服务器需要可以访问公网 2、需要配置DNS服务器 vim /etc/resolv.conf 3、配置Centos6 yum源,由于官方已经不维护,只能用它云& 清理缓存&在线安装依赖 wget -O /etc/yum.repos.d/CentOS-Base.repo ......
Centos6 openssh openssl Centos 系统

centOS6.5 gitlab安装 记录

很久很久以前的服务器 系统版本是centOS6.5 感觉会有坑 上篇yum源下载问题已解决 记录下安装gitLab的过程: 安装C编译器 yum -y install gcc (查下系统里面是否有安装) 1. 安装配置依赖项sudo yum install curl openssh-server o ......
centOS6 centOS gitlab

centOS6.5 无法使用yum源的问题 removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt

一次在临时服务器执行 yum命令出现报错问题: removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt ...... 1、修改fastestmirror.conf的配置参数 sed ......
mirrorlist yum removing centOS6 mirrors

centos6.5无法使用systemctl

问题描述: CentOS 6.5 系统中 无法识别 systemctl: 原因: CentOS 6.X 版本不能安装firewall,firewall是Centos7.X 版本以后系统内置的,所以 CentOS 6.5 是不能识别 systemctl 的。 解决方法: 可以使用service命令来代 ......
systemctl centos6 centos

centos6误删文件恢复

测试结果是在centos6上使用效果比较好,centos7上不给力,也不知道是否是虚拟机的缘故 当不小心误删除某文件或者目录的时候, 恢复的结果就存放在执行命令的目录下生成的目录下RECOVERED_FILES 里 当对还在挂载中的分区进行恢复时,会提示是否继续,选择y 即可 如图,通过extdel ......
centos6 文件 centos

Linux系列教程(二)——Linux系统安装(手把手学安装centos6.8)

目录 1、安装 VMware 2、在 VMware 上安装 CentOS 第 1 步:打开 VMware,点击创建新的虚拟机 第 2 步:选择典型,点击下一步。出现如下界面,然后选择第三个选项:稍后安装操作系统,点击下一步 第 3 步:客户机安装操作系统选择 Linux,版本根据自己下载的 Linu ......
Linux centos6 教程 centos 系统

CentOS6.5安装mysql 远程登录

第1步、yum安装mysql [root@hadoop101 init.d]# yum -y install mysql-server 直到出现结果: 第2步、设置开机启动 [root@hadoop101 init.d]# chkconfig mysqld on 这步没提示 第3步、启动mysql服 ......
CentOS6 CentOS mysql

centos6为rac新增lun

环境:OS:Centos 6.9 说明:整个操作过程不会影响rac集群的运行 1.在虚拟机上添加共享磁盘,rac的2个节点分别挂载 2.查看当前的情况节点1: [root@rac01 ~]# multipath -ll mpathc (1ATA_VBOX_HARDDISK_VB1c359161-37 ......
centos6 centos rac lun

centos6 使用RAC其中一个节点作为同步服务器

环境:OS:Centos6.9 我们约定rac的节点1作为ntp服务器,节点2作为ntp客户端 节点1上的安装配置(ntp服务器) 1.安装ntp ntpdateyum install ntp ntpdate -y 2.启动ntp服务[root@rac01 ~]# service ntpd star ......
节点 centos6 服务器 centos RAC

linux下安装多路径multipath(centos6)

环境:OS:Centos 6.9virtualbox虚拟机 1.安装[root@rac02 ios]# yum install device-mapper-multipath 2.设置开机自启动[root@cluster01 ~]# chkconfig multipathd on[root@clus ......
路径 multipath centos6 centos linux

Centos6、Kylin3.2 升级glibc2.17方法

一、下载安装包 wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpmwget http ......
Centos6 方法 Centos Kylin3 glibc2

Centos6普通用户获取最高权限方法

Centos获取最高权限方法 方法一:永久获取最高权限 方法二:如何远程远程root登录 方法三:让普通用户属于wheel组,wheel组可以获取最高权限 方法一:永久获取最高权限 #方法一 第一步:要切换成root用户登陆系统 一定要切换成root用户登陆哦 第二步: 打开命令行如下输入 chmo ......
权限 Centos6 方法 用户 Centos

centos6.7下如何用cmake编译安装MySQL5.5.32

一、安装cmake编译环境。 1.1查看操作系统是否安装了gcc和gcc-c++,如果没有安装的话通过yum install gcc-c++ gcc -y命令安装。 1.2 将cmake源文件放到/root/tools目录下,并解压。 1.3 编译安装cmkae。 至此cmake编译环境安装完成。 ......
centos6 centos MySQL5 MySQL cmake

openssl升级(centos6.5)

1、查看已安装版本 # openssl version --1.0.1e版本 OpenSSL 1.0.1e-fips 11 Feb 20132、安装升级依赖基础包(yum install -y gcc zlib-devel pam-devel zlib) #安装soft中下列依赖包: (cloog- ......
openssl centos6 centos

centos6.5安装MongoDB4.4.23

前言 1、目前MongoDB最新稳定版本是:6.0.8 2、MongoDB 5+和6+版本已不支持centos6.2+系统,参考https://docs.mongoing.com/install-mongodb 3、centos6.5目前最高支持到MongoDB4.4.23,但MongoDB从4.2 ......
MongoDB4 centos6 MongoDB centos 4.23

在centos7实现PXE安装centos6,7

0 selinux ,firewall 关闭1 安装包yum install dhcp tftp-server httpd syslinuxsystemctl enable dhcpd httpd tftp.socketsystemctl start httpd 2 准备YUM源 mkdir /va ......
centos centos7 centos6 PXE

Centos6.5 可用yum源

/etc/yum.repos.d/CentOS-Base.repo # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of eac ......
Centos6 Centos yum

Centos6 内核升级4.9.75-30.el6.x86_64操作

由于工作需要接触Docker,手上大部分机器又都是Centos6,所以需要升级内核。 2.6.32-279.el6.x86_64 升级至 4.9.75-30.el6.x86_64的操作记录如下: 1、下载 http://rpm.pbone.net/info_idpl_73484345_distro_ ......
内核 Centos6 Centos el6 75

centos6、7防火墙禁用指定IP

-I INPUT -s 10.195.132.185 -j DROP-I INPUT -s 10.230.91.2 -j DROP查看列表iptables -Lservice iptables restart vi /etc/sysconfig/iptablescentos7systemctl st ......
防火墙 centos6 centos

【人麻了】centos6.5更换yum源+httpd安装+php56安装+执行shell无写入权限+卸载php

平常都是用宝塔部署web测试环境,今天需要手动去给客户部署php项目运行环境。而且居然还是centos6.5的老系统了,我整个人都麻了... ## 更换yum源 为啥我人麻了??? > 报错:centos6 yum安装软件报错Cannot retrieve repository metadata ( ......
php 权限 centos6 centos httpd

centos6以lvm划分磁盘分区swap/root禁用swap导致重启kernel异常

## 目的 禁用swap,虚机重启正常 **env** - centos6.9 - root/swap lvm形式 > 终端kernel异常,导致系统无法正常启动(引导出了问题) ![image](https://img2023.cnblogs.com/blog/790307/202306/7903 ......
swap 磁盘 centos6 centos kernel

centos6 与centos7 防火墙区别

CentOS (6x及之前版本,iptables) 1、开启防火墙(重启后永久生效) [root@iZ2zef2r37ijinyvlpu77lZ ~]$ chkconfig iptables on 2、关闭防火墙(重启后永久生效) [root@iZ2zef2r37ijinyvlpu77lZ ~]$ ......
centos 防火墙 centos6 centos7

centos6禁用swap启动异常解决

## 问题描述 ``` 1、禁用swap重启后导致系统进不去 2、重启后终端提示: Kernel panic - not syncing: Attempted to kill init ``` **env** - centos6.9 - swap/root lvm ## 问题解决 **启动异常** ......
centos6 centos swap
共44篇  :1/2页 首页上一页1下一页尾页