Category General Linux

MongoDB Logo

Create new database in MongoDB

Today we’ll look at how to create a new database in MongoDB. Connect to mongod via the following line, replace your credentials mongo -u ‘username’ -p ‘password’ –authenticationDatabase ‘admin’ If you’re successfully authenticated then you’ll see the following prompt: To…

Proftpd Server

530 Login incorrect – ProFTPD

We updated an old server recently and the ProFTP server  started throwing this error “530 Login incorrect” and wouldn’t let us in. We looked at the usual culprits, reset passwords, verified directories but nothing seemed to work. We ran ProFTPD…

Amazon Web Services

Install AWS CLI – CentOS 7.6

The AWS CLI gives you a way to interact with Amazon Web Services (AWS) via command line. This comes in real handy when you need to automate tasks such as scaling EC2 server instances, uploading files to S3 buckets, moving…

Logging RSYNC output to file

Logging RSYNC output to file can be cumbersome but useful at times. Cumbersome because if you’re transferring a large number of files then the log file becomes intelligible but useful in cases where you need to track successful vs. unsuccessful transfers.…