- 2025年05月14日
- 星期三
1.在终端输入以下命令,编辑网络配置文件: vim /etc/sysconfig/network-scripts/ifcfg-eth0 2.修改并保留以下内容: DEVICE=eth0 TYPE=Ethernet ONBOOT=yes BOOTPROTO=static IPADDR=192.168.132.151 此处填写IP地址 NETMASK=255.255.255.0 此处填写子网
1、题记 由于硬件服务器资源紧张,正常公司里面会有专门的服务器安装VMSphere,然后大家在上面装自己的windows/Linux虚拟机环境进行开发或测试。但是,现在我手头只有1台物理服务器,单纯的用作ES环境的开发,内存资源没有得到充分利用。 而当前正需要几台Win
一、使用yum快速升级CentOS 6.5内核到 3.10.28 在yum的ELRepo源中,有mainline(3.13.1)、long-term(3.10.28)这2个内核版本,考虑到long-term更稳定,会长期更新,所以选择这个版本。 1、导入public key rpm–importhttps://www.elrepo.org/RPM-GPG-KEY-el
命令集合如下 yum –y install prce*yum –y install openssl*yum install zlib* Go to website http://nginx.org/en/download.html to find the latest version download url: http://nginx.org/download/nginx-1.10.1.ta
查看服务器的TCP连接状态并汇总,命令如下: netstat -an|awk /^tcp/{++S[$NF]}END{for (a in S)print a,S[a]} CLOSED:没有连接活动或正在进行的; LISTEN:服务器正在等待的进入呼叫; SYN_RECV:一个连接请求已经到达,等待确认; SYN_SENT:应用已经开始
CentOS 6.5最小化编译安装mysql 5.5.35 1、关闭防火墙; [root@mysql~]#serviceiptablesstopiptables:SettingchainstopolicyACCEPT:filter[OK]iptables:Flushingfirewallrules:
1:查看环境: 1 2 [root@10-4-14-168 html]# cat /etc/redhat-release CentOS release 6.5 (Final) 2:关掉防火墙 1 [root@10-4-14-168 html]# chkconfig iptablesoff 3:配置CentOS 6.0 第三方yum源(CentOS默认的标准源里没有nginx软件包) 1 #wge
you install a package withyum install, saypdftk, it will pull in a lot of dependencies: Installed: pdftk.x86_64 0:1.44-10.fc18Dependency Installed: bouncycastle.noarch 0:1.46-6.fc18 it
省略jdk安装 安装zeromq cd zeromq-2.1.7./configure#出现错误:configure: error: Unable to find a working C++ compiler#需要安装g++编译器执行sudo yum install gcc-c++ #出现错误:configure: error: cannot link with -luuid, insta
本文介绍CentOS6.3从自带的Pyhon版本是2.6升级到2.7.6的方法。 因为CentOS系统中旧版本的Python已被深度依赖,所以不能卸载原有的Python,只能全新安装。 1.下载Pyhon,选择下载Gzipped source tar ball (2.7.6) (sig) 网址https://www.python.org/download/r