localhost

Can't access localhost or phpMyAdmin with WAMP

别等时光非礼了梦想. 提交于 2019-12-20 05:03:26
问题 I'm running Apache v2.2.21, PHP v5.38, and MySQL v5.5.16. The WAMP icon is green. As the post title says, I can't access either localhost or phpMyAdmin from the WAMP systray icon menu, nor can I by typing http://127.0.0.1/index.php in a browser. Clicking on either localhost or phpMyAdmin gives me the error message "Unable to connect - Firefox can't establish a connection to the server at 127.0.0.1." I do have Skype and I know there are issues with Skype and WAMP port conflicts, so I quit

Can't access localhost or phpMyAdmin with WAMP

与世无争的帅哥 提交于 2019-12-20 05:03:14
问题 I'm running Apache v2.2.21, PHP v5.38, and MySQL v5.5.16. The WAMP icon is green. As the post title says, I can't access either localhost or phpMyAdmin from the WAMP systray icon menu, nor can I by typing http://127.0.0.1/index.php in a browser. Clicking on either localhost or phpMyAdmin gives me the error message "Unable to connect - Firefox can't establish a connection to the server at 127.0.0.1." I do have Skype and I know there are issues with Skype and WAMP port conflicts, so I quit

404 error on localhost

China☆狼群 提交于 2019-12-20 04:09:36
问题 I am trying to use some ajax to send some email. I have done this before using cold fusion and had no issue. What I am running into is that localhost is not finding a file that is clearly in the directory. In fact the file sits in the same directory as index.php which is finds no problem. However it gives me a 404 error file not found on my send.php file. I have even tried to go directly to the page via the address bar and it does not find the file. If I put in the file path ie - file:///C:/

Accessing localhost externally?

情到浓时终转凉″ 提交于 2019-12-20 03:19:41
问题 This is probably a very basic question. I SSH to my virtual Ubuntu server and start a django webserver running on localhost: Downloading/unpacking django Downloading Django-1.9.5-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded Installing collected packages: django Successfully installed django Cleaning up... Performing system checks... System check identified no issues (0 silenced). You have unapplied migrations; your app may not work properly until they are applied. Run 'python manage.py

RHEL5安装Postfix+CyrusSASL+dovecot

℡╲_俬逩灬. 提交于 2019-12-20 03:14:40
默认方式安装RHEL5,不选中任何类型服务器(如WEB服务器,开发服务器,虚拟服务器等) 安装postfix [root @rhel5 ~]# /etc/rc.d/init.d/sendmail stop 关闭 sm-client: [确定] 关闭 sendmail: [确定] [root@rhel5 ~]# chkconfig sendmail off [root@rhel5 Server]# rpm -ivh postfix-2.3.3-2.i386.rpm [root@rhel5 Server]# vi /etc/postfix/main.cf myhostname = mail.mailidc.cn #设置运行postfix服务的邮件主机的主机名、域名 mydomain = mailidc.cn myorigin = $mydomain #设置由本机寄出的邮件所使用的域名或主机名称 inet_interfaces = all #设置postfix服务监听的网络接口 mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost #设置可接收邮件的主机名称或域名 mynetworks = 127.0.0.1 #设置可转发哪些网络的邮件 relay_domains = $mydestination

Postfix+dovecot搭建简单邮箱服务器

别等时光非礼了梦想. 提交于 2019-12-20 02:33:49
实验环境: (1)修改主机名:hostnamectl set-hostname mail.meilintong.com 退出,重新登陆 (2)关闭selinux (3)关闭防火墙 1.安装postfix yum install postfix yum remove sendmail 注意sendmail是centos默认安装的,超级难用,放心删掉 (1)修改MTA(默认邮件传输代理) alternatives --config mta 然后直接回车即可。 检查一下是不是已经设置成功了。 alternatives --display mta 第一行可以看到mta的状态。 例如:mat - status is manual. (2)修改postfix服务的配置文件 vim /etc/postfix/main.cf myhostname = mail.meilintong.com #75行 定义主机名 mydomain = meilintong.com #83行 定义域名 myorigin = $mydomain #99行 定义组织域 inet_interfaces = all #116行 定义网络区域 inet_protocols = ipv4 #119行 定义协议 推荐用ipv4,如果支持ipv6可以使用all mydestination = $myhostname,

