Category / SysAdmin

The nproc are the number of proces units a user can start; This is managed in the file : /etc/security/limits.confbut can be overwritten in /etc/security/limits.d/ normally in /etc/security/limits.d/20-nproc.conf which has priority over the limits.conf file. To check how many nproc’s you are using, you need to include the amount of threads, this can be seen […]

Read More

This is a quick guide on how I got a simple samba (4.10.x) share to work on Centos 8.1.1911 (Core) and Windows 10 Enterprise (1903). By god this should not be so hard, but it f*cking is. Generic setup Install samba : yum install samba edit /etc/samba/smb.conf change the workgroup, netbios name and security, add […]

Read More

It’s the first time I’m upgrading Proxmox’s; There is luckily good documentation on the upgrade path; So this is only a small summary of how I did the upgrade of a few standalone proxmox machines; (big note : this is for non cluster proxmox) First I upgrade everything to the latest : apt-get update && apt-get […]

Read More

I could already read ntfs file systems  but creating one seems to require more packages; I was surprised as I installed ntfs-3g but still could no run : [[email protected] ~]# mkfs -t ntfs /dev/sda1 mkfs.ntfs: No such file or directory The solution is a tiny other package : yum install ntfsprogs And magically : mkfs -t […]

Read More

Here we are again, ‘a brand new’ Proxmox : 6.1 based on debian Buster (10.2) including ZFS 0.8.2 (zfs on Linux). However updating by default will fail due to the inclusion of only the enterprise (paying) repo’s; They do however offer free repo’s that are marked as testing; To activate those and get rid of […]

Read More

While installing hdf5 I got this error : # yum install hdf5.x86_64 Last metadata expiration check: 1:05:47 ago on Tue 14 Jan 2020 01:27:49 PM CET. Error: Problem: conflicting requests – nothing provides libsz.so.2()(64bit) needed by hdf5-1.10.5-4.el8.x86_64 (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages) As […]

Read More

I got this seemingly wrong error message from Centos 8 Linux shell : [[email protected] httpd]# ll total 566 drwxrwxr-x 3 svennd svennd 3 Dec 11 16:23 apps drwxrwxr-x 20 svennd svennd 20 Dec 11 16:23 exts drwxrwxr-x 4 svennd svennd 10 Dec 11 16:23 lib lrwxrwxrwx 1 svennd svennd 8 Dec 11 16:23 tclsh -> […]

Read More

Set IPMI to use DHCP

4 December, 2019

If you installed ipmitools, you can change the IP address source from static to DHCP or otherwise. To change to DHCP : ipmitool lan set 1 ipsrc dhcp Check what is now setup : ipmitool lan print example : [[email protected]~]# ipmitool lan print Set in Progress : Set Complete Auth Type Support : NONE MD2 […]

Read More

Disable 2FA in Proxmox 6

21 November, 2019

I was checking the new version of Proxmox, when I noticed there is an option to enable 2FA; (see the docs) It works really fine, but then I realized my colleague’s probably don’t have the key. To disable however, I couldn’t find it online; So I digged in the guts of Proxmox /etc/pve/user.cfg there is […]

Read More

I got this weird error; Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50162 Library:50524 Filename: mysqli/mysqli_driver.php After checking PHP seems there was a different version of MariaDB installed; 5.5 vs 10.1; php -i |grep API Server API => Command Line Interface PHP API => 20160303 Zend Extension Build => API320160303,NTS PHP Extension Build => API20160303,NTS MHASH API Version => Emulated Support Client API library […]

Read More