一、配置yum源

        利用挂载光盘或其他网上yum源 都可以,自行配置。


二、安装开发包及库文件以及配置文件

        [[email protected] ~]# yum -y install httpd*

        [[email protected] ~]# yum -y install mysql*

        [[email protected] ~]# yum -y install php*

        [[email protected] ~]# yum -y install mod_ssl mod_perl mod_auth_mysql libdbi-dbd-mysql pcre pcre-devel libpng libpng-devel libjpeg-6b libjpeg-devel-6b freetype freetype-devel gd gd-devel zlib zlib-devel gcc gcc-c++ libXpm libXpm-devel ncurses ncurses-devel libmcrypt libmcrypt-devel libxml2 libxml2-devel imake autoconf automake screen sysstat compat-libstdc++-33 curl curl-deve

        [[email protected] ~]# mysqladmin -u root password "123456"

三、添加配置并开启服务

        [[email protected] ~]# cd /var/www/html/

        新建文件并添加如下

Centos6.5之yum安装LAMP+wordpress

Centos6.5之yum安装LAMP+wordpress


Centos6.5之yum安装LAMP+wordpress

Centos6.5之yum安装LAMP+wordpress


搭建个人微博

    自行搜索软件包

        [[email protected] html]# unzip wordpress-3.0.4-zh_CN.zip 

    Centos6.5之yum安装LAMP+wordpress

 

修改wordpress配置文件   


Centos6.5之yum安装LAMP+wordpress


登录测试


Centos6.5之yum安装LAMP+wordpress

Centos6.5之yum安装LAMP+wordpress


























转载于:https://blog.51cto.com/90sec/1538797

相关文章: