下载脚本
1 2 3 4 5 6 7 8 9 10 11
| ~ wget -O X3.5.sh https://www.discuz.vip/install/X3.5.sh --2023-10-16 10:19:48-- https://www.discuz.vip/install/X3.5.sh Resolving www.discuz.vip (www.discuz.vip)... 49.234.165.129, 81.69.153.197, 81.69.156.121, ... Connecting to www.discuz.vip (www.discuz.vip)|49.234.165.129|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1250 (1.2K) [application/octet-stream] Saving to: ‘X3.5.sh’
X3.5.sh 100%[=================================================>] 1.22K --.-KB/s in 0s
2023-10-16 10:19:49 (25.1 MB/s) - ‘X3.5.sh’ saved [1250/1250]
|
执行脚本,需要输入论坛源码位置
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| ➜ ~ sudo bash X3.5.sh -------------------- Discuz! X 安装文件下载 -------------------- 开始下载 Discuz! X 前,确认你的域名已经解析绑定好,请填写域名绑定的目录: /var/www/presagis.discuz 您确定要覆盖该目录下的文件?(y/N)y --2023-10-16 10:22:45-- https://gitee.com/Discuz/DiscuzX/attach_files/1543382/download Resolving gitee.com (gitee.com)... 180.76.198.77 Connecting to gitee.com (gitee.com)|180.76.198.77|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://foruda.gitee.com/attach_file/1696180979264216471/discuz_x3.5_sc_utf8_20231001.zip?token=56631b0b0b2e9f6ad9794605aa3fe20f&ts=1697422965&attname=Discuz_X3.5_SC_UTF8_20231001.zip [following] --2023-10-16 10:22:45-- https://foruda.gitee.com/attach_file/1696180979264216471/discuz_x3.5_sc_utf8_20231001.zip?token=56631b0b0b2e9f6ad9794605aa3fe20f&ts=1697422965&attname=Discuz_X3.5_SC_UTF8_20231001.zip Resolving foruda.gitee.com (foruda.gitee.com)... 180.76.198.77 Connecting to foruda.gitee.com (foruda.gitee.com)|180.76.198.77|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 11546232 (11M) [application/zip] Saving to: ‘./discuz.zip’
./discuz.zip 100%[=================================================>] 11.01M 512KB/s in 22s
2023-10-16 10:23:08 (513 KB/s) - ‘./discuz.zip’ saved [11546232/11546232]
Archive: ./discuz.zip inflating: _tmp/LICENSE inflating: _tmp/qqqun.png ...... ---------------------------------------------------------- Discuz! X 安装文件下载完毕,请执行 https://yoursite/install 安装 ----------------------------------------------------------
|
脚本自动下载解压源码至指定位置,这样就简单许多。
检查一下源码的权限,源码权限要是Apache2/Nginx使用的权限。
安装
在浏览器输入http://ip/install
环境检测
修复所有异常,然后刷新
设置模式,UCenter Server类似于分布式管理器,用于管理多个站点。
创建数据库
如果端口变了就在ip处修改。
安装中
安装完成
进入后台
会进入模板页面
管理首页
安装模板
会跳转到DISCUZ!的应用中心。
新站点需要登记。
访问站点
站点首页
刚建立的网站,什么都没有。