In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "how to install google-chrome on the server". 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!
More and more websites begin to use front-end separation so that the data of html pages need to be loaded and rendered through js, and the conventional crawler mode can no longer crawl data.
Install Google Chrome
Cd / ect/yum.repos.d/vim google-chrome.repo
Edit content
[google-chrome] name=google-chromebaseurl= http://dl.google.com/linux/chrome/rpm/stable/x86_64enabled=1gpgcheck=1gpgkey=https://dl.google.com/linux/linux_signing_key.pub
Note that the following command is needed to install because of GFW in China, otherwise it will not be possible to install
Yum-y install google-chrome-stable-- nogpgcheck
Make a soft connection
Ln-s / usr/bin/google-chrome-stable / bin/chrome
Fixed that root users cannot run chrome
Edit vim / usr/bin/google-chrome-stable
Increase
Exec-a "$0"$HERE/chrome"$@"-- no-sandbox $HOME
Install chromedrive
Download the corresponding version of chromedriver address: https://npm.taobao.org/mirrors/chromedriver/
Establish a soft connection to increase executable permissions
This is the end of chmod + x chromedriver sudo mv-f chromedriver / usr/local/share/chromedriver sudo ln-s / usr/local/share/chromedriver / usr/local/bin/chromedriver sudo ln-s / usr/local/share/chromedriver / usr/bin/chromedriver "how to install google-chrome on the server". 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.