Cannot browse site hosted on local machine from a mobile

假装没事ソ 提交于 2019-12-20 02:33:03
问题 I generated empty backbone application from backbone-generator on my OS X 10.9.1. Then changed the connect hostname in Gruntfile.js to '0.0.0.0' and start the app. The issue is that I cannot access the application from Android connected to the same home wifi network. I know that my local machine ip is 192.168.1.101. So, I typed in a mobile browser 192.168.1.101:9000 but nothing is loaded. I have found several similar questions on SO: How to browse localhost on android device? Android cannot

ClickOnce Not Obeying Installation Folder for Localhost

≯℡__Kan透↙ 提交于 2019-12-20 01:11:47
问题 I'm testing a ClickOnce application deployment. I have setup a virtual directory on my machine (running IIS). I have specified http://localhost/SampleApplication as the Installation Folder URL in the Publish tab of Visual Studio. However, when I publish the application I get the following error: Warning: Files could not be downloaded from http://chrish/SampleApplication/. The remote server returned an error: (407) Proxy Authentication Required. Publish success. Warning: Unable to view

Windows平台安装配置Hadoop

天大地大妈咪最大 提交于 2019-12-20 01:07:08
      Windows平台安装配置Hadoop 步骤: 1. JDK安装 2. 下载hadoop2.5.2.tar.gz,自行去百度下载。 3. 下载hadooponwindows-master.zip【**能支持在windows运行hadoop的工具】 https://github.com/steveloughran/winutils 一、 安装hadoop2.5.2 下载 hadoop2.5.2.tar.gz ,并解压到你想要的目录下,我放在 D:\dev\hadoop-2.5.2 二、配置hadoop环境变量 1.windows环境变量配置 右键单击我的电脑 –>属性 –>高级环境变量配置 –>高级选项卡 –>环境变量 –> 单击新建HADOOP_HOME,如下图 2.接着编辑环境变量path,将hadoop的bin目录加入到后面; 三、修改hadoop配置文件 编辑“D:\dev\hadoop-2.5.2\etc\hadoop”下的 core-site.xml 文件,将下列文本粘贴进去,并保存; <configuration> <property> <name>hadoop.tmp.dir</name> <value>/D:/dev/hadoop-2.5.2/workplace/tmp</value> </property> <property> <name>dfs

Python高级应用程序设计任务

老子叫甜甜 提交于 2019-12-20 00:41:23
Python高级应用程序设计任务要求 用Python实现一个面向主题的网络爬虫程序,并完成以下内容: (注:每人一题,主题内容自选,所有设计内容与源代码需提交到博客园平台) 一、主题式网络爬虫设计方案(15分) 1.主题式网络爬虫名称 穷游网香港旅游攻略中的景点爬取 2.主题式网络爬虫爬取的内容与数据特征分析 内容:主要爬取穷游网香港旅游攻略景点排名前 100的旅游景点的信息,以及对应的景点评论信息。 数据特征分析:对所有的评论做了词云、对景点的评分做了可视化和柱状图 3.主题式网络爬虫设计方案概述(包括实现思路与技术难点) 实现思路:首先通过分析此网站得知数据的传输通过 ajax实现,其中景点信息固定url为“https://place.qyer.com/poi.php?action=list_json”,通过修改data参数实现翻页。创建一个ScenicInfo 类定义param_info和insert实现对数据的抓取和保存。景点评论信息是通过url拼接来实现,创建一个Comments类定义param_comments发起请求获得json数据,insert方法插入数据库 技术难点:在爬取过程中没有出现反爬。 二、主题页面的结构特征分析(15分) 1.主题页面的结构特征 每页 15项数据,爬取了64页,一共960项数据