1:简介最近浙江电信对线上服务器进行漏洞扫描,暴露出原有的openssh有漏洞,建议升级openssh版本;2:操作环境Red Hat Enterprise Linux Server release 6.43:所需软件包(1)gcc zlib zlib-devel make pam pam-deve...
分类:
其他好文 时间:
2015-02-03 12:54:50
阅读次数:
1056
查看nginx服务的编译参数
/application/nginx/sbin/nginx -V
[root@mode ~]# /application/nginx/sbin/nginx -V
nginx version: nginx/1.2.1
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configure arguments: --us...
分类:
数据库 时间:
2015-02-02 16:01:06
阅读次数:
218
问题:
RDO repo not detected; installing
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use su...
分类:
其他好文 时间:
2015-02-02 14:18:26
阅读次数:
401
[root@localhost ~]# mount /dev/cdrom1 #挂载光盘[root@localhost ~]# vim /etc/yum.repo/local.repo #在/etc/yum.repo/下新建一个本地yum源文件#内容如下:[Server]n...
分类:
系统相关 时间:
2015-02-01 18:58:31
阅读次数:
180
测试场景:VMware 11测试系统:Red Hat Enterprise Linux 7 我们都知道linux系统中swap分区都要在独立的分区当中,所以我们要新建一个swap分区:[root@localhost ~]# fdisk /dev/sda 欢迎使用 fdisk (util-lin...
分类:
系统相关 时间:
2015-02-01 12:01:27
阅读次数:
269
测试环境:VMware 11测试系统:Red Hat Enterprise linux 7 当我们的系统中没有多的空间用来创建swap分区时的一种解决方案: 1 [root@localhost ~]# dd if=/dev/zero of=/var/swapspace bs=1G count=...
分类:
系统相关 时间:
2015-02-01 11:54:41
阅读次数:
217
一.Linux网络配置文件1. /etc/sysconfig/network-scripts/ifcfg-eth0 文件 在Red Hat系统中,系统网络设备的配置文件保存在/etc/sysconfig/network-scripts目录下,其中文件ifcfg-eth0包含第一块网卡的配置信息,文件...
分类:
系统相关 时间:
2015-01-31 23:06:22
阅读次数:
404
五、RedHat、Fedora和Ubuntu软件包操作对比任务RedHat、FedoraUbuntu基本信息软件包后缀*.rpm*.deb软件源配置文件/etc/yum.conf/etc/apt/sources.list安装、删除、升级软件包更新软件包列表每次运行yum时自动执行apt-getupd...
分类:
系统相关 时间:
2015-01-31 12:04:12
阅读次数:
228
Git 的入门教程
4> git远程仓库的使用(续>
4.2 git远程服务器的搭建
我用的服务器系统是Red Hat Enterprise Linux Sever release 5, 32位的。...
分类:
其他好文 时间:
2015-01-30 17:41:48
阅读次数:
126
题意:输入一些字符串,遍历这些字符串,如果它是由这些字符串中另外两个字符串组合而成,输出这个串。做法:将所有字符串插入Trie树中,然后分割字符串,遍历所有可能性。题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1247题目:Hat’s WordsTim...
分类:
其他好文 时间:
2015-01-28 23:44:37
阅读次数:
262