ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. 1337
    3. Best
    1
    • Profile
    • Following 0
    • Followers 0
    • Topics 273
    • Posts 3,519
    • Groups 0

    Posts

    Recent Best Controversial
    • How to install and run Geekbench 4 on linux

      If you want to run Geekbench 4 on a linux server, this is how to install and run it.
      Note that you need to have a working internet connection on the server.
      You can run it as root or as any other user.

      Let's start from the home directory and put the files there.
      cd

      Download the files from geekbench.com:
      (change version number if needed for latest version)
      wget http://cdn.geekbench.com/Geekbench-4.3.3-Linux.tar.gz

      Extract the downloaded files:
      tar -zxvf Geekbench-4.3.3-Linux.tar.gz

      Go to the extracted folder:
      cd Geekbench-4.3.3-Linux

      Run the test in tryout mode, results are uploaded automatically:
      ./geekbench_x86_64

      After a few minutes the test is completed and you'll see a link to a webpage which is unique for each test.

      Upload succeeded. Visit the following link and view your results online:
      https://browser.geekbench.com/v4/cpu/1234567

      Just enter the link in any browser and you'll see the results of the test.

      posted in IT Discussion geekbench
      1
      1337
    • RE: NVMe and RAID?

      @dbeato said in NVMe and RAID?:

      One of the first Dell Servers with Hotswap NVME was the R7415 so yeah
      https://www.dell.com/en-us/work/shop/povw/poweredge-r7415

      Not sure what others have seen.

      The newer ones have a 5 in the model number, so R7515, R6515 etc.
      That's the ones you want to buy. AMD Epyc 2 Rome CPUs.

      Dual sockets models are R7525, R6525 etc.

      And to make this complete: 6 is 1U and 7 is 2U. R7515, R6515 etc.

      posted in IT Discussion
      1
      1337
    • RE: Macbook Air for College

      @jasgot said in Macbook Air for College:

      Daughter wants a Mac laptop for college. Any suggestions?

      Yes, take her to the store and buy the one she wants.

      Buying an Apple product is not a technical issue that needs to be figured out. It's an emotional issue. Like a Gucci bag.

      posted in IT Discussion
      1
      1337
    • SAS expanders explained

      If you have a RAID controller with 8 ports, you can connect up to 8 SAS/SATA drives directly to the RAID controller. That's fine but if you for instance have a server with say 36 drive bays you would need a 36 port RAID controller. Those are hard or maybe even impossible to find.

      Well, here is where the SAS expander comes into play. It will work somewhat like a network switch but for SAS/SATA ports.

      sas_expander.png

      The SAS expander IC can be integrated directly on the backplane of the drive bays or it can be a standalone card or PCIe card. These are often used when you have more than 8 drive bays and even more so when you have 16 or more drive bays.

      It allows you to expand the number of drives the RAID controller is able to connect to. It's transparent to the user because the RAID cards have integrated support for SAS expanders. This is also true of HBAs (Host Bus Adapters).

      The only drawback is that the maximum transfer rate is, as always, limited by the PCIe link to the RAID controller card but also by the SAS connections from the RAID controller to the SAS expander. In real life though these bottlenecks are seldom bottlenecks as it's uncommon to read from all drives at the same time and drives are also often slower, especially when using HDDs.

      SAS expanders are also used heavily in external JBOD chassis which are expander chassis for drive bays that you connect to a server so you can attach more drives than fits in the standard enclosure, aka Direct Attached Storage DAS. In that case the SAS expander sits inside the JBOD chassis.

      posted in IT Discussion sas sata sas expander
      1
      1337
    • RE: How to Secure a Website at Home

      @hobbit666 said in How to Secure a Website at Home:

      Why not GitHub or GitLab for free?

      That was part of the etc 😁😁😁😁
      Also I thought GitHub was more for storing scripts and opensource stuff.

      It's not generic hosting of websites as you don't have control like you would on a normal webserver.

      It's simplified hosting and the github/gitlab pages was initially intended to complement the projects on there. So it would be easy to make a html website from the git repositories, for instance for documentation.

      Since you can store any files on gitlab/github you could of course also use the pages for any type of static website.

      Here is how to get started in the simplest way possible:
      https://guides.github.com/features/pages/

      posted in Water Closet
      1
      1337
    • RE: Make a Bootable Windows 10 USB Installer from Fedora Linux

      Good to know about WoeUSB.

      If you have windows available, rufus is an easy tool to make bootable USB drives.
      Doesn't need to be installed and it's fast.
      https://rufus.akeo.ie/

      But in all honesty it's very easy to make a bootable windows installer USB drive manually. Just make a primary bootable FAT32 partition on the USB drive and copy the files from the ISO onto it. Done.

      You can copy more files onto the drive, for instance drivers or other software. If you do that, it makes sense to make a dd image of the entire thing when you're done. That way you can easily write a new USB drive with your custom files on it.

      posted in IT Discussion
      1
      1337
    • RE: Incorporating Ransomware Protection into Backup Plan

      First, ransomware is big business run by organized crime. I think about 19 billion dollar per year industry.

      Everything can be compromised in different ways. There is just no way to protect your data 100% and to think otherwise is just naive.

      We have chosen to go with tape as our last line of defense. Once you take it offline there is no way it can be remotely compromised. We believe that is enough to be able to recover from most attacks and the cost is reasonable.

      posted in IT Discussion
      1
      1337
    • How to check the integrity of a set of files with md5deep

      Integrity of files

      If you want to check the integrity of a bunch of files you can do it with md5deep, which can be thought of as a recursive version of md5sum. It was initially designed for forensic work.

      If a file has the same hash as another file they are identical. If you save the md5 hash of a file and later recheck it, you can be sure the file hasn't been changed, corrupted or tampered with.

      Installation on Debian

      You'll find it in the package md5deep.

      apt install md5deep
      

      Inside the package you'll also find sha256deep and some other good stuff. Use sha256deep instead if you want to use sha256 hash. It's better and actually more secure than md5 but might be slower. You use it in the exact the same way though.

      Besides linux it's also available on other OSs such as Windows, MacOS. You can build it from source too. https://github.com/jessek/hashdeep

      Create MD5 signatures

      md5deep -rl /check_this_dir/* > files.md5
      

      This will create a text file (files.md5) with the md5 hash of all files (*) in the "/check_this_dir" directory.

      Check MD5 signatures

      md5deep -rlX files.md5 /check_this_dir/*
      

      It will return the files that don't match. So if any file has been changed, it will show up.

      Common Options

      -r is to go into subdirectories as well
      -l is to use local paths instead of absolute paths
      -X is to do check the signatures

      -e is if you want to see the progress while it's working.

      Find more info on basic usage with examples here:
      http://md5deep.sourceforge.net/start-md5deep.html#basic

      Example

      Let's check that our files in /boot and it's sub-directories stays intact.

      First let's create an md5 file that we will compare with.

      md5deep -r /boot/ > boot.md5
      

      Let's verify the files have not been tampered with.

      md5deep -rX boot.md5 /boot/ 
      

      If a file or several files has been changed it will return the file and the new hash (exit code 1).
      If all is good it will not return anything (exit code 0).

      posted in IT Discussion md5 md5sum hashing corruption
      1
      1337
    • RE: XenServer gave error I'm not familiar with

      Maybe stop using USB drives for things they aren't designed for?

      It looks like we've been down this road before.
      https://mangolassi.it/topic/20070/so-xen-server-gave-me-an-error-what-do-i-do

      A small SSD would do better. Something with write endurance and something that is designed to attached 24/7 in a hot environment.

      If you don't have drive bays or don't want to waste them, use satadom.
      alt text

      posted in IT Discussion
      1
      1337
    • RE: System Admin - checklist for Don'ts and Important points please!

      Maybe I'm alone but on the top of my list:

      1. Only use Microsoft as a last resort when all other options have been explored.
      2. If you get paid by the hour disregard #1.
      posted in IT Discussion
      1
      1337
    • RE: 2 disks or 1 disk with 2 partitions for new VM?

      @Fredtx said in 2 disks or 1 disk with 2 partitions for new VM?:

      I'm building a new VM on a VmWare host to replace a 2008 server. The 08 VM has 2 virtual disks each mounted with a drive letter (C and D). Would it be better when creating the new VM to instead create 1 virtual disk, and divide it into 2 partitions (C and D)? Thoughts?

      VM with 2 virtual disks for sure. Much easier if you need to expand one. Also better if you have different storage options on your host, as you can place the virtual disks where they are best suited.

      posted in IT Discussion
      1
      1337
    • RE: New Alexa Devices Announced

      It sure is a dream come true - for NSA.

      posted in News
      1
      1337
    • RE: Attach drive to VM in Xenserver (not as Storage Repository)

      Thanks guys.

      Unfortunately the link @dbeato provided is how you add a new disk to xenserver when you want it to be Storage Repository - a place to store VM partitions. So if you have a disk already xenserver will wipe it clean and put LVMs or EXT3 with VDI files on it.

      When it's passed through as a block device to a VM it will have whatever filesystem the VM formats it with.

      The problem with the info in the link @black3dynamite provided is that it's for xenserver 5.x so it doesn't work straight up with Xenserver 7.x (I'm running 7.4).

      What I ended up doing was adding a raid 1 array instead of just a disk. The principle is the same though, just another name on the block device.

      The array /dev/md0 is passed through to the VM as a block device.

      I did it by adding a rule to /etc/udev/rules.d/65-md-incremental.rules almost at the end.

      KERNEL=="md*", SUBSYSTEM=="block", ACTION=="change", SYMLINK+="xapi/block/%k", \
              RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
      

      This rule will pass all md arrays to the VMs as Removable Storage in Xenserver (so you can attach it to whatever VM you want).

      Note that * in KERNEL=="md*" is a wildcard. So this will match the devices /dev/md0, md1 md2 etc. Just replace md* with whatever block device you want to pass through.

      The array is 2TB so I don't know if this works with bigger arrays.
      After trying some larger drives I can verify that it works fine with larger than 2TB arrays.
      Also the disks were empty so I'm not sure if xenserver will wipe the disk when you set this up the first time.
      After some experimenting it looks like Xenserver will not touch the drive.

      I'll add the complete file for reference.

      KERNEL=="td[a-z]*", GOTO="md_end"
      # This file causes block devices with Linux RAID (mdadm) signatures to
      # automatically cause mdadm to be run.
      # See udev(8) for syntax
      
      # Don't process any events if anaconda is running as anaconda brings up
      # raid devices manually
      ENV{ANACONDA}=="?*", GOTO="md_end"
      
      # Also don't process disks that are slated to be a multipath device
      ENV{DM_MULTIPATH_DEVICE_PATH}=="?*", GOTO="md_end"
      
      # We process add events on block devices (since they are ready as soon as
      # they are added to the system), but we must process change events as well
      # on any dm devices (like LUKS partitions or LVM logical volumes) and on
      # md devices because both of these first get added, then get brought live
      # and trigger a change event.  The reason we don't process change events
      # on bare hard disks is because if you stop all arrays on a disk, then
      # run fdisk on the disk to change the partitions, when fdisk exits it
      # triggers a change event, and we want to wait until all the fdisks on
      # all member disks are done before we do anything.  Unfortunately, we have
      # no way of knowing that, so we just have to let those arrays be brought
      # up manually after fdisk has been run on all of the disks.
      
      # First, process all add events (md and dm devices will not really do
      # anything here, just regular disks, and this also won't get any imsm
      # array members either)
      SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="linux_raid_member", \
              RUN+="/sbin/mdadm -I $env{DEVNAME}"
      
      # Next, check to make sure the BIOS raid stuff wasn't turned off via cmdline
      IMPORT{cmdline}="noiswmd"
      IMPORT{cmdline}="nodmraid"
      ENV{noiswmd}=="?*", GOTO="md_imsm_inc_end"
      ENV{nodmraid}=="?*", GOTO="md_imsm_inc_end"
      SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="isw_raid_member", \
              RUN+="/sbin/mdadm -I $env{DEVNAME}"
      LABEL="md_imsm_inc_end"
      
      SUBSYSTEM=="block", ACTION=="remove", ENV{ID_PATH}=="?*", \
              RUN+="/sbin/mdadm -If $name --path $env{ID_PATH}"
      SUBSYSTEM=="block", ACTION=="remove", ENV{ID_PATH}!="?*", \
              RUN+="/sbin/mdadm -If $name"
      
      # Next make sure that this isn't a dm device we should skip for some reason
      ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="dm_change_end"
      ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="dm_change_end"
      ENV{DM_SUSPENDED}=="1", GOTO="dm_change_end"
      KERNEL=="dm-*", SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="linux_raid_member", \
              ACTION=="change", RUN+="/sbin/mdadm -I $env{DEVNAME}"
      LABEL="dm_change_end"
      
      # Finally catch any nested md raid arrays.  If we brought up an md raid
      # array that's part of another md raid array, it won't be ready to be used
      # until the change event that occurs when it becomes live
      KERNEL=="md*", SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="linux_raid_member", \
              ACTION=="change", RUN+="/sbin/mdadm -I $env{DEVNAME}"
      
      # Added line
      # Pass-through of all /dev/md* arrays. 
      # Will end up as Removable Storage that can be assigned to a VM.
      KERNEL=="md*", SUBSYSTEM=="block", ACTION=="change", SYMLINK+="xapi/block/%k", \
              RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
      
      LABEL="md_end"
      
      posted in IT Discussion
      1
      1337
    • RE: Miscellaneous Tech News

      EU Commision proposes USB-C as mandatory standard for chargers.

      In an effort to curb electronic waste:

      "USB-C will become the standard port for all smartphones, tablets, cameras, headphones, portable speakers and handheld videogame consoles."
      https://ec.europa.eu/commission/presscorner/detail/en/ip_21_4613

      Apple is furious at EU plan.
      https://news.yahoo.com/apple-furious-eu-plan-standard-142010661.html

      posted in News
      1
      1337
    • RE: dbeato why are you migrating from Hyper-V to XCP-ng

      It's not really fair to call xcp-ng something completely "new".

      When Citrix releases a new xenserver version (or Citrix Hypervisor as it is to be called now) xcp-ng team works to build it but without the non-free parts and with some of their own additions (Gluster support, ZFS driver etc). In the future it might change but it's really Citrix that does the heavy lifting in addition to the upstream projects. If you're not using any of the new xcp-ng only features, you are really running on the same proven source code as the Citrix product.

      Personally I like the xencenter gui (xcp-ng center) for management and think it is superior to the KVM options. We have been putting xcp-ng on a bunch of new servers. We'll see what happens in the coming two, three years.

      posted in IT Discussion
      1
      1337
    • RE: URL Redirect at the Windows Workstation?

      Haha, I found just what you're looking for:

      Amazon Smile Redirector
      https://addons.mozilla.org/en-US/firefox/addon/amazon-smile-redirector/
      (gitlab)
      :grinning_face_with_smiling_eyes:

      Works for Firefox and Chrome.

      posted in IT Discussion
      1
      1337
    • RE: Can all phones read QR codes natively?

      Yes, QR codes are just barcodes but if they contain something like a link, the phone knows what to do with it.

      I use an addon in Firefox that makes a QR code out of any page or any link. I use that to get the link quickly into the phone without typing. As urls have become more readable, they are also a lot longer.

      If you use duckduckgo you can just enter "qr https://myawesomepage.com" into the search and you'll get a QR label directly.

      This is our fav forum link:
      mangolassi.gif

      posted in IT Discussion
      1
      1337
    • RE: Can all phones read QR codes natively?

      My idea for the QR codes was to add them to device labels (servers, routers, laptops etc) and have them link directly to the web page where the device documentation is.

      So if you're in the field and wonder what is this device, you can immediately scan the QR code with your phone and get all the relevant info.

      So a link from the physical world to the virtual world.

      posted in IT Discussion
      1
      1337
    • RE: HP Z440’s Bricked Hard

      HP Z440 is a workstation model, but I don't know if this one has a raid card or not.

      Either way, SOP is to boot into a linux live distro and wipe the disks.

      You can use wipefs if it's installed: wipefs -a /dev/sdX
      It will remove raid signatures and all partitions.

      posted in IT Discussion
      1
      1337
    • Live boot

      LIVE BOOT

      A live distro is made to boot read-only from USB stick (or CD/DVD) without installing anything. It's perfect for doing disk operations because the regular hard drives in the system doesn't have to be mounted to boot up the system.

      One of the first linux distros made especially for live booting was Knoppix. However today many distros have integrated live booting on the regular OS installation iso. Usually it says something like "Try Ubuntu" or "Try Fedora".

      This is how you do it with Ubuntu: https://tutorials.ubuntu.com/tutorial/try-ubuntu-before-you-install

      The linux kernel has excellent support for different chipsets and storage drivers so after doing a live boot, it's very likely that all drives will show up immediately.

      Then you can use partitioning tools and run shell commands to wipe or inspect whatever you want to do with the computers hard drives.

      It's also good because if the drives shows up (or whatever hardware you are troubleshooting) you know it's working.

      Sometimes when installing a new OS, the installer can get confused by unknown partitions or raid signatures, so booting linux on an usb drive and then wiping the system drives is a good way to make sure the installer starts with fresh drives.

      Live booting is also a good way to see if your hardware is supported by the linux distro you want to run.

      posted in IT Discussion linux live
      1
      1337
    • 1
    • 2
    • 3
    • 4
    • 5
    • 54
    • 55
    • 1 / 55