OS Categories

Where almost everything resides.

You can modify the default desktop manager in raspbian with: [root@dataBananaBerry:~]# update-alternatives --config x-session-manager There are 5 options for  alternative x-session-manager (that provides  /usr/bin/x-session-manager). Selecction Path Priority Status ------------------------------------------------------------ * 0 /usr/bin/startlxde 50 automatic mode 1 /usr/bin/lxsession 49  manual mode 2 /usr/bin/openbox-session 40  manual mode 3 /usr/bin/startlxde 50  manual mode Read more...
If you install a new OpenVPN config with specific namign (i.e work, home, etc) in /etc/openvpn. OpenVPN service will not enable them by default, even if you add it to the /etc/default/openvpn file, you have to enable especifically the setup you want. If you check which are the vpn services you will see: [root@dataBananaBerry:/etc/systemd/system]# systemctl |grep -i vpn openvpn.service loaded active exited OpenVPN service   But you have one setup added in openvpn folder: [root@dataBananaBerry:/root]# Read more...
Create a PS1 variable in /etc/profile or /etc/bash.bashrc files with: export PS1='[\[\033[01;36m\]\u\[\033[01;33m\]@\[\033[01;32m\]\h\[\033[00m\]:\[\033[1;37m\]\w\[\033[00m\]]\$ ‘   Below you can find the color definition: Black 0;30 Dark Gray 1;30 Blue 0;34 Light Blue 1;34 Green 0;32 Light Green 1;32 Cyan 0;36 Light Cyan 1;36 Red 0;31 Light Red 1;31 Purple 0;35 Light Purple 1;35 Brown 0;33 Yellow 1;33 Light Gray 0;37 White 1;37   To help myself remember what colours are Read more...
Resolution To resolve this issue, one or both of the following may be required, followed by rebuilding the initial ramdisk: Repair the LVM filter in /etc/lvm/lvm.conf to ensure it accepts the device associated with the root filesystem. Ensure that the root VG and LV paths references in the GRUB configuration are correct. The following steps offer one approach to troubleshooting and resolving this, making use of the dracut shell: Enter the dracut shell The dracut shell will replace a Read more...
To check what is the HBA (firmware) version. root@server:/root# for host in `ls /sys/class/scsi_host/`; do cat /sys/class/scsi_host/${host}/fw_version 2>/dev/null; done 5.06.03 (90d5) 5.06.03 (90d5) For  WWN. root@server:/root# for host in `ls /sys/class/scsi_host/`; do cat /sys/class/scsi_host/${host}/device/fc_host\:${host}/port_name 2>/dev/null; done 0x2100001b32898bbd 0x2100001b3289b3bf To rescan looking for new disks # for host in `ls /sys/class/scsi_host/`;do echo "- - -" Read more...