URL Not Found in the lab 11.1
The URL referenced in the lab for the 'stress' tool is broken.
Comments
-
yes indeed, whether his link is dead forever or temporarily I don't know, but you can always use the better stress-ng, which you can get from https://kernel.ubuntu.com/git/cking/stress-ng.git/ . AFAIK, it is completely backwards compatible.
Maybe he left Harvard
0 -
Couldn't handle the stress?
1 -
Hi @troy_dowler ,
You also could find "stress" in the repo of your distro. I'm on Ubuntu 19.04 and I see here:
$ apt-cache show stress-ng
Package: stress-ng
Architecture: amd64
Version: 0.09.57-0ubuntu2
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Colin King colin.king@canonical.com
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4345
Depends: libaio1 (>= 0.3.93), libapparmor1 (>= 2.10), libbsd0 (>= 0.5.0), libc6 (>= 2.29), libipsec-mb0, libsctp1 (>= 1.0.10+dfsg), zlib1g (>= 1:1.1.4)
Filename: pool/universe/s/stress-ng/stress-ng_0.09.57-0ubuntu2_amd64.deb
Size: 1679580[...]
Regards,
Luis.0 -
I don't know why, but if you click on the link above ( https://kernel.ubuntu.com/git/cking/stress-ng.git ) it seems to fail, but if you copy and paste into your browser it works. Beats me
0 -
Might have to use the the method raised by @Coop
yum search stress-ng
Loaded plugins: fastestmirror Loading mirror speeds from cached
hostfile ** base: centos.melbourneitmirror.net ** extras: centos.melbourneitmirror.net ** updates: centos.melbourneitmirror.net Warning: No matches found for: stress-ng No matches found0 -
I checked on pkgs.org and it looks like pre-made packages are available for most of the common distrobutions with the exception of CentOS8. This list does not mention RHEL8.
Troy, would you happen to be using CentOS8?
0 -
Hi Lee, I'm using CentOS7. Looks like I will need to a. compile the package, or b. install the stress-ng package and the dependencies. Not really sure right now how to go from here. I found this url which is what I'm trying to work off.
0 -
Both stress and stress-ng are in the EPEL repository for CentOS7. so a simple yum install would work if you turn on the epel repo. You can download the epel-7 repo a bunch of places or do the one line command:
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm0 -
@Coop, thanks for that. I have now stress-ng installed and hopefully i can complete the lab now.
Cheers,
Troy1 -
Confession time. I did try various things to make stress-ng work including what Coop mentioned Oct 03, but never got it working and gave up. Now, I realised that Lab 13.1 requires 'stress-ng' and not 'stress', so we have inconstancy with the Labs. Anyhow hopefully at least posting this matter may help somebody in some shape or form if they also run into this. I also forgot to mention that I'm using Raspberry PI 4 as my linux-box and up until lab 11.1 it has been fine.
0 -
Unless there is something weird on the RPI, this lab does not require stress-ng. It was developed originally on stress and has been working on that platform for quite a few years. The thing that has changed is the dififculty of obtaining stress as perhaps its author is moving on and letting people use stress-ng which is essentially a superset of stress
0 -
Hi @troy_dowler ,
Well, that explains why you have been having some trouble with the tools... Just wondering, what OS are you running on the Raspberry PI 4? Anyway, that may not be the best device to make the labs, as the OS's for these type of devices uses to be limited versions when talking about software.
Regards,
Luis.0 -
Hi Luis,
I'm using CentOS 7 on the Raspberry PI. Error below properly explains the issue. Do you know any other similar tools i can use to artificially load the system?[troy@localhost ~]$ yum deplist stress-ng
Loaded plugins: fastestmirror, verify
Loading mirror speeds from cached hostfile
epel/armhfp/metalink | 54 kB 00:00:00
Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=armhfp&infra=stock&content=altarch error was
No repomd fileFile /var/tmp/yum-troy-R5bUFz/armhfp/7/epel/metalink.xml does not exist
0 -
I'm not an expert on this, but epel does not officially exist for arhfp, see [https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp#head-b68dc016c9892844d739cbf121d360b0e3371c4f]
for exampleBasically you are using an unsupported platform for this course which is intended to be on an enterprise level distribution, so while it is fun, we have not endeavored to figure out these vagaries. So good luck and enjoy, but unless we have a RPI enthusiast paying attention there's a limit to how much we can debug this stuff for you. At any rate, compiling from source is a better solution as the code itself for stress and stress-ng is not very architecture dependent anyway
0 -
Hi @troy_dowler ,
I strongly suggest you to use a vm for doing the labs. We don't know what else is gonna fail in your device, and it's not supported as well.
*But, if you want to try, you can get the stress-ng sources from the git repo here:
https://kernel.ubuntu.com/git/cking/stress-ng.git/
I can't assure it will work anyway, and I still suggest to switch to a vm.
I haven't used other tool to stress the system cpu, but there are a lot to stress a web server and services in the could, but it's not the case.
Regards,
Luis.0
Categories
- All Categories
- 175 LFX Mentorship
- 175 LFX Mentorship: Linux Kernel
- 745 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 73 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 2 LFD103-JP クラス フォーラム
- 4 LFD210-CN Class Forum
- 764 LFD259 Class Forum
- 681 LFS101 Class Forum
- 2 LFS158-JP クラス フォーラム
- 162 LFS207 Class Forum
- 3 LFS207-DE-Klassenforum
- 4 LFS207-JP クラス フォーラム
- 61 LFS241 Class Forum
- 52 LFS242 Class Forum
- 42 LFS243 Class Forum
- 19 LFS244 Class Forum
- 4 LFS250-JP クラス フォーラム
- 166 LFS253 Class Forum
- 19 LFS256 Class Forum
- 1.4K LFS258 Class Forum
- 165 LFS261 Class Forum
- 26 LFS267 Class Forum
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 945 Programming and Development
- 310 Kernel Development
- 617 Software Development
- 977 Software
- 369 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)

