找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6124|回复: 13

[N1盒子] N1 armbian 安装6.9宝塔面板+nginx(Tengine)

[复制链接]
发表于 2019-10-6 13:07 | 显示全部楼层 |阅读模式
本帖最后由 cokes 于 2019-10-6 13:11 编辑

最近玩玩斐讯的各种玩具,买了个邀请码后注册发现名字重复,我这名字没人用 所以试了试密码,居然自己10年前注册过恩山.......
宝塔面板个人比较喜欢,分享点经验。  我是用u盘启动的,不然系统刷进去空间太小了。


安装前 建议如果有IPV6 先关闭。

关闭ipv6

编辑文件  /etc/sysctl.conf
  1. nano /etc/sysctl.conf
复制代码

在文件的最后加入下面的行。
  1. # IPv6 disabled
  2. net.ipv6.conf.all.disable_ipv6 =1
  3. net.ipv6.conf.default.disable_ipv6 =1
  4. net.ipv6.conf.lo.disable_ipv6 =1
复制代码

保存并关闭
重启sysctl
  1. sudo sysctl -p
复制代码


更改安装源


编辑文件
  1. nano /etc/apt/sources.list
复制代码

中科大源:(清华源arm资源不足,安装 宝塔 会出错)
  1. deb https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free
  2. deb-src https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free

  3. deb https://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free
  4. deb-src https://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free

  5. deb https://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
  6. deb-src https://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
复制代码

ctrl+x退出编辑,按y回车保存
执行更新
  1. apt-get update
复制代码


然后就可以安装宝塔了
Debian安装命令:
  1. wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh
复制代码


注:登陆验证码 如果不显示,可以修改 /www/server/panel/main.py  跳过验证码。


安装Nginx
宝塔安装好后 默认安装的nginx会报错。原因是宝塔下Nginx所使用的Lua版本在ARM环境下无法编译。并且使用了64x cpu优化代码。用下面脚本安装 Tengine就行了。


首先在面板 选择任意一个版本的nginx安装一次(安装最后会失败的,不过没关系,如果不这么做一次 下面步骤会因缺少文件而出错)

然后将附件文件上传到 /www/server/panel/install 目录


进入安装目录 运行安装脚本
  1. cd /www/server/panel/install
  2. sh nginx.sh install
复制代码




安装完成~~

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-10-10 12:53 | 显示全部楼层
看看怎么玩。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-10-11 09:11 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-10-12 20:24 | 显示全部楼层
试了一下 感谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-10-16 21:48 | 显示全部楼层
怎么安装Php5.6啊。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-10-25 22:46 | 显示全部楼层
来学习一下~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-1-12 14:30 | 显示全部楼层
来学习一下~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-22 15:16 | 显示全部楼层
更新太慢了。。。好几个小时
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-23 08:25 | 显示全部楼层
新刷armbian按照楼主办法执行到更新步骤,然后我自己安装宝塔5.9
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-24 22:18 | 显示全部楼层
试试看,新手
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-15 15:12 | 显示全部楼层
安装成功了域名咱解析到这个宝塔的网站上,OP旁路也弄好了,不互通
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-5-27 15:04 | 显示全部楼层
Thanks for share ~ 这贴子会不会老旧了些?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-6-13 02:53 | 显示全部楼层
6666666666666666666666666666🐂🍺
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-12-21 16:08 | 显示全部楼层
我也来安装试试!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 00:00

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表