Chromedriver on Centos

运行微博爬虫始终提示 ‘chromedriver’ executable needs to be in PATH. Please see 试图通过yum –y install chromedriver阿里云匹配的chromedriver的版本低于chrome,需要更新。然后发现不管是更新chrome还是chromium,始终都存在着版本不对。直到找到了这个: 安装 chrome 使用下面的命令,在root用户下就可以安装最新的 Google Chrome: yum –y install google-chrome-stable 安装 selenium 在 seleniump官网 找到最新的版本,下载selenium-server-standalone-X.XX.X.jar文件 selenium-server-standalone-3.13.0.jar selenium服务初始化 将上述selenium放入一个文件夹中,输入如下命令初始化 java -jar selenium-server-standalone-3.13.0.jar 注意,需要 java8 环境,可以参考 CentOS7安装java运行环境jdk 安装 chromerriver 在 chromerriver官网下载最新的ChromeDriver压缩包,解压得到chromedriver.exe文件 将下载的文件解压,放在如下位置 /usr/bin/chromedriver 给予执行权限 chmod +x /usr/bin/chromedriver 安装 XVFB 输入如下命令 yum install Xvfb -y  yum • Read More »

Solve AnacondaFailed toCreateMenus

This time I tried to solve a problem while installing Anaconda. My friend, a charming and talented lady, is interested in computer science. She wanted to learn python. So, I recommended Anaconda to her. It never occurred to me that there could be problems installing it. The failure is that ‘Anaconda failed to create menus.’ • Read More »

Visualize Famous Campus in China

By the end of the 9th month of 2017, many great events happened. One influential thing is the launch of the country’s construction plan of world first-class universities and world first-class disciplines. The plan, also known as the “Double-First Class” initiative, really inspires scholars and researchers. Honestly, I felt sad when HNU got categorized as • Read More »

Install WordPress on Centos

Before beginning, a domain, an ESC or a VPS are needed. Once the ECS or the VPS and the domain are prepared, the following procedures can be conducted. Detailed steps are as followings: Install LAMP services (Linux, Apache, MySQL, PHP). input these commands: Install Apache, MySQL, and PHP yum -y install httpd mysql mysql-server php php-mysql • Read More »


Posted on 2018-07-30 09:22:35 The database of this site went several days ago, all previous posts were removed. I will repost the previous articles.