Start MongoDB from command line

Start MongoDB from command line

To start MongoDB from command line, run See MongoDB

Zimbra SSL install

Install SSL Certificate on Zimbra mail server

To install SSL certificate for Zimbra Mail Server, login to server, switch to user zimbra Now create file commercial.key, paste

Change Linux user shell

Change Linux user shell

To change shell for a user, run Example I will add a user, if no shell specified, it use sh

Check if you are using 32 or 64 bit  Linux

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. You can also use

linux sound

linux sound

aplay Show Sound Devices

Linux Commands

Linux Commands

General arch chsh – Change Linux user shell apropos whois uname chown at lynx setfacl tr System strace lsof lspci

strace: command not found

strace: command not found

This is because strace not installed on the server. Install it with yum

commands

commands

Linux Commands strace

strace

strace

strace command is used to trace system calls. This is useful to see what a process is doing. To see

configure: error: can’t find pcap.h

configure: error: can’t find pcap.h

When installing a software from source, i get error To fix this on CentOS 7 server, run

Scan a folder with clamscan

Scan a folder with clamscan

To scan a folder, run -r will scan sub folders too. To Scan a Folder (Only Show Infected) See clamav

clamav

clamav

Install clamav on Ubuntu Scan a folder with clamscan Install clamav Antivirus on CentOS 7 How to install ClamAV on