Posts

Subversion (svn) install on RHEL 9 (alma linux), connection using apache https

dnf install mod_dav_svn subversion httpd chown -R apache.apache /var/www nano /etc/httpd/conf.d/subversion.conf LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so <Location /svn>    DAV svn #I place my svn repository in /home/svn and the repository itself is called, repository change the path on the following line    SVNParentPath /home/svn/    AuthType Basic    AuthName "Subversion User Authentication "    AuthUserFile /etc/svnusers    Require valid-user </Location> htpasswd -cm /etc/svn-auth-users svnuser1 open firewall rules, I prefer using webmin to do so You need to adjust selinux, in my case I disabled it, since the repository is only for my personal needs. If you want to add self signed ssl, here is a great tutorial: certificate: https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-apache-on-centos-8

Standalone proxmox 7.1 inplace upgrade to 8 (latest) (7.1 -> 7.4 -> 8.x)

 I wanted to upgrade my standalone proxmox server I found here the greatest tutorial for doing it ( youtube video  the text version is  here)   Just in case the website is going down, I copy the steps here. Stops all VM # disable proxmox commmercial repo sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list # add the proxmox community repo echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-community.list # update software repositories apt update # install software updates apt dist-upgrade -y # clean apt cache apt clean # run the upgrade checklist utility, resolve any issues reported before continuing pve7to8 --full # update apt repositories to bullseye sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list && sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/pve-community.list && sed -...

Latest OpenWRT (23.05.0) on asus rt-n16 (bcrms driver)

Image
Here are steps I did to upgrade OpenWRT 15.x to 23.05.  Get the latest firmware here : https://openwrt.org/toh/asus/rt-n16   On your router UI,  go to firmware upgrade page and download config backup Install firmware ~5 mins later browse to router web interface  Since the packaged wireless driver only supportb 801.1b, I upgraded the wireless firmware to broadcom driver  source .  Things went bad, wl was not found.  What I did: # removing previous modules opkg remove kmod-b43 kmod-b43legacy kmod-mac80211 kmod-cfg80211 kmod-brcmsmac # installing proprietary module and supported packages opkg update; opkg install kmod-brcm-wl nas wlc wl # cleaning up wireless configuration and rebooting device rm -f /etc/config/wireless; reboot So, went back to use brcm drivers  opkg update  opkg remove kmod-brcm-wl nas wlc wl opkg install kmod-brcmsmac opkg install kmod-brcmutil  rmmod b43 rmmod b43legacy rmmod wl rmmod brcmsmac rmmod brcmutil mo...

how to install fwbackups-1.43.7 on almalinux 8.6 -> not possible :(

I wanted to create a small tutorial to install fwbackups 1.43.7 on almalinux 8.6 and alike. I started to write this tutorial to finally figure out that fwbackups is no more compatible with latest centos distributions. Fwbackups is not compatible with recent python version and same for the newest GTK version. So, too bad, fwbackups can't be used. I am sad and hope there will be an updated version. Looking for an alternative ? I wanted to try backintime. Without success, I had to forget backintime. Instead I tried restic ( https://restic.net/ it is a great tool that can be installed easily in almalinux. The documentation is great and the tool is efficient. It is my new friend. If you are looking for a desktop backup solution, restic should be tried.

Nvidia GPU mining ETH low hashrate? LHR in cause? Unlocked miner not working? This may help you!

I own a home server. A small server with a lot of old Hard disk drive, in a raid 0 configuration. On this server I have 2 PCIe x16 slots, so I added 2 GPU.  At my local computer store, I got 2 MSI Nvidia RTX 3060 ventus2x for a decent price. I wanted to use this rig to mine ethereum. When I started T-Rex miner, the stats were less than half the hashing speed I was expecting from my search on the net. I got only 21 MH/s and on the net I have seen these cards could do 48 MH/s. It is only then that I learned the existence of the LHR (Low Hashing Rate) feature in the Nvidia 30XX family. No it is not advertised clearly...   This feature is the response from Nvidia to miner that are the cause of the price increase and the unavailability of the GPU these years. By using the same power amount, but with a cutted in half hashing speed these cards are for gamers and 3d artists and other non miner use. From what I have learned, the LHR is only against Eth. In response to the LHR, s...

Proxmox can't shutdown VM [solved] (can't lock file '/run/lock/qemu-server/lock-*.conf)

 I am using proxmox 7.2-3 and I often have the following error when trying to stop, reboot or shutdown a VM from the gui.  can't lock file '/var/lock/qemu-server/lock-101.conf' I don't understand what is going on here, but it can be annoying when you can't shutdown from the VM itself. Here how I do: rm /run/lock/qemu-server/lock-[your VM ID].conf qm unlock [your VM id] qm stop [your VM id] example: rm /run/lock/qemu-server/lock-101.conf qm unlock 101 qm stop 101

proxmox pcie passthrough for GPU mining (linux guest)

 If, as me, you have a hard time to setup your proxmox server to use PCIe passthrough for your GPU, I hope this guide will help you. As today (june 23th 2022) I was able to use 2 GPU mining on a linux host. Windows host didn't work yet. I get the message can't allocate GPU RAM. So to begin, here is my hardware and software version I am working with : Proxmox 7.2-3 Almalinux 8.6 2 x MSI geforce RTX 3060 (one of the GPU is the main gpu) AMD Phenom(tm) II X4 B55 First thing first, be sure VT-d is enabled in your BIOS. Open the proxmox shell and let's play! 1. edit grub configuration file nano /etc/default/grub add to GRUB_CMDLINE_LINUX_DEFAULT: quiet video=simplefb:off pcie_acs_override=downstream,multifunction nofb nomodeset video=efifb:off video=astdrmfb textonly for Intel cpu, you also need to add: intel_iommu=on if you seek on forum and other pcie passthrough tutorial, you will notice most of them will add amd_iommu=on. This is not supported in the kernel. Maybe it ...