Start MongoDB from command line
To start MongoDB from command line, run mongod –auth –dbpath /path/to/mongodb See MongoDB
To start MongoDB from command line, run mongod –auth –dbpath /path/to/mongodb See MongoDB
To install SSL certificate for Zimbra Mail Server, login to server, switch to user zimbra Now create file commercial.key, paste your Private…
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…
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…
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…
General System stracelsoflspci Networking nmtui – configure networking Disk/Storage blkid – show UUID for disks.vgcreate Load
# strace -p 17723 -bash: strace: command not found # This is because strace not installed on the server. Install it with…
strace command is used to trace system calls. This is useful to see what a process is doing. To see what a…
When installing a software from source, i get error configure: error: can’t find pcap.h You’re not going to get very far without…
To scan a folder, run -r will scan sub folders too. To Scan a Folder (Only Show Infected) To exclude a folder…
Install clamav on Ubuntu Scan a folder with clamscan Install clamav Antivirus on CentOS 7 How to install ClamAV on cPanel Server
clamav is a free open source antivirus. To install clamav on Ubuntu/Debian, run apt install clamav -y To update ClamAV virus definitions,…