CentOS8 installation and deployment of DzzOffice collaborative office platform

1: The environment required to install the software, we use the LAMP environment. Basically, the software versions that come with CentOS8 meet the requirements for installing DzzOffice.

2: Turn off the firewall.

systemctl disable --now firewalld

3: Temporarily close SELINUX.

 setenforce 0

      Close SELINUX permanently and restart to take effect.

sed -i s/SELINUX=enforcing/SELINUX=disabled/ /etc/selinux/config

 4: Install Apache.

 yum install -y httpd

5: Install PHP. The version that comes with it is 7.2.

 yum install -y php

6: Install PHP extension.

yum install -y php-mysqlnd.x86_64 php-zip php-xml php-xmlrpc

7: Install the database.

yum install -y mariadb-server

8: Start the service and join it to start automatically at boot.

systemctl start httpd
systemctl start mariadb
systemctl enable httpd
systemctl enable mariadb

9: Configure database. Remember the username and password, you will need them later.

mysql -uroot -p
create database dzzoffice character set utf8mb4 collate utf8mb4_bin;
create user dzz@localhost identified by 'password';
grant all privileges on dzzoffice.* to dzz@localhost;
quit;

 10: Download DzzOffice software. If the download is very slow, you can find resources elsewhere to download and then transfer them to the server.

wget https://codeload.github.com/zyx0814/dzzoffice/tar.gz/refs/tags/2.02.1

download successful.

11: Extract the software to the /var/www/html directory to generate a dzzoffice-2.02.1 folder.

tar -zxvf 2.02.1 -C /var/www/html

12: Authorize this folder.

 chown -R apache.apache /var/www/html/dzzoffice-2.02.1

13: While browsing, use http://ip/dzzoffice-2.02.1 to open the configuration interface of DzzOffice to start the installation.

14: All meet the conditions, next step.

15: Directories and files also pass the check. If the current status of this place is X cannot be written, it is because SELINUX is not closed.

 16: Enter the configured database information, fill in the organization abbreviation according to your actual situation, next step.

17: It prompts that there are duplicate database tables. You can change the database tables according to the prompts. I chose to force the installation here.

18: The installation is successful, the next step is to set up the administrator.

19: Set the administrator's password.

20: Installation successful. It prompts you to delete a file. If it is a test environment, you don’t need to delete it. In a production environment, you can delete it or change its name. The file is in /var/www/html/dzzoffice-2.02.1/inistall/index.php

21: Enter the username and password to enter the system.

22: It prompts that the installation is successful. You can install the software in the application market and configure it in the system settings.

23: I plan to install onlyoffice later, but now I have the following error after installing onlyoffice7.2. It can't be solved yet, if you have any trouble please let me know.

Guess you like

Origin blog.csdn.net/yleihj/article/details/127552206