opi one上安装Apache PHP MySQL 搭建服务器
首先我用的是ubuntu_wheey_mini镜像可以在论坛搜索下载的了
opi one使用闪迪8GB c10的卡,插上网线
ssh登录
root@orangepi~# apt-get install apache2 php5 mysql-server libapache2-mod-php5
接下来修改配置文件,首先安装vim编辑器
root@orangepi~#apt-get install vim
root@orangepi~#vim /etc/apache2/apache2.conf #apache配置文件
root@orangepi~#systemctl restart apache2.service #重启apache
root@orangepi~#vim /var/www/html/index.html #编辑首页
|