It’s pretty straight-forward tutorial for anybody to understand about to create NodeJS static file server. Suppose, you want to run your AngularJS static application in your local PC with pretty URLs and other features. You may need to create a stand-alone static file server. So here you can do that with NodeJS and Express. – Just create a package.json file in your application root. and write the following json configuration there. And after that create a JS file name static-server.js …
Blog Posts
If you want to run your AngularJS front-end web application and run nginx as your API proxy server, then the following nginx virtual host configuration can help you. This will help you lot to configure your Nginx proxy for your API backend and run your API with AngularJS based web application interface.
Unfortunately by default forever will be terminated in every reboot of your system. So if you want to restart your forever script after every reboot. Then you can simply handle that with crontab @reboot attribute. Here is the crontab command you need simply. @reboot /usr/local/bin/forever start yourNodeJSAppStartFile.js
According to MongoDB Backup manual, mongodump is a very handy tools for MongoDB administrator to backup and restore full mongodb cluster or single database or single collection. mongodump usage Here is a very simple command to take backup or restore mongodb system. Backup sudo mongodump --host hostName -d databaseName --port portNumber --username userName --password passWord --out directoryLocation with the above command you can take backup of your database. I don’t need to explain all parameters as I wrote variable name …
If you have a MikroTik router, then it’s sometimes difficult to create simple queue with one by one IP address. It’s a difficult task. Also if you need to change bulk IP address in the queue, it sounds more terrific. So I wrote this article to make your life easier to maintain your MikroTik router easily. To add all IPs in your MikroTik Simple queue, just open your MikroTik RouterOS terminal and run the following script. What is MikroTik Script? …