Posts

systemctl status libvirtd.service

 [desktop-rzuber risko]# systemctl status libvirtd.service ○ libvirtd.service - Virtualization daemon      Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled; preset: disabled)      Active: inactive (dead) TriggeredBy: ○ libvirtd-admin.socket              ○ libvirtd-ro.socket              ○ libvirtd.socket        Docs: man:libvirtd(8)              https://libvirt.org [desktop-rzuber risko]# systemctl enable libvirtd.service Created symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service → /usr/lib/systemd/system/libvirtd.service. Created symlink /etc/systemd/system/sockets.target.wants/virtlockd.socket → /usr/lib/systemd/system/virtlockd.socket. Created symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket → /usr/lib/systemd/system/virtlogd.socket. Created symlink /etc/systemd/system/socket...

mariadb zabbix manjaro arch linux

Image
  [root@thinclient ~]# mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system Two all-privilege accounts were created. One is root@localhost, it has no password, but you need to be system 'root' user to connect. Use, for example, sudo mysql The second is mysql@localhost, it has no password either, but you need to be the system 'mysql' user to connect. After connecting you can set the password, if you would need to be able to connect as any of these users with a password and without sudo See the MariaDB Knowledgebase at https://mariadb.com/kb or the MySQL manual for more instructions. You can start the MariaDB daemon with: cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql' You can test the MariaDB daemon with mysql-test-run.pl cd '/usr/mysql-test...

gunzip -c ./Downloads/Lakka-AMLGX.aarch64-4.0-box.img.gz | dd iflag=fullblock bs=4M | sudo dd iflag=fullblock oflag=direct conv=fsync status=progress bs=4M of=/dev/mmcblk0

Image
gunzip -c ./Downloads/Lakka-AMLGX.aarch64-4.0-box.img.gz | dd iflag=fullblock bs=4M | sudo dd iflag=fullblock oflag=direct conv=fsync status=progress bs=4M of=/dev/mmcblk0

openssl-0.9.8zh.tar.gz ... FAILED (unknown public key D5E9E43F7DF9EE8C)

Image
==> Verifying source file signatures with gpg...     openssl-0.9.8zh.tar.gz ... FAILED (unknown public key D5E9E43F7DF9EE8C) ==> ERROR: One or more PGP signatures could not be verified! Error downloading sources: openssl098 [risko@optiplex790 ~]$ gpg --keyserver keys.gnupg.net --recv-keys D5E9E43F7DF9EE8C gpg: key D5E9E43F7DF9EE8C: 60 signatures not checked due to missing keys gpg: key D5E9E43F7DF9EE8C: public key "Richard Levitte <richard@levitte.org>" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg:               imported: 1

Zabbix Server on Arch Linux

Image
Arch Linux Setup [root@ecs-lab-zabbix501 ~]# history     1  ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime     2  hwclock --systohc     3  nano /etc/locale.gen     4  locale-gen     5  nano /etc/locale.conf     6  cat /etc/vconsole.conf     7  nano /etc/vconsole.conf     8  nano /etc/hostname     9  cat /etc/hosts    10  nano /etc/hosts    11  mkinitcpio -p linux    12  passwd    13  pacman -Ss efiboot    14  pacman -S core/efibootmgr    15  efibootmgr -v    16  ls -l /boot    17  efibootmgr -c -d /dev/sda -p 1 -L "arch" -l '\vmlinuz-linux' -u 'initrd=\initramfs-linux.img'    18  source /etc/profile    19  env update    20  efibootmgr -v    21  e...

efibootmgr Could not prepare Boot variable: Read-only file system

Image
ccc-lab-zurfun501 ~ # efibootmgr -c -d /dev/sda -p 1 -L "funtoo" -l '\kernel-genkernel-x86_64-4.17.5-gentoo' -u 'initrd=\initramfs-genkernel-x86_64-4.17.5-gentoo' Could not prepare Boot variable: Read-only file system ccc-lab-zurfun501 ~ # mount /sys/firmware/efi/efivars -o rw,remount ccc-lab-zurfun501 ~ # efibootmgr -c -d /dev/sda -p 1 -L "funtoo" -l '\kernel-genkernel-x86_64-4.17.5-gentoo' -u 'initrd=\initramfs-genkernel-x86_64-4.17.5-gentoo' BootCurrent: 0005 BootOrder: 0004,0005,0000,0001,0002,0003 Boot0000* EFI Virtual disk (0.0) Boot0001* EFI VMware Virtual IDE CDROM Drive (IDE 0:0) Boot0002* EFI Network Boot0003* EFI Internal Shell (Unsupported option) Boot0005* funtoo1 Boot0004* funtoo ccc-lab-zurfun501 ~ #

linux desktop ad blocking

Image
sudo su - crontab -e 01 * * * * wget -O /etc/hosts https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts