在Centos6下使用yum安装Nginx报错 解决方案: yum install epel-release…
阿里云centos6.9安装yii2报错 错误显示:Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire 经过研究发现是因为没有vendor这个文件目录,因为自己不是通过composer来装的,解决办法就是用composer来重新装yii2插件,就会有vendor这个目录…
安装完mysql后,mysql服务无法打开. 报错 查看mysql日志 执行命令:less /var/log/mysqld.log  发现是权限不够,不能创建pid文件.因此改变权限,再次启动服务 问题解决.…
nginx的location虚拟目录配置: monitor.conf server {       server_name   monitor.chinasoft.com;       server_name   1.1.1.1;     error_log  /data/logs/web-acccess.log  info;       access_log /data/logs/web-error.log;          location /jiankongshare{        …
问题: Package Manager Console error - PowerShell version 2.0 is not supported. Please upgrade PowerShell to 3.0 or greater and restart Visual Studio. 操作系统为WIN7,从内容看,需要将PowerShell升级到3.0及以上版本才可以,经过查找,发现需要通过升级Windows Management Framework版本来升级PowerShell,下面…
centos 记事本,有时候感觉不够用,或者 出毛病,打不开文件 然后决定安装个其他的记事本,  找来找去, 感觉 SciTE 还可以,于是下载源码编译安装,结果 No package ‘gtk+-2.0′ found 搜了下 就搜到个解决方法, 记下: 网上搜了一下,发现安装gtk+-2.0不是一件容易的事,后来无意发现一个帖子挺不错,内容如下: No package ‘libgnomeui-2.0′ found No package ‘gtk+-2.0′ found No package ‘…
这是因为大多数mysql-*的资源名称被mariadb-*重命名了 所以换成 yum install mariadb-server 就可以了 PS[摘自网络] MariaDB不仅仅是Mysql的一个替代品,它的主要目的是创新和提高Mysql的技术. MySQL之父Widenius先生离开了Sun之后,觉得依靠Sun/Oracle来发展MySQL,实在很不靠谱,于是决定另开分支,这个分支的名字叫做MariaDB.MariaDB跟MySQL在绝大多数方面是兼容的,对于开发者来说,几乎感觉不到任何不同…
ERROR: Command errored : command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pS3uLm/mysql-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pS3uLm/mysql-python/setup.py'"…
今天在给centos6.5安装nginx时候,提示报错No package nginx available. Error: Nothing to do, 后来百度一下,说缺少EPEL(epel是社区强烈打造的免费开源发行软件包版本库,系统包含大概有1万多个软件包) 版本寻找地址:http://fedoraproject.org/wiki/EPEL我需要的是centos6.5 64位(适用于6.x),我直接找到源后wget下载到当前目录: wget http://dl.fedoraproject.…
源码安装nginx报错,找不到gcc,但是实际上gcc是存在的,如下: # ./configure checking for OS + Linux -.el7.x86_64 x86_64 checking for C compiler ... not found ./configure: error: C compiler cc is not found # 尝试找寻gcc # whereis gcc .gz # 尝试指定cc # ./configure --with-cc=/usr/bin/g…
CentOS 6.5中通过yum安装nginx报错. 搜了一下,很多都是修改某个配置文件的.但是在StackOverFlow的某个问题下,有人回答说修改配置文件并不是一个好的方法,虽然我采用了这个人的方法也无效. 但是在另一个回答下有评论说对centOS 6.5有效,于是我试了试,还真可以: $ sudo yum clean all $ sudo yum --disablerepo="epel" update nss 然后就能成功通过yum安装nginx.…
每每以为攀得众山小,可.每每又切实来到起点,大牛们,缓缓脚步来俺笔记葩分享一下吧,please~ --------------------------- 准备放下R开始学python,真是痛苦,因为找个IDE都好麻烦,调用起来都没Rsudio那么好用.这个IDE下载模块比较方面,非常快.比较好的有pycharm以及Anaconda这个组合模组.一般来说,在window环境下加载模组,可谓是恐怖之极的事情. 安装完anaconda,就相当于安装了Python.IPython.集成开发环境Spyde…
laravel5.4安装的报错 [InvalidArgumentException] Could not find package laravle/installer at any version for your minimum-st ability (stable). Check the package spelling or your minimum-stability composer global require "laravel/installer" 由于国内的镜像安装不文…
ctrl+shift+p调用出窗口:输入install package,然后输入想安装的插件. 有些用户安装的可能是国内破解版的,我的就是,然后install package报错: Package Control:There are no packages available for installation. (借张贴吧的图http://tieba.baidu.com/p/3419874847) 原因大概是自带的install package已经过时. --------------------…
安装dubbo-admin报错 URIType BeanCreationException 学习了:https://blog.csdn.net/lsm135/article/details/52725722 但是也不是特别正确,2.5.5版本已经不报错了, 学习了:https://blog.csdn.net/u012453843/article/details/66476361?locationNum=2&fps=1 学习了:https://blog.csdn.net/zx13525079024…
如题,执行docker安装命令报错: [root@centos ~]# yum install docker-ce Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile https://download.docker.com/linux/centos/7/i386/stable/repodata/repomd.xml: [Errno…
最近使用CentOS7学习,安装安装Apache时候,使用yum安装Apache报错:本文适合CentOS7和RHEL7 # yum install httpd 出现:cannot find a valid baseurl for repo:base/7/x86_64. 针对这个问题,网上有大量的解决方案,说是网络不通的,不过很多都是场景式的,比如: 修改: vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是“ifcfg-e…
写在前面 本文给出Windows下nginx报错:CreateFile() "xxx/logs/nginx.pid" failed 的解决方法并分析了出错原因,其中 xxx 表示nginx的安装路径(即nginx.exe所在的路径).注意,除非特别说明,否则后文一律使用 xxx 来表示nginx的安装目录.想直奔重点的读者请直接跳至解决小节,想了解原理的读者可以参考分析和验证小节. 正文 现象 在Windows下,当我们执行 nginx -s stop 或 nginx -s quit …
1)首先,下载一个Microsoft Visual C++ Compiler for Python 2.7的补丁,下载地址在这里: http://www.microsoft.com/en-us/download/details.aspx?id=44266 2) 然后下载安装VS2008(对应VER9.0),如果电脑上安装的是VS2010(对应VER10.0), 可以在VS命令行下执行:SET VS90COMNTOOLS=%VS100COMNTOOLS% 如果你安装的是 2012 版(对应VER1…
使用yum安装应用程序时候,报错:[Errno 14] PYCURL ERROR 7 - "Failed to connect to 2001:da8:8000:6023::230: 网络不可达" 1.系统环境 物理机:Windows 7(32位)旗舰版 虚拟机:CentOS 6.5 2.问题描述 从安装好系统之后,用yum源安装软件,一直可以用,今天突然就报了如下的错误,yum也无法使用了: Loaded plugins: fastestmirror Loading mirror s…
sql server 2008卸载之后再次安装一直报错问题. 第一:由于上一次的卸载不干净,可参照百度完全卸载sql server2008 的方式 1. 用WindowsInstaller删除所有与SQL2008安装有关的文件,包括以下:  Microsoft SQL Server 2008  Microsoft SQL Server 2008 Browser  Microsoft SQL Server 2008 Native Client  Microsoft SQL Server 2008…
Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描述 使用pip按照virtualenv报错,如下: pip install virtualenv Collecting virtualenv /opt/python27/lib/python2./site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:: SNIMissingWarning: An HTTPS r…
Ubuntu14.04在virtualenv下安装scrapy报错,Failed building wheel for cffi,lxml,cryptography 等. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 sudo apt-get build-dep python-lxml sudo pip install lxml --upgrade sudo apt-get install build-essent…
CentOS6.5安装readline时报错:/usr/bin/ld : cannot find -lncurses 解决方法: 安装ncurses-devel,输入命令: #yum install ncurses-devel ###安装完成后重新安装readline(#pip install readline)即可### 参考资料: 1.http://bbs.chinaunix.net/thread-2262638-1-1.html…
今天同事要搭建一套测试环境,安装开发版的SYBASE ASE 15.03 Windows平台下的,发现安装过程中到了创建数据库设备的环节就开始报错了,报错信息如下: 03/24/14 09:31:44 AM END ENVIRONMENT INFORMATION03/24/14 09:31:44 AM Using resource file 'C:\sybase\ASE-15_0\sqlsrv.res' for product attributes.03/24/14 09:31:44 AM Ru…
安装mysql-python报错: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 65: ordinal not in range(128) 需要先安装(yum): mysql-develpython-devel…
转自 nginx 报错 upstream timed out (110: Connection timed out)解决方案 - 为程序员服务http://outofmemory.cn/code-snippet/3315/nginx-upstream-timeout-110-connection-timeout-solution 报这个错误之后,整个服务器就不响应了,但是nginx后面的webpy程序没有任何错误,后端的数据库也很正常,从网上查了很多资料,都是说要修改proxy_read_tim…
安装STS报错 1.具体报错如下 Failure to transfer org.codehaus.plexus:plexus-archiver:jar:1.2 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updat…
安装STS报错 1.启动时报错 2.报错原因 3.处理办法…
安装STS报错 1.具体报错如下 2.报错原因 3.解决办法…