Install SSL Certificate on Zimbra mail server

Zimbra SSL install

To install SSL certificate for Zimbra Mail Server, login to server, switch to user zimbra Now create file commercial.key, paste your Private key. In commercial.crt, paste your SSL certificate. Create commercial_ca.crt with content of your ca-bundle file. Verify SSL cerificate If SSL verified sucessfully, you can install it with command To make SSL active, you … Read more

Change Linux user shell

To change shell for a user, run chsh –shell PATH_TO_SHELL USERNAME Example chsh –shell /bin/bash okadmin I will add a user, if no shell specified, it use sh as shell. root@lab:~# useradd okadmin root@lab:~# su – okadmin No directory, logging in with HOME=/ $ echo $SHELL /bin/sh $ exit root@lab:~# chsh –shell /bin/bash okadmin root@lab:~# … Read more

Check if you are using 32 or 64 bit Linux

To identify if you are using 32 bit or 64 bit Linux OS, run command arch. boby@sok-01:~$ arch x86_64 boby@sok-01:~$ You can also use uname command boby@sok-01:~$ uname -i x86_64 boby@sok-01:~$ Another way is to use hostnamectl command and look for “Architecture”. boby@sok-01:~$ hostnamectl Static hostname: sok-01 Icon name: computer-desktop Chassis: desktop Machine ID: 70486772aac1410c9a8031851ab60a0d … Read more

linux sound

aplay sudo alsa force-reload vi /etc/modprobe.d/alsa-base.conf Show Sound Devices boby@fwhlin:~$ cat /proc/asound/cards 0 [Intel ]: HDA-Intel – HDA Intel HDA Intel at 0xfb9f8000 irq 75 1 [HDMI ]: HDA-Intel – HDA ATI HDMI HDA ATI HDMI at 0xfbcfc000 irq 76 boby@fwhlin:~$ boby@boby-pc ~ $ cat /proc/asound/card0/codec* | grep Codec Codec: Realtek ALC892 boby@boby-pc ~ $ … Read more

strace: command not found

# strace -p 17723 -bash: strace: command not found # This is because strace not installed on the server. Install it with yum # yum install strace Loading “installonlyn” plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies –> Populating transaction set with … Read more

strace

strace command is used to trace system calls. This is useful to see what a process is doing. To see what a process doing, run To run a command and strace Debug apache start up log strace out put to a file when running a command