- 2025年06月30日
- 星期一
查看服务器的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
使用清华镜像源配置yum源: vim /etc/yum.repos.d/gitlab.repo [Gitlab-CE]name=GitlabCEbaseurl=https://mirror.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/enabled=1gpgcheck=0 2. yum安装 yum installgitlab-ce -y 3.
目录 1Configure YUM repository 2Install PGDG RPM file 3Install PostgreSQL 4配置 5Initialize 6Startup 7艺搜参考 Configure YUM repository vim /etc/yum.repos.d/CentOS-Base.repo [base] and [updates] sec
下载 搜索jdk 点击download 同意协议,选择下载 解压 tar -zxvf jdk-8u101-linux-x64.tar.gz 编辑/etc/profile文件 在/etc/profile文件末尾添加如下内容 export JAVA_HOME=/path/to/jdk1.8.0_101export PATH=$JAVA_HOME/bin:$PATHexport CLASSPATH=
1,安装 2,配置/etc/samba/smb.cnf workgroup = WORKGROUP security = user [glory] comment = glory_share path = /data/app public = yes writable = yes browseable = yes