在Linux上配置xampp后远程访问域名报错: New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file "httpd-xampp.conf". 初步分析了一下错误原因是:安全异常,需要修改httpd-xampp.conf.这个文件在:/opt/lampp/…
项目原来是可以访问的,后来突然不能不访问了,系统ip也是能ping通的,后来就想是不是防火墙的问题,查看一下还真是 原因:Linux服务器上的防火墙开着,关闭即可 1.查看firewall服务状态 systemctl status firewalld 出现Active: active (running)切高亮显示则表示是启动状态. 出现 Active: inactive (dead)灰色表示停止,看单词也行. 3.开启.重启.关闭.firewalld.service服务 # 开启service…
Installation Do I need to install pip? pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org or if you are working in a Virtual Environment created by virtualenv or pyvenv. Just make sure to upgrade…
环境:python3,tensotflow 在恢复了预先训练好的模型进行预测时,第一次是能够成功执行的,但我多次restore模型时,出现了以下问题: 1.ValueError: Variable char_embed/char_embedding already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at: 解决方法参考https://www.jianshu.com/…
[数据库开发]在Windows上和Linux上配置MySQL的过程 标签(空格分隔): [编程开发] 首先是在Windows上尝试用QT进行MySQL数据库开发,结果总出现driver不能load的错误,一直没有改过来.后又直接尝试在Linux下进行MySQL开发,直接安装了三个包就可以使用了.下面记录这些过程. 在Linux下配置MySQL的过程 首先是安装mysql,以ubuntu为例: sudo apt-get install mysql-server mysql-client //安装过…
gitlab上配置webhook后,点击测试报错: Requests to the local network are not allowed 操作如下: 报错: 错误原因: gitlab 10.6 版本以后为了安全,不允许向本地网络发送webhook请求 解决方法: 1.登录管理员账号 2.最上面一排的  扳手 设置按钮--->进入左侧 设置---->网络----> 选择 允许webhooks和本机网络交互 勾选后,点击保存,退出!!! 完成后: 1.此时可以点击Test进行测试 对于…
转自:linux nginx配置新项目加域名 找到nginx的配置文件 nginx/nginx.conf 第一种方,法直接在nginx.com里面配置 user www www; worker_processes auto; error_log /home/wwwlogs/nginx_error.log crit; pid /usr/local/nginx/logs/nginx.pid; #Specifies the value for maximum file descriptors that…
我的开发环境:Windows + Android Studio + Gradle 2.8 all + Jenkins 公司CI 服务器环境: Linux + Gradle 2.10 bin + Jenkins 下文中的Linux只表示公司72 CI服务器配置,基它Linux服务器和Mac电脑可供参考. Gradle在Windows环境与Linux上配置有哪些不同? 一.路径不同 1.local.properties文件里的SDK路径 a)        Windows上sdk.dir=D\: \…
故障现象: 有些应用场景,对时间同步的要求严格,需要用到NTP同步,如何在linux上配置NTP时间同步? 解决方案: 在linux 上配置NTP 时间同步,具休操作步骤,整理如下: 1.安装软件包(在服务端和客户端): yum install ntp : 2.服务器端配置 . 例如: 首先,服务端设定IP地址为:192.168.146.110 修改ntp配置文件 vim /etc/ntp.conf server 0.redhat.pool.ntp.org //设定上级服务器 restrict…
这个是我/etc/apt/sources.list的更新源: deb http://http.kali.org/kali kali-rolling main contrib non-free deb http://old.kali.org/kali sana main non-free contrib 配置好之后apt-get update报错如下: root@kali:~# apt-get update Get: http://old.kali.org/kali sana InRelease…