Loading...
安装源rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm yum install -y nginx
netstat -n | grep "^tcp" | awk '{print $6}' | sort | uniq -c | sort -n vim /etc/sysctl.conf #编辑文件,加入以下内容: net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1...
vi /usr/lib/sysctl.d/00-system.conf添加net.ipv4.ip_forward=1重启 systemctl restart network
1、安装EPEL Release,因为安装需要使用其他的repo源,所以需要EPEL支持[root@qd-vpc-op-snapshot01 ~]# yum install -y epel-release [root@qd-vpc-op-snapshot01 ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 //如果...
1、scrapypip install Scrapy 2、 seleniumpip install selenium 3、chromedriver首先需要下载Chrome客户端,然后查看客户端的版本号,如果是linux无界面的话可以执行命令行下载 rpm -ivh google-chrome-stable_current_x86_64.rpm 然后去 https://chromedrive...