Centos 7 下joomla简体中文版安装

时间:2021-09-07 16:09:14

软件包下载地址:http://www.joomlachina.org.cn/

官网上面有很多版本这里以Joomla_3.9.5-Stable-Full_Package.tar.gz版本为例,汉语语言包为zh-CN_joomla_lang_full_3.9.5v1.zip

mysql版本为5.7,php版本为7.1

安装YUM源:

PHP

wget https://mirror.webtatic.com/yum/el7/epel-release.rpm
rpm -ivh epel-release.rpm
wget https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
rpm -ivh webtatic-release.rpm

MySQL

wget https://repo.mysql.com/mysql57-community-release-el7.rpm
rpm -ivh mysql57-community-release-el7.rpm

安装

yum -y install php71w-pdo-7.1.27-1.w7.x86_64 php71w-gd-7.1.27-1.w7.x86_64 php71w-mbstring-7.1.27-1.w7.x86_64 php71w-mysql-7.1.27-1.w7.x86_64 php71w-fpm-7.1.27-1.w7.x86_64 php71w-7.1.27-1.w7.x86_64 httpd mysql mysql-server

启动服务:

systemctl restart httpd
systemctl restart php-fpm
systemctl restart mysqld

开机自启动:

systemctl enable httpd
systemctl enable php-fpm
systemctl enable mysqld

创建数据库及其管理用户略:

 

将下载好后的Joomla_3.9.5-Stable-Full_Package.tar.gz放到  /var/www/html/  目录下,并解压。

访问http://localhost/installation/index.php。