centos6.5

NodeJS running on Mac, and have an error occurred when deploying on centOS

白昼怎懂夜的黑 提交于 2019-12-11 02:38:26
问题 I have a project with Node.js and MySQL. This project run well on local MAC osx. But have an error occurred when deploying on the centOS server. The project have 2 part, 1 is auto run with cron, that auto get data from one web, and update this data into MySQL. This part works fine on both local and online server. But another part is not, that part is display UI on browser, but when accessing it, an error is displayed. Error: Cannot enqueue Query after fatal error. at Protocol._validateEnqueue

Intervention/Image requires FileInfo

房东的猫 提交于 2019-12-10 16:53:05
问题 Im having trouble with Intervention/image, Laravel #composer install - intervention/image 2.1.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. I understand that it is trying to retrieve the extension fileinfo however I am having 0 luck with getting the extension to load. I believe that as of PHP 5.4 the extension fileinfo is automatically enabled, however it isnt showing up in #php -m modules. #pecl install fileinfo doesnt work either because my

Memcache extension with PHP 7 on CentOS fails to install

家住魔仙堡 提交于 2019-12-08 21:13:13
问题 I'm trying to upgrade a fairly large PHP 5.3 code base to PHP 7. It's hosted on CentOS 6.5, so I want to keep it on that OS. I'm currently doing it on a virgin Vagrant box - I've installed PHP 7 successfully, and all the modules except for Memcache. As root, when I run pecl install memcache it tries to install v2.2.7 but I get a long list of errors and warnings from make . At the end is: make: *** [memcache.lo] Error 1 ERROR: `make' failed According to GoPHP7 it should work, Memcache should

CentOS 6.5 配置JDK

≯℡__Kan透↙ 提交于 2019-12-06 00:47:31
系统环境: centos-6.5 安装方式: rpm 安装 软件: jdk-7u79-linux-x64.rpm 下载地址: http://pan.baidu.com/s/1o6ZSdh4 检验系统原版本 [root@localhost ~]# java -version java version "1.7.0_24" OpenJDK Runtime Environment (build 1.7.0_24-b18) OpenJDK HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing) 进一步查看 JDK 信息: [root @localhost ~]# rpm -qa | grep java tzdata-java-2012c-1.el6.noarch java-1.7.0-openjdk-1.7.0.45-1.45.1.11.1.el6.x86_64 卸载 OpenJDK ,执行以下操作: [root@localhost ~]# rpm -e --nodeps tzdata-java-2012c-1.el6.noarch [root@localhost ~]# rpm -e --nodeps java-1.7.0-openjdk-1.7.0.45-1.45.1.11.1.el6.x86_64 安装 JDK

初学者 熟悉基本centos6.5命令 以及 如何搭建SVN+http访问

邮差的信 提交于 2019-12-03 08:02:37
1、安裝SVN yum install subversion 2、svnserve --version [root@121 ~]# svn -version svn: invalid option character: e Type 'svn help' for usage. 表示安裝成功 3、创建SVN版本库也就是SVN文件存放地址跟目录 cd /mnt mkdir data_10G cd data_10G mkdir svn 4、创建版本库 svnadmin create /mnt/data_10G/svn 5、当执行这个命令的时候 会出现提示 y/n 是否下载。你写上y就可以了。 然后当出现 complete! 这个就安装成功了!(这个截图我就不拿了。) 6、创建了版本库之后 你的SVN 这个库目录下 会有一下的目录结构 这个目录应该很熟悉了 conf-----svn的启动配置文件参数 db------这个是你的SVN 上传的文件存储位置。这个是看不到原文件的 , 因为SVN服务器端不是简单将上传的文件一个一个存放起来的; SVN服务器端默认采用的FSFS格式是将每次commit的内容增量方式存放的,每个增量包存成1个文件,这个增量包中包括了这次commit的全部数据。 也就是说你不可能在服务器端存放该版本库的文件夹下找到你上传的某个文件。 其他目录请参考下面参数详情: 路径

CentOS 6.5 U盘安装全程记录

时光毁灭记忆、已成空白 提交于 2019-12-03 06:47:55
获取安装光盘镜像文件 CentOS 6.5 安装光盘镜像的官网下载地址: http://wiki.centos.org/Download 机器为32位(E5300,后来发现其实是64位的CPU。。。),选择 i386 版本,镜像文件为 CentOS-6.5-i386-bin-DVD1.iso UltraISO 百度搜索 UltraISO 第一条有个“最新官方版”,版本号 9.6.1.3016 用户名:王涛 注册码:7C81-1689-4046-626F 用U盘制作安装盘 用 UltraISO 打开iso文件,启动 -> 写入硬盘映像,硬盘驱动器选择自己的U盘,写入方式选择 USB-HDD+ v2(也有用其他方式的,孰优孰劣我也不懂),然后点 写入。这样就把U盘制作成 CentOS 6.5 的安装盘了。 安装CentOS 插入U盘,启动机器,按 DEL键 进入 BIOS 设置界面,选择从U盘启动,进入 CentOS 6.5 安装引导。 选择第一项 Install or upgrade an existing system Choose a Language - English Keyboard Type - us Installation Method - Hard drive Select Partition - /dev/sda4(选择U盘的路径,我这里是 /dev/sda4.

Selenium headless browser webdriver [Errno 104] Connection reset by peer

与世无争的帅哥 提交于 2019-11-28 10:03:15
I am trying to scrape data from the URLs below. But selenium fails when driver.get(url) Some times the error is [Errno 104] Connection reset by peer , sometimes [Errno 111] Connection refused . On rare days it works just fine and on my mac with real browser the same spider works fine every single time. So this isn't related to my spider . Have tried many solutions like waiting got selectors on page, implicit wait, using selenium-requests yo pass proper request headers, etc. But nothing seems to work. http://www.snapdeal.com/offers/deal-of-the-day https://paytm.com/shop/g/paytm-home/exclusive

Selenium headless browser webdriver [Errno 104] Connection reset by peer

喜欢而已 提交于 2019-11-27 03:29:57
问题 I am trying to scrape data from the URLs below. But selenium fails when driver.get(url) Some times the error is [Errno 104] Connection reset by peer , sometimes [Errno 111] Connection refused . On rare days it works just fine and on my mac with real browser the same spider works fine every single time. So this isn't related to my spider . Have tried many solutions like waiting got selectors on page, implicit wait, using selenium-requests yo pass proper request headers, etc. But nothing seems