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
Tag Archives: centos
Update CentOS 7 kernel in OVH
I need to update newer version of CentOS 7 kernel to allow my server to use Docker with OverlayFS. Identify the server kernel Navigate to the boot directory Download the kernel Regenerate grub2 Reboot the server
mount: unknown filesystem type overlay
You need Linux kernel 3.14++ to use overlayFS. I need to use overlayFS because Docker recommend to use it The devicemapper storage driver is deprecated in Docker Engine 18.09, and will be removed in a future release. It is recommended that users of the devicemapper storage driver migrate to overlay2. It doesn’t work So, I try to update the newest Continue reading “mount: unknown filesystem type overlay”
PHP Warning: Version warning: Imagick was compiled against Image Magick version 1690 but version 1691 is loaded
After I update the PHP to the newest version 7.3.15 and this errr appear in my CentOS 7 Solved by this solution Here i noted down the step I solve this problem that found from centminmod forums
Install and using SSHFS to Mount Remote File Systems Over SSH
I noted down here like a small cheat sheet for me can use in future. The SSHFS is very useful while transfer files or remote on some server in short time of period. Install in Centos 7 Install in Ubuntu Usage and example Change default port of SSHFS or Non-Standard Port
System error ‘[security.WindMcryptCbc.encrypt] extension ‘mcrypt’ is not loaded.’.
I don’t like error, but I have to fix the error, I note down here to do reference. I’m using CentOS 7, I think cause by upgraded from PHP 5 to PHP 7. I’m using DirectAdmin. What I found from internet The mcrypt extension has been abandonware for nearly a decade now, and was also Continue reading “System error ‘[security.WindMcryptCbc.encrypt] extension ‘mcrypt’ is not loaded.’.”
How to rebuild /etc/yum.repos.d in CentOS
If you remove all the files in /etc/yum.repos.d you may see this error. You can restore using the way below. Check your version and reinstall using this way.
An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.
Gem files will remain installed in /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.2 for inspection. Results logged to /var/www/discourse/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/mysql2-0.5.2/gem_make.out An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Make sure that gem install mysql2 -v ‘0.5.2’ –source ‘https://rubygems.org/’ succeeds before bundling. In Gemfile: mysql2 I found the best way to solve the problem. I think that you may missing Continue reading “An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.”
Install Tinyproxy on Centos 7
How to clear nginx cache manually ?
Normally I like to do manually job. assume that the default path of your nginx cache is /var/cache/nginx This will clear all your cache in one line. Delete a single file from nginx cache If you just want to delete a single file from nginx cache, you can try this. Then it will show something Continue reading “How to clear nginx cache manually ?”
