In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "how to realize the automatic boot of Windows system to start O2Server". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Windows system automatically starts O2Server
1. Modify the node_127.0.0.1.json file in the directory where node_127.0.0.1.json finds o2server\ configSample, as shown below:
Edit the node_127.0.0.1.json file, find the autoStart parameter in it, set it to "true", and save it off. As shown below:
two。 Inject o2server into the service_windows.bat file in the install o2server directory of the system service and write o2server to the system service. 2.1. Search for "powershell" or "Command prompt" in the menu, and run it as an administrator after finding it, as shown below:
2.2. Enter the command to install to the local o2server directory, the command: cd C:\ o2server5.0.3\ o2serverservice_windows.bat file to install, the command:.\ service_windows.bat install may cause problems, as shown below:
Solution: edit the service_windows.bat file and change the Chinese into English. The original content, as shown below: the modified content, as shown below:
After the modification is completed, after saving, run the command again.\ service_windows.bat install, and successfully install, as shown below:
3. Check that the verification service will appear in the service list of the windows system, and the O2SERVER service will be started automatically by default, as shown below:
Restart the computer to verify that O2Server can be started automatically. Second, the Linux system automatically starts O2Server1. Modify the node_127.0.0.1.json file in the directory where node_127.0.0.1.json finds o2server\ configSample, and check the autoStart parameter. If it is "false", change it to "true", as shown below:
two。 In the / etc/rc.d directory, edit the file rc.local to introduce the location of the script
After saving and exiting, set the execution permission by entering the command: chmod 755 rc.local. 3. Verify to restart the Linux system to verify whether the O2Server can be started automatically. "how to enable the Windows system to boot automatically start O2Server" is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.