In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install JDK and MySQL in openSUSE. I hope you will get something after reading this article. Let's discuss it together.
1.openSUSE getting started downloading JDK from the sun site (remember to download the linux version), and now it's jdk-6u12-linux-i586-rpm.bin (remember to download the one with-rpm.bin at the end)
Get started with 2.openSUSE to install JDK. First, chmod aquix jdk-6u12-linux-i586-rpm.bin gives executable permissions to the file. Then switch to the root authority and execute the file. / jdk-6u12-linux-i586-rpm.bin.
Over!!!
Not surprisingly, JDK has been installed successfully!
Try Javac-version, and if you succeed, it will display the version information of JDK.
Such a basic step depends on the characteristics of the rpm package, what JAVA_HOME,CLASSPATH,PATH configuration has been set in this RPM package, the previous tree, future generations to enjoy the cool, cool! )
In a word, what to do if you want to delete this JDK?
OK, enter yast, select software management, search JDK inside, and then you will see that this jdk has been installed, and choose to delete it.
To do system development, the operation of database is essential. Here comes the question of installing mysql.
Follow my steps and let her be basic:
Get started with 1.openSUSE download Mysql. I chose to type mysql in yast-- > software management (the software management center of SUSE), then find Mysql, select her, and two dependent documents will be automatically selected. And then the next step along the way. When downloading, it may be a little slower, so you have to wait patiently. )
2.openSUSE starters switch to konsole (under the command console), use root permissions, run mysql_install_db (primitive build mysql DB), and then execute / etc/init.d/mysql start (this is very important, if you do not run, the following errors will occur when you execute the mysql command later: error: 'Can't connect to local MySQL server through socket' / tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket:'/ tmp/mysql.sock' exists!) Next, configure the password for root and type mysqladmin-u root-p'[yourpassWord]'.
So mysql is basically installed, and you can use mysql from the command line.
After reading this article, I believe you have a certain understanding of "how to install JDK and MySQL in openSUSE". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
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.