服务器2025年06月04日
编译安装gcc高版本 因CentOS中gcc版本仅有4.4,故编译安装gcc高版本。 安装依赖库(如果你已安装过gcc低版本,可跳过这步) yum install glibc-static libstdc++-static -y 下载高版本gcc(以4.8.1为例) wget http://ftp.gnu.org/gnu/gcc/gcc-4.8.1/gcc...
服务器2025年06月04日
要求: 1.硬盘格式成物理卷pvpvcreate/dev/sdb/dev/sda 2.创建卷组vgcreatevg1000/dev/sdb1/dev/sdb2#创建卷组”vg1000” 3.增加卷组容量vgextendvg2000/dev/sdb2#将物理卷”/dev/sdb2”加入卷组”vg2000” 4.减少vgreducevg2000/dev/sdb...
服务器2025年06月03日
设置固定IP的方法,记录一下,以防忘记: 桥接模式网络配置 1、配置ip地址等信息在/etc/sysconfig/network-scripts/ifcfg-ens33文件里做如下配置: 命令: vi /etc/sysconfig/network-scripts/ifcfg-ens33 修改如下: TYPE="Ethernet" # 网...
服务器2025年06月03日
一、添加epel源 wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm 或者rpm -ivh epel-release* yum repolist //检查是否添加到源列...
服务器2025年06月03日
解决办法: 1.任意运行一条iptables防火墙规则配置命令: iptables -P OUTPUT ACCEPT 2.对iptables服务进行保存: service iptables save 3.重启iptables服务: service iptables restart ...
服务器2025年06月02日
起因 不得不说,这两天确实有点闲 开始 第一步 安装php rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum...
服务器2025年06月02日
安装:https://wuzhuti.cn/install-and-configure-jenkins-centos7 ...
服务器2025年06月01日
在启动参数上加上时区设置-Duser.timezone=GMT+08 java -jar -Duser.timezone=GMT+08 target/micservice_histclientsdataetl-1.0-SNAPSHOT-jar-with-dependencies.jar local ...
服务器2025年06月01日
1.安装svn 本地测试环境 centos6.5 # yum安装 yum -y install subversion # 查看svn版本 svnserve --version # 建立版本库目录 mkdir /var/svnrepos # 启动svn服务 svnserve -d -r /var/svnrepos # 查看进程 ps -ef |grep sv...
服务器2025年06月01日
//slurm install //CentOS 7 system //192.168.159.141 node01 //192.168.159.142 node02 systemctl stop firewalld.service systemctl disable firewalld.service systemctl disable NetworkM...