V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zeroday  ›  全部回复第 42 页 / 共 51 页
回复总数  1003
1 ... 34  35  36  37  38  39  40  41  42  43 ... 51  
2014-03-03 23:29:48 +08:00
回复了 xiaohanyu 创建的主题 Vagrant vagrant-hackerbox: 更友好的vagrant box
这个安装失败了,是配置错误吗?

failed: [66.66.66.10] => (item=virtualenvwrapper) => {"cmd": "/usr/bin/pip install --use-mirrors virtualenvwrapper", "failed": true, "item": "virtualenvwrapper"}
msg: stdout: Downloading/unpacking virtualenvwrapper
Running setup.py egg_info for package virtualenvwrapper

Installed /tmp/build/virtualenvwrapper/pbr-0.6-py2.7.egg
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found

warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no files found matching '*.html' under directory 'docs'
warning: no files found matching '*.css' under directory 'docs'
warning: no files found matching '*.js' under directory 'docs'
warning: no files found matching '*.png' under directory 'docs'
Requirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/local/lib/python2.7/dist-packages (from virtualenvwrapper)
Downloading/unpacking virtualenv-clone (from virtualenvwrapper)
Downloading virtualenv-clone-0.2.4.tar.gz
Running setup.py egg_info for package virtualenv-clone

Downloading/unpacking stevedore (from virtualenvwrapper)
Could not find any downloads that satisfy the requirement stevedore (from virtualenvwrapper)
No distributions at all found for stevedore (from virtualenvwrapper)
Storing complete log in /root/.pip/pip.log


FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/alex/hackbook.retry

66.66.66.10 : ok=13 changed=10 unreachable=0 failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
2014-03-03 22:01:18 +08:00
回复了 xiaohanyu 创建的主题 Vagrant vagrant-hackerbox: 更友好的vagrant box
找到解决方法了,修改hosts文件为你自定义的访问ip。
@alexrezit 没关系,就是有点可惜,毕竟是第一个Safari 查看V2ex回复的扩展。
确实很好用啊,找了很久,找到一个类似的,http://www.v2ex.com/t/74792 但是现在不能下载了。一些油猴脚本版的,在Safari上也不能用。
@zhangxiao 没搜索到,是个软件的名称吗?
2014-03-02 00:00:14 +08:00
回复了 xiaohanyu 创建的主题 Vagrant vagrant-hackerbox: 更友好的vagrant box
@xiaohanyu 又出现新问题了。

$ vagrant provision
[default] Running provisioner: ansible...

PLAY [vagrant] ****************************************************************

GATHERING FACTS ***************************************************************
fatal: [192.168.33.10] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue

TASK: [modify apt source list] ************************************************
FATAL: no hosts matched or all hosts have already failed -- aborting


PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/alex/hackbook.retry

192.168.33.10 : ok=0 changed=0 unreachable=1 failed=0

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
2014-03-01 15:46:02 +08:00
回复了 xiaohanyu 创建的主题 Vagrant vagrant-hackerbox: 更友好的vagrant box
@xiaohanyu 又出现问题。

$ vagrant provision
[default] Running provisioner: ansible...
Traceback (most recent call last):
File "/usr/local/bin/ansible-playbook", line 25, in <module>
import ansible.playbook
File "/Library/Python/2.7/site-packages/ansible/playbook/__init__.py", line 18, in <module>
import ansible.inventory
File "/Library/Python/2.7/site-packages/ansible/inventory/__init__.py", line 27, in <module>
from ansible.inventory.script import InventoryScript
File "/Library/Python/2.7/site-packages/ansible/inventory/script.py", line 25, in <module>
from ansible import utils
File "/Library/Python/2.7/site-packages/ansible/utils/__init__.py", line 29, in <module>
from ansible.utils import template
File "/Library/Python/2.7/site-packages/ansible/utils/template.py", line 21, in <module>
import jinja2
File "/Library/Python/2.7/site-packages/jinja2/__init__.py", line 33, in <module>
from jinja2.environment import Environment, Template
File "/Library/Python/2.7/site-packages/jinja2/environment.py", line 13, in <module>
from jinja2 import nodes
File "/Library/Python/2.7/site-packages/jinja2/nodes.py", line 18, in <module>
from jinja2.utils import Markup
File "/Library/Python/2.7/site-packages/jinja2/utils.py", line 520, in <module>
from markupsafe import Markup, escape, soft_unicode
ImportError: No module named markupsafe
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
2014-02-28 14:54:03 +08:00
回复了 jiang42 创建的主题 Atom Atom Editor 爱心接力!
David.malan#aol.com
THX
关掉vagrant,重启vagrant后又恢复了,奇怪了。。。
@undeflife 虚拟机系统是CentOS,改了apache的默认网页目录到/Vagrant/www/html中和MySQL默认的数据库目录,结果修改后的/Vagrant/www/html竟然在虚拟机中无法显示,然后一系列的升级Vagrant,VirtualBox就出现上述问题了。
@undeflife 感谢,再次尝试后成功,我先把VirtualBox中的虚拟机删除,再用VirtualBox打开虚拟机,修改.vagrant/machines/default/virtualbox/id为$user_home/VirtualBox VMs/vbox/我的虚拟机/*.vbox文件中的
<Machine uuid="{*******-****-***-***-*********}" 这个uuid
@undeflife "vagrantfile同级目录"指的是输入"vagrant up"启动Vagrant的目录吗?我修改了这个目录的.vagrant/machines/default/virtualbox/id,还是无效。
2014-02-25 12:04:40 +08:00
回复了 xiaohanyu 创建的主题 Vagrant vagrant-hackerbox: 更友好的vagrant box
使用时出现了点问题

$ vagrant provision

[default] Running provisioner: ansible...
The executable 'ansible-playbook' Vagrant is trying to run was not
found in the PATH variable. This is an error. Please verify
this software is installed and on the path.
2014-02-24 21:50:11 +08:00
回复了 zeroday 创建的主题 问与答 喜欢这个论坛的设计风格,请问它是仿 V2EX 的吗?
@iloahz 谢谢了,应该就是这个Xiuno BBS ,几乎一模一样。
2014-02-05 20:26:43 +08:00
回复了 bu 创建的主题 问与答 mac+safari+ninjakit 使用 眼不见心不烦,微博还是老样子?
看了FAQ,Q101最后一句说明了

“Q101:“眼不见心不烦”支持哪些浏览器?
作者提供支持的浏览器:

Chrome(v20及以上版本):在 Chrome应用商店 安装
Firefox:需要安装 Greasemonkey
作者不提供支持,但有用户报告可以安装使用:

其它基于 Chromium 的浏览器(如 360极速浏览器、猎豹浏览器):安装方法同 Chrome
遨游浏览器:需要安装 暴力猴 (鸣谢 @画中有话)
搜狗浏览器:需要安装 Tampermonkey (请参考 @搜狗浏览器技术支持 提供的教程)
Opera:需要安装 Violent monkey
Safari:需要安装 GreaseKit 或 NinjaKit
注意:对于 Chrome 与 Firefox 以外的浏览器,作者并不保证插件的所有版本都可以在这些浏览器上使用。
2014-02-04 23:04:44 +08:00
回复了 yangzh 创建的主题 分享发现 中国银行网银支持 mac 了!
@lvye 被高中老师吓得,都不敢到外资银行开户了,只能向往着…
1 ... 34  35  36  37  38  39  40  41  42  43 ... 51  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2126 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms · UTC 13:39 · PVG 21:39 · LAX 06:39 · JFK 09:39
Developed with CodeLauncher
♥ Do have faith in what you're doing.