Skip to content

GZ1903/v2board_install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

V2board一键部署

脚本适用于操作系统:CentOS7.X/RedHat7.X部署,内存1G内存,磁盘容量大于5G,部署环境最好使用单独的服务器,避免环境冲突。

环境介绍(仅介绍脚本自动安装的环境,跑脚本前不需要安装任何环境):

Nginx   1.20.2
Mysql   5.6.51
PHP     7.3.33
redis   6.2.2

测试1H1G机器部署,170s左右即可。请使用centos7系列纯净主机部署。

软件版本:

V2board 1.7.3

一键部署脚本:

yum -y install git wget && git clone https://github.com/gz1903/v2board_install.git /usr/local/src/v2board_install && cd /usr/local/src/v2board_install && chmod +x v2board_install.sh && ./v2board_install.sh

安装过程:

自定义数据库密码:

####################################################################
#                     欢迎使用V2board一键部署脚本                     #
#                脚本适配环境CentOS7+/RetHot7+、内存1G+               #
#                更多信息请访问 https://gz1903.github.io             #
####################################################################

请输入Mysql数据库root密码:(自定义)

执行官方脚本安装过程需要执行yes

y

Running 2.0.13 (2021-04-27 13:11:08) with PHP 7.3.33 on Linux / 3.10.0-1160.el7.x86_64
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? y

需要拉取gitgub资源,国内网络较慢,或者下载失败,请确保网络通畅

输入安装信息:

数据库地址:localhost

数据库:v2board

数据库用户名:root

其他自定义。

__     ______  ____                      _  
\ \   / /___ \| __ )  ___   __ _ _ __ __| | 
 \ \ / /  __) |  _ \ / _ \ / _` | '__/ _` | 
  \ V /  / __/| |_) | (_) | (_| | | | (_| | 
   \_/  |_____|____/ \___/ \__,_|_|  \__,_| 

 请输入数据库地址(默认:localhost) [localhost]:
 > localhost

 请输入数据库名:
 > v2board

 请输入数据库用户名:
 > root

 请输入数据库密码:
 > 开始自定义的密码       

正在导入数据库请稍等...
数据库导入完成

 请输入管理员邮箱?:
 > [email protected]

 请输入管理员密码?:
 > 自定义

一切就绪
访问 http(s)://你的站点/admin 进入管理面板

完成安装

--------------------------- 安装已完成 ---------------------------
##################################################################
#                            V2board                             #
##################################################################
 数据库用户名   :root
 数据库密码     :
 网站目录       :/usr/share/nginx/html/v2board 
 Nginx配置文件  :/etc/nginx/conf.d/v2board.conf 
 PHP配置目录    :/etc/php.ini 
 内网访问       :http://
 外网访问       :http://
 安装日志文件   :/var/log/V2board_install_2021-12-10_17:15:09.log
------------------------------------------------------------------
 如果安装有问题请反馈安装日志文件。
 使用有问题请在这里寻求帮助:https://gz1903.github.io
 电子邮箱:[email protected]
------------------------------------------------------------------

主界面

ok ok ok ok ok ok

前台登录界面:

ok

后台登录界面:

ok

前台界面:

ok