archlinux中安装nginx+mysql+php

在新装的archlinux中安装了LNMP环境,记录一下:

1、安装软件:

pacman -S nginx mysql php-fpm php-gd

2、配置nginx:

vi /etc/nginx/nginx.conf

3、作为服务启动(systemd环境):

systemctl enable nginx.service

systemctl enable mysqld.service

systemctl enable php-fpm.service

先简单记一下,回头再细化。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理