当前位置:网站首页>Raspberry pie Lite: install the latest version of discuz
Raspberry pie Lite: install the latest version of discuz
2022-04-22 07:59:00 【Ki1381】
Raspberry pie can be installed discuz Software , Successful test . In fact, it's a typical LAMP application . Because this experiment uses Lite Version of OS, Therefore, it is basically configured by pure hand command .
I won't say much about swiping my card , Just like the desktop version . A few key points :
1、 Set up wifi. The easiest way is to install it sudo raspi-config, choose 1 System Options, then S1 Wireless Lan. Here you can manually input your wireless SSID And password .
2、 Set up a fixed LAN IP. Since you want to be a server ,IP It's best to fix . I'm modifying /etc/dhcpcd.conf, Add the following statement ( Suppose a fixed network is set on the wireless network card IP 192.168.1.33/24,DNS Using Google and Shanghai Telecom ):

3、 The default layout is English , such as # The key is marked with a pound sign . So we still have to go back to raspi-config, Use 5 Localisation Options -> L3 Keyboard. Modify the keyboard layout to English(US)alt,intl.
4、Locals Also need to change .5 Localisation Options -> L1 Locals. Only keep en_us utf8 and zh-cn utf8, Set up en-us utf8 As the default .
5、 install LAMP:
sudo apt-get install apache2 php mariadb-server mariadb-client php-mysql php-xml php-gd
among php-xml and php-gd yes Discuz Forum software needs .
6、 To configure mysql:
sudo mysql_secure_installation
# A little . Basically, in addition to setting root User password , Others can use the default value .
# Preset mysql account number . It is assumed that pi user , Yes bbs The library has privileges
# follow-up discuz In the initial configuration, the database name, user name and password adopt the preset information at this time !
sudo mysql -uroot
GRANT ALL PRIVILEGES ON bbs.* TO 'pi'@'localhost' IDENTIFIED BY ' Your password ';
exit;
# restart mysql service
sudo systemctl restart mysqld
I buried a hole here ,mysql Created in pi The user preset only for bbs The database has privileges , So refer to the notes , Don't forget to change the database name when you formally configure it later . If you really care , Then use it directly Discuz! default ultrax Make the database name .
7、 download discuz Software , Be careful to choose UTF8 edition :
https://gitee.com/3dming/DiscuzL/attach_files
Decompress after downloading , Just upload upload Contents of Li ( It doesn't include upload In itself ) To /var/www/html. If you play by yourself at home, for the sake of simplicity ,sudo chmod -R 777 /var/www/html Open write access .
8、 Finally, you can install . Specifically, we will not carry out , The installation instructions are in https://www.dismall.com/thread-77-1-1.html.
my IP yes 192.168.1.33, therefore :
Installation address :http://192.168.1.33/install/
Access address :http://192.168.1.33/index.php ( It is suggested to delete apache Self contained index.html, In this way, the preferred default page becomes discuz Of index.php, In fact, you can omit )
Management address :http://192.168.1.33/admin.php

版权声明
本文为[Ki1381]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220624207135.html
边栏推荐
- Misc novicate (Miscellaneous) notes
- 关于信息收集
- Wireshark在流量分析中的使用
- Use of branches in C #
- JWT realizes the whole process of login authentication, password encryption and token verification (with source code)
- 利用JsonSerialize优雅的实现数据类型转换
- 观察者模式--ApplicationContext
- Use of method C
- AWS从入门到实战 之 创建账户
- C-10 maximum common divisor and minimum common multiple
猜你喜欢

继续树莓派4B+OLED:开机自动显示IP地址

A simple implementation of esp32 graphic web server

关于transformer机制的理解

动态库总结
![STM32 peripherals [i]](/img/75/61ea3ed2936eea9b55d59e96253995.png)
STM32 peripherals [i]

QT advertising screen (multi display split screen + full screen display picture)

Run program ~ customize similar CMD commands to open non system software
![[site building notes]: insert code snippets in wordpress blog posts and highlight them](/img/2f/d222c77172383fda79f2c109db0bdc.png)
[site building notes]: insert code snippets in wordpress blog posts and highlight them

ActiveX控件使用总结

Mysql索引的探索
随机推荐
六一节,赋诗一首
Find points without obstacles on 3D map
Xshell connect virtual machine
PLC项目调试七步法
图解《工业互联网专项工作组2022年工作计划》
js动态合并单元格
STM32 peripherals [iv] RCC
Conversion et fonction du format commun MFC
Principle of single chip microcomputer [1] five diagrams that must be mastered by single chip microcomputer well
树莓派mono上跨平台运行一个C#自制的简易图片处理器
JWT realizes the whole process of login authentication, password encryption and token verification (with source code)
redis监听key过期事件
An alternative method of sending fixed format Chinese short message in Arduino: taking dht22 + GSM module as an example
Bert模型系列一:输入到底是什么东西呢?
Ultra vires and business logic vulnerabilities
Oopc [i] C language objectification
C # made a simple raspberry pie IP search tool
【GPS - NMEA-0183协议】
Xcode select: failed to locate 'PIP3', requesting installation
OBD external test equipment initialization judgment protocol type (SAE J1939 / iso15765 / iso27145)