Code
Index of Using AWS S3 Bucket
In this post, I am going to list a set of links to solve the problems in using AWS S3 Bucket(Amazon Simple Storage Service) (more…)
Code
How to Create a User for a Specific Database
It is a common operation to create a user and giant all the permission to a specific database.
Code
Index of Using MongoDB
In this post, I am going to list a set of page as navigation, so that we can use MongoDB easier. (more…)
Code
A sample to automatically cleanup tasks executed too long
Here is a sample code to cleanup MongoDB tasks. (more…)
Code
Here document, another way to write multiline into one file
Here documents are indeed a powerful feature in Unix-like operating systems, allowing for the efficient creation and manipulation of files from within a shell script. They are particularly useful when you need to insert multiple lines of text into a file without having to resort to looping constructs or temporary files.
Code
Can not exec “libtoolize”/”aclocal”
Sometimes in building projects, we may meet an error seems as follow:
Can't exec "libtoolize": No such file or directory ....
Code
How to rename your machine
Changing the name of your os could be the first step after initialized you server — at least it works for me. (more…)
Code
vsftpd: GnuTLS error -15: An unexpected TLS packet
TL;DR: Configuring vsftp is a difficult work and we always meet various of errors. In this post, I am going to introduce one possible solution of error “GnuTLS error -15: An unexpected TLS packet was received.” when you are using vsftpd. (more…)
Code
Import GPG keys in Ubuntu 14 LTS
Installing deb repository requires gpg-keys some time. Recently, I am trying to add a mongo repository for Ubuntu 14, which requires to request some gpg keys first. (more…)
Code
ps command not found in fedora image in docker
Docker is a lightweight virtual machine container. To minimize the image, most of the official distributions were erased most the unnecessary system tools. (more…)
Code
cstdlib:75:25: fatal error: stdlib.h: No such file or directory
Recently I switched to gcc-6 in my OS X, and faced to VARIOUS of disasterS. One of them is the gcc compile cannot find header “stdlib.h” (more…)