Unauthorized dropDatabase in MangoDB
Unauthorized dropDatabase in MangoDB Read More »
You must set an admin and password before using mongDB for security reason. You may receive some error when you login to MongoDB shell.
MongoDB set up admin and security after installed Read More »
A note to install Redis to new machine that running CentOS 7 Basic settings for Redis
Few Steps to install Redis in Centos 7 Read More »
I need more speed on nginx, the speed faster than the disk is memory, so I create a tmpfs, and put all the cache file into it.
mount fastcgi_cache to memory tmpfs for Nginx Read More »
Complex way, but allowed you to customise the output. Simple and shorter way Extra: Find the newest files in shell
How to find the oldest and newest file in directory in Linux shell Read More »
I’m following the official mongoDB manual to make the installation. I’m using XFS filesystem with RAID10 on my machine, that’s the official document recommended. Paste the code. If you receive these errors You may solve using this solution on transparent_hugepage always or from the official document
Installing MongoDB 4.2 on CentOS 7 Read More »
Every time after you finished install a fresh copy of Linux, it will give you UTC-0, so you need to set the timezone to make your software run correctly, like log with correct date. Check current date time in Linux List current support timezones in Linux Set the timezone Choose one fo the timezone from
Set Timezone correctly in CentOS 7 Read More »
I would like to run ab test on my website on MacOS Upgrade OpenSSL in MacOS
The cleanup (brew cleanup) command will remove outdated installed package versions. To affect a particular package/formula, you may supply a formula name like so: brew cleanup $FORMULA. brew cleanup only cleans outdated package versions if you have the newest version installed, so first brew upgrade then brew cleanup It saved me 5GB at /usr/local/
How to remove outdated installed versions of Homebrew packages in MacOS? Read More »