apt-key keyserver receive failed: No dirmngr
When running apt-key command, i get following error. To fix this, run
When running apt-key command, i get following error. To fix this, run
To find MongoDB version, login to MongoDB server using command mongo Now run db.version()
To restore MongoDB database, run mongorestore –drop -d DB_NAME /path/to/db/backup
To install Angular JS cli, run https://cli.angular.io/ npm install -g @angular/cli To run application using built in web server, run ng serve…
You can see detailed instruction on how to install on MongoDB web site. First add key apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 9DA31620334BD75D9DCB49F368818C72E52529D4…
On a CentOS server, when running yum update It failed with following error acl-2.2.51-14.el7.x86_64 is a duplicate with acl-2.2.51-12.el7.x86_64 alt-libcurlssl-7.60.0-1.el7.x86_64 is a…
Here is an example POST request using curl curl -d “param1=value1¶m2=value2” -X POST http://sok.test/post.php Sending JSON string curl http://video.com/like -X POST –data…
To install mod_remoteip in Cpanel Server, run yum install ea-apache24-mod_remoteip Edit file vi /etc/apache2/conf.modules.d/370_mod_remoteip.conf Add RemoteIPHeader X-Forwarded-For RemoteIPTrustedProxy 127.0.0.1 PROXY_SERVER_IP_HERE Restart Apache.…
To check hard disk, run Auto Repair file system By default fsck will ask you what to do when it find any…
To enable directory listing in Nginx, add following to server configuration. autoindex on; Example server { listen 80 default_server; listen [::]:80 default_server;…
mp3 files stored in folder Login url When user connect with FTP, he will see files from folder /usr/local/centovacast/var/vhosts/USER/var/spool/ On a CentovaCast…