`tce-load -wi Stress`不起作用吗? [英] `tce-load -wi stress` doesn't work?

查看:165
本文介绍了`tce-load -wi Stress`不起作用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在docker机器上安装stress命令,但是当我运行时:

I want to install the stress command in docker machine, but when I run:

tce-load -wi stress

失败:

Downloading: stress.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: stress.tcz.md5.txt: No such file or directory
Error on stress.tcz

但是如果我安装nano:

docker@daocloud:~$ tce-load -wi nano
nano.tcz.dep OK
Downloading: file.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
file.tcz             100% |*****************************************|   312k  0:00:00 ETA
file.tcz: OK
Downloading: nano.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
nano.tcz             100% |*****************************************|   116k  0:00:00 ETA
nano.tcz: OK
docker@daocloud:~$

成功.

但是所有这些都在 http://distro.ibiblio.org/tinycorelinux的列表中/tcz_2x.html .

怎么了?如何安装stress?

推荐答案

听起来像是同样的问题.在线存储库URL全部指向tinycore的版本2或v3. tinycore的新版本为v8,因此它们具有不同的存储库,这些存储库似乎未显示在google中.

Had what sounds like same issue. The repository urls online all point to version 2 or v3 of tinycore. New versions of tinycore are v8, so they have different repositories which don't appear to show up in google.

可以使用以下方法找出我的版本:

Was able to figure out my version using:

version
8.1.1

那当我去:

http://repo.tinycorelinux.net/8.x/x86/tcz/

我遇到问题的存储库已被删除.

The repository I had problems with had been removed.

这说明发生了什么.解决方案是进行新的扩展.

This explains what happened. Solution is to make a new extension.

在Tiny Core(p73-77)中描述了进行扩展的方法:进入核心" .

Making extensions is describe in Tiny Core (p73-77): 'Into The Core'.

编译应用后,这非常简单.

This is very straightforward once you've compiled the app.

这篇关于`tce-load -wi Stress`不起作用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