Posts by ServerOk

Find MongoDB version

To find MongoDB version, login to MongoDB server using command Now run

MongoDB delete Database

MongoDB delete Database

To delete a database in MongoDB, run

Restore MongoDB database

Restore MongoDB database

To restore MongoDB database, run

Install Angular JS cli

Install Angular JS cli

To install Angular JS cli, run https://cli.angular.io/ To run application using built in web server, run To bind application to

Install MongoDB 4 on Debian 9

Install MongoDB 4 on Debian 9

You can see detailed instruction on how to install on MongoDB web site. First add key For Debian 8, run

Fix yum duplicate packages

Fix yum duplicate packages

On a CentOS server, when running It failed with following error https://gist.github.com/serverok/c0853120baff8848054cfb598e389c3a This is because previous “yum update” failed for

Making POST request from curl

Making POST request from curl

Here is an example POST request using curl Sending JSON string Post a variable

Install mod_remoteip in Cpanel Server

Install mod_remoteip in Cpanel Server

To install mod_remoteip in Cpanel Server, run Edit file Add Restart Apache. At this stage, PHP applications will show the

fsck

fsck

To check hard disk, run Auto Repair file system By default fsck will ask you what to do when it

Enable Directory Listing in Nginx

Enable Directory Listing in Nginx

To enable directory listing in Nginx, add following to server configuration. Example If you need it for a specific folder,

centovacast

centovacast

Install Paid SSL on Centova Cast Install LetsEncrypt Free SSL on Centova Cast CentovaCast Enable SSL on icecast CentovaCast Enable

centovacast

Install SSL on Centova Cast

Edit file Find Add below Restart Centova Cast At this point, you will be able to access Centova Cast on