本人只有"It works!"tyfj 写了:在浏览器地址栏里输入: http://localhost (或者 127.0.0.1)后都只有这些目录怎么回事?
dc/
info2www/
以前在 M$ win 上也用过 XAMPP, 是什么把 localhost 占用了吗?
用XAMPP-轻松配置PHP开发环境
-
- 帖子: 6548
- 注册时间: 2008-10-31 22:12
- 系统: 践兔
- 联系:
-
- 帖子: 3
- 注册时间: 2009-04-21 11:01
Re: 用XAMPP-轻松配置PHP开发环境
administrator@ubuntu:~$ tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz:无法 open: 没有该文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
这是什么意思阿
本人新手
文件放在桌面
tar: xampp-linux-1.7.1.tar.gz:无法 open: 没有该文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
这是什么意思阿
本人新手
文件放在桌面
-
- 帖子: 20
- 注册时间: 2005-11-25 8:43
Re: 用XAMPP-轻松配置PHP开发环境
没有该文件或目录啊livecoffee 写了:administrator@ubuntu:~$ tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz:无法 open: 没有该文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
这是什么意思阿
本人新手
文件放在桌面
你打pwd看看现在在什么目录
-
- 帖子: 30
- 注册时间: 2009-05-31 2:07
Re: 用XAMPP-轻松配置PHP开发环境
这个问题很是韵味:
andcat@andcat-desktop:~$ sudo tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz:无法 open: 没有该文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
andcat@andcat-desktop:~$
相当确定,文件已经放在桌面上,但执行之后,仍然是这样?
能有什么解决办法?
andcat@andcat-desktop:~$ sudo tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz:无法 open: 没有该文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
andcat@andcat-desktop:~$
相当确定,文件已经放在桌面上,但执行之后,仍然是这样?
能有什么解决办法?
- adqin
- 帖子: 1417
- 注册时间: 2007-01-24 22:07
- 来自: http://adqin.cn
- 联系:
-
- 帖子: 20
- 注册时间: 2005-11-25 8:43
Re: 用XAMPP-轻松配置PHP开发环境
文件在桌面上,但你的current directory不在桌面上啊..andcat 写了:这个问题很是韵味:
andcat@andcat-desktop:~$ sudo tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz:无法 open: 没有该文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
andcat@andcat-desktop:~$
相当确定,文件已经放在桌面上,但执行之后,仍然是这样?
能有什么解决办法?
建议先学学linux基本命令..
-
- 帖子: 65
- 注册时间: 2009-03-30 13:06
Re: 用XAMPP-轻松配置PHP开发环境
[quote="andcat"]这个问题很是韵味:
andcat@andcat-desktop:~$ sudo tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz:无法 open: 没有该文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
andcat@andcat-desktop:~$
自己试了试,找到答案了呵呵
先用:sudo -i
取得root权限
然后:cd /hong/(你的用户名)/桌面
再然后 root@ubuntu:/home/(你的用户名)/桌面#
最后再运行tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
OK了!
andcat@andcat-desktop:~$ sudo tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz:无法 open: 没有该文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
andcat@andcat-desktop:~$
自己试了试,找到答案了呵呵
先用:sudo -i
取得root权限
然后:cd /hong/(你的用户名)/桌面
再然后 root@ubuntu:/home/(你的用户名)/桌面#
最后再运行tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
OK了!
-
- 帖子: 98
- 注册时间: 2009-05-31 0:44
-
- 帖子: 4
- 注册时间: 2009-10-29 7:44
Re: 用XAMPP-轻松配置PHP开发环境
原来这里有这么多有帮助的东西
我在网上找了很久,才会,呵呵!
我在网上找了很久,才会,呵呵!
- roy0524
- 帖子: 125
- 注册时间: 2007-11-20 21:42
Re: 用XAMPP-轻松配置PHP开发环境
sudo /opt/lampp/lampp security
然后根据提示进行设置密码。
设完密码后再方问 http://localhost/
出现
http://localhost 请求用户名和密码。信息为: “xampp user”
要我写账号密码,咋回事?
然后根据提示进行设置密码。
设完密码后再方问 http://localhost/
出现
http://localhost 请求用户名和密码。信息为: “xampp user”
要我写账号密码,咋回事?
- roy0524
- 帖子: 125
- 注册时间: 2007-11-20 21:42
Re: 用XAMPP-轻松配置PHP开发环境
Authentication required!
This server could not verify that you are authorized to access the URL "/xampp/". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
In case you are allowed to request the document, please check your user-id and password and try again.
If you think this is a server error, please contact the webmaster.
Error 401
localhost
2009年12月09日 星期三 14时32分36秒
Apache/2.2.12 (Unix) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k PHP/5.3.0 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0
This server could not verify that you are authorized to access the URL "/xampp/". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
In case you are allowed to request the document, please check your user-id and password and try again.
If you think this is a server error, please contact the webmaster.
Error 401
localhost
2009年12月09日 星期三 14时32分36秒
Apache/2.2.12 (Unix) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k PHP/5.3.0 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0
-
- 帖子: 2
- 注册时间: 2008-06-28 21:06
Re: 用XAMPP-轻松配置PHP开发环境
请问高手们,我的xampp只能访问http://localhost
,在主目录建立了放了一个网站,连接到htdocs下,但是无法访问,怎么办?谢谢

- fangix
- 帖子: 13
- 注册时间: 2010-09-05 8:16
- 来自: 武汉
- 联系:
Re: 用XAMPP-轻松配置PHP开发环境
我以前也有过在windows上面用LAMPP的经验,的确很方便,现在刚开始接触ubuntu,先用个自己熟悉的环境是上策,其他的再慢慢学!
-
- 帖子: 8
- 注册时间: 2010-10-21 0:03
Re: 用XAMPP-轻松配置PHP开发环境
Mark!!!受益!!!
-
- 帖子: 1
- 注册时间: 2011-08-06 11:52
问题--急!
我是新手,安装了xampp for windows,但是mySQL---ADMIN 打不开,请问为什么?谢谢