Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Xmpp+openfire+spark+centos installation

Shulou Source: shulou.com Published: 2022-06-03 04:56:08 11月25日 Update

1. Environmental preparation

Centos6.5x64

2. Uninstall the jdk that comes with the system

Rpm-qa | grep jdk

Rpm-e-nodeps java*

3. Install jdk

Rpm-ivh jdk-8u66-linux-x64.rpm

4 、 vi / etc/profile

Enter o and add the following at the end:

JAVA_HOME=/usr/java/jdk1.8.0

JRE_HOME=/usr/java/jdk1.8.0/jre

PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin

CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib

Export JAVA_HOME JRE_HOME PATH CLASSPATH

Make the environment variable effective immediately

$source / etc/profile

5. Test whether the installation is successful

Type java,java-version,javac in turn, and you can see the output information, for example

$java-version

Java version "1.8.0"

Java (TM) SE Runtime Environment (build 1.8.0-b132)

Java HotSpot (TM) 64-Bit Server VM (build 25.0-b70, mixed mode)

[root@SDHPEE java] #

6. Install mysql

# yum-y mysql-server myql-devel

# service mysqld restart # restart the service

# / usr/bin/mysqladmin-u root password root # set password root

# shez if you set the password incorrectly, please refer to (mysql sets the password)

# chkconfig mysql on # set boot

7. The openfire version is compatible.

# yum install libstdc++.i686

8. Install openfire

# rpm-ivh jdk-8u66-linux-x64.rpm

Preparing... # [100%]

1:openfire # # [100%]

# service openfire start # enable the service

# chkconfig openfire on # set boot

9. Turn off the firewall

# service iptables stop

# chkconfig iptables off

10. Http://127.0.0.1:9090 access address, select language.

11. Domain name setting

12. Select the embedded database

13. Keep the default

You can skip this step

15. Installation is complete.

16. Account: admin password: admin

17. Login interface.

18. Client settings.

19. Create users.

20. Successfully log in to the user.

Tags: Password success environment user service login input selection information content variables address domain name customer client data database step version interface Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft NVidia OPPO Reno Apple Huawei