Install laravel project in a subdirectory with nginx
laravel nginx subdirectoryWe will go over how to install your laravel application under a subdirectory of another website.
Runing Node JS Server In Background
nodejs pm2 systemd serverWhen you use Node JS to implement an HTTP / HTTPS web server, in general for development you’re using the basic node or nodemon command to run the webserver. But if the terminal closes or the node process gets killed, the HTTP web server will stop also. This article will show a few options we can use in order to avoid such an issue and make the node HTTP web server run in background even if we close the terminal.
Delete All Data from Redis
redis redis-cli dataSome advantages of Redis being a NoSQL and in-memory system is that you can perform some tasks very easily compared with relational database systems.
Optimize memory usage of Redis instance
redis redis-cli memorySometimes Redis keys can increase the memory consumption for our Redis instances. Usually, we should prefer descriptive keys while using Redis, but if we have a very big dataset with millions of long keys then these keys will take a lot of money from our pocket.
How can you create a superuser in MySQL?
mysql create userThis tutorial will show you how to set up a new MySQL account as a super user with privileged access to the databases.
subscribe via RSS