In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
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.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.