Fedora 25如何安装LAMP
2017-02-25 00:00
253 查看
摘要: LAMP 是开源系统上 Web 服务器的梦幻组合。 LAMP 是 Linux、 Apache HTTP 服务、MySQL/MariaDB 数据库和 PHP、 Perl 或 Python 的简称。
下面教你如何在fedora25上安装LAMP.
1.安装Apache
切换到root用户:su
启动httpd服务,以在每次系统启动服务:
使用以下命令来启动httpd服务:
2.安装 MariaDB
随系统自动启动命令:
启动数据库服务器:
3.安装php
重启 Http 服务:
4.安装php模块
搜索模块:
安装模块:
下面教你如何在fedora25上安装LAMP.
1.安装Apache
切换到root用户:su
dnf install httpd -y
启动httpd服务,以在每次系统启动服务:
systemctl enable httpd
使用以下命令来启动httpd服务:
systemctl start httpd
2.安装 MariaDB
dnf install mariadb mariadb-server -y
随系统自动启动命令:
systemctl enable mariadb
启动数据库服务器:
systemctl start mariadb
3.安装php
dnf install php -y
重启 Http 服务:
systemctl restart httpd
4.安装php模块
搜索模块:
dnf search php
安装模块:
dnf install 【模块名】 -y
相关文章推荐
- Fedora 23如何安装LAMP服务器
- 如何在树莓派上安装 Fedora 25
- 如何在树莓派上安装 Fedora 25
- Fedora 23如何安装LAMP服务器
- fedora15如何安装王笔输入法
- 先安装win7再安装linux相关系统如 fedora 14 ubuntu 等 如何修改开机系统启动顺序
- Fedora中如何安装scim输入法
- 如何在fedora 13.0上安装五笔
- 在fedora 9下面如何安装amule
- 如何编译和安装Xenomai-forge到Linux系统(Fedora 14)
- [置顶]Fedora 13,14,15安装LAMP
- Fedora 11 的安装以及 LAMP环境的搭建(二)
- 如何在Fedora12下安装realplayer11呢?
- 在Fedora 11中安装Apache2+PHP5+MySQL(LAMP)
- VMware Workstation 中安装了fedora 9, 如何安装vmware tools?
- Fedora 15上安装配置LAMP
- 如何在fedora 13.0上安装stardict
- 如何在Fedora12上安装Nvidia驱动
- 安装fedora12后,如何找会原来的ubuntu10.04?