我在npm
设置的 Vagrant 盒子中遇到问题。我注意到npm
版本有点旧,所以我想检查最新版本的问题。
这是我的理解是,你应该能够更新npm
使用npm install -g npm
,但该命令对没有影响npm
使用感:
vagrant@box:~$ npm -v
1.3.10
vagrant@box:~$ sudo npm install -g npm
npm http GET https://registry.npmjs.org/npm
npm http 200 https://registry.npmjs.org/npm
npm http GET https://registry.npmjs.org/npm/-/npm-2.1.12.tgz
npm http 200 https://registry.npmjs.org/npm/-/npm-2.1.12.tgz
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
npm@2.1.12 /usr/local/lib/node_modules/npm
vagrant@box:~$ npm -v
1.3.10
Run Code Online (Sandbox Code Playgroud)
我也尝试使用n
(如How can I update my nodeJS to the latest version? 中建议的那样?)进行更新,但它既不影响npm
也不影响node
:
vagrant@box:~$ node -v
v0.10.25
vagrant@box:~$
vagrant@box:~$ sudo …
Run Code Online (Sandbox Code Playgroud) 据我了解,这是默认配置/etc/crontab
:
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
Run Code Online (Sandbox Code Playgroud)
为什么为默认条目选择这些特定时间?
起初我认为它们在安装时有些随机化以平衡系统负载,但这似乎并不正确。
我目前正在尝试通过 Ubuntu 的官方软件包在 Ubuntu 12.10 上安装 tt-rss 软件包(Tiny Tiny RSS)。
安装过程似乎有效 - 但我需要运行的文件是 on/usr/share/tt-rss
而不是/var/www/something
.
它显然对我不起作用 - 数据库似乎已设置;一旦我确定我需要 mysql 客户端和服务器,安装过程就完成了,但是网络服务器没有选择 tt-rss 安装。
我还需要做什么才能使 tt-rss 正常工作?
当我尝试安装时chromium-browser
,Ubuntu 告诉我它不存在:
在Ubuntu的应用程序目录中没有列出16.04,当我点击下载按钮,它会导致错误包'铬浏览器是虚拟的。
我在实时环境中,因为我想用我的 Chrome 扩展程序之一调试问题。
我知道以前有人问过这个问题,但要么我的情况不同,要么以前的解决方案不再有效。
我在安装 Backtrack 5 时遇到问题。所以我只想在我的 Ubuntu 11.10 上安装 Backtrack 5 工具。它可以在 ubuntu 11.10 上运行吗?