Archivo de la categoría: linux

tigervnc and ubuntu 18.04

# yum -y install tigervnc tigervnc-server vncpasswd # firewall-cmd –permanent –zone=public –add-port=5901/tcp success # firewall-cmd –reload success Running VNC as a System Service Next, we’ll set up the VNC server as a systemd service so we can start, stop, and restart it as needed, like any other service. This will also ensure that VNC starts… Leer más »

SNMP on Centos 7.5 config

InstallInstall the service using our loved yum. yum install net-snmp net-snmp-utils ConfigTo the configuration; which can be found here : /etc/snmp/snmpd.confI however remove the original one -most of the time- and just copy/paste the one I use on all servers; Keep the original for reference, although its very verbose (IMHO) mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.ori This is the config… Leer más »

Setting up Wake-on-lan on Ubuntu Server 18.04 LTS

Alright, where to begin?! So what is the problem? The steps for preparing Ubuntu for WoL are as follows: Install ethtool with:sudo apt-get install ethtool– Ubuntu Server 18.04 LTS already has this installed Run:ifconfigto get the name of your network interface. Its worth noting here that all the guides I found say that “your network interface is most… Leer más »

Replacing a failed disk in a mdadm RAID 5

December 8, 2013 Thomas Jansson16 Comments Introduction I have a RAID5 with 4 disks, see Rebuilding and updating my Linux NAS and HTPC server, and from my daily digest emails of the system I discovered that one of my disk had issues. I found the following in dmesg: [ 8347.726688] ata6.00: exception Emask 0x0 SAct 0xffff SErr… Leer más »

Delete postfix-script: warning: damaged message: corrupt

# postfix check postfix/postfix-script: warning: damaged message: corrupt/EDC75C244C20 postfix/postfix-script: warning: damaged message: corrupt/63380C2CC682 postfix/postfix-script: warning: damaged message: corrupt/AB9F7C2CC3AA postfix/postfix-script: warning: damaged message: corrupt/C76F3C2CC3B0     cd /var/spool/postfix/corrupt rm -rf * # postfix check # ALL OK! 😉