一、安装准备1.安装Openssl 要使Apache支持SSL,需要首先安装Openssl支持。推荐下载安装openssl-0.9.8k.tar.gz 下载Openssl:http://www.openssl.org/source/tar-zxfopenssl-0.9.8k.tar.gz//解压安装...
分类:
系统相关 时间:
2014-07-29 17:34:42
阅读次数:
426
下载httpd2.2.6,以前用http2.2.4会出问题(出现个什么lib的错误)./configure --prefix=/usr/local/apache --enable-ssl --enable-cgi --enable-mods-shared=all --with-mysql=/usr/...
分类:
其他好文 时间:
2014-07-29 17:32:02
阅读次数:
393
安装和配置Mariadb看来以后不得不使用Mariadb数据库了,尽早的熟悉;[1]InstallMariadbforepelyum-yinstallmariadb-serverInstalled:mariadb-server.x86_641:5.5.37-1.el7_0[2]StartMariadb&开机启动[root@mariadb~]#systemctlstartmariadb
[root@mariadb~]#systemctlenabl..
分类:
数据库 时间:
2014-07-29 16:05:39
阅读次数:
358
使用光盘镜像作为软件yum源:[1]上传centos7光盘镜像到/usr/local/src目录下;(工具Xftp)[2]挂载系统文件mkdir/media/cdrom#习惯用这个目录名称了;
cd/usr/local/src
ls
CentOS-7.0-1406-x86_64-DVD.iso
#mount-tiso9660-oloop/usr/local/src/CentOS-7.0-1406-x86_64-DVD.i..
分类:
其他好文 时间:
2014-07-29 16:03:09
阅读次数:
446
1.查看软件包是否安装[root@rrcy~]#rpm-qa|grepsslnss_compat_ossl-0.9.6-1.el6.x86_64openssl-1.0.1e-16.el6_5.7.x86_64openssl-devel-1.0.1e-16.el6_5.7.x86_64mod_ssl-2.2.15-30.el6.centos.x86_642.切换到CA目录[root@rrcy~]#cd/etc/pki/CA/[root@rrcyCA]#lscertscrlnewcer..
分类:
其他好文 时间:
2014-07-29 16:01:50
阅读次数:
276
[1]InstallHttpdforCentos7-media#yum--enablerepo=centos7-media-yinstallhttpd
Installed:
httpd.x86_640:2.4.6-18.el7.centos[2]starthttpd,开机启动#systemctlstarthttpd.service
#systemctlenablehttpd.service
ln-s‘/usr/lib/systemd/system/httpd.service‘‘/etc/systemd..
分类:
其他好文 时间:
2014-07-29 15:58:49
阅读次数:
367
安装httpd:http://kernal.blog.51cto.com/8136890/1531545httpd支持php安装配置:[1]Installphp#yum-yinstallphpphp-mbstringphp-pear#vi/etc/php.ini878date.timezone="Asia/Shanghai"#设置时区[2]CreateTestPage#vi/var/www/html/index.php
<html>
<body>
<d..
分类:
Web程序 时间:
2014-07-29 15:55:49
阅读次数:
323
[1]Defaultnoinstallifconfigcommand,ifyouwanttouseifconfigneedinstallnet-toolsyum-yinstallnet-tools[root@mariadb~]#ifconfig
eth0:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu1500
inet192.168.1.123netmask255.255.255.0broadcast192.168.1.255
inet6fe80::21..
分类:
其他好文 时间:
2014-07-29 15:53:19
阅读次数:
324
先介绍一下CentOS7下系统的服务启动关闭的变化service服务名start/stop/status==systemctlstart/stop/status服务名chkconfig--list==systemctllist-units-typechkconfig服务名on/off==systemctlenable/disable服务名(具体的级别看配置文件)2.要将某个服务添加为系统服务(以ngin..
分类:
其他好文 时间:
2014-07-29 15:48:29
阅读次数:
182
redhat提供了一个redhat-upgrade-tool的升级工具;[1]配置软件源#vim/etc/yum.repos.d/upgrade.repo
[upgrade]
name=upgrade
baseurl=
enable=1
gpgcheck=0[2]安装软件工具yum-yinstallpreupgrade-assistant-contentsredhat-upgrade-toolpreupgrade-assistant[3]升级前检查潜在..
分类:
其他好文 时间:
2014-07-29 15:24:50
阅读次数:
278