nihalmaskey.hashnode.devSSH into Docker with Root UserTools Docker OS: Ubuntu Steps: 1. Pull ubuntu image docker pull ubuntu Pulls the Ubuntu Docker image from the repository. 2. Run Ubuntu Image with Name and Exposing Port: docker run -id --name ubuntu_ssh_ -p 2222:22 ubuntu Launches the Ubunt...May 11, 2024·2 min read
nihalmaskey.hashnode.devRunning laravel on a serverRunning laravel in a server Prerequisite Server with ssh access and Ubuntu OS Open port 80(HTTP) and 443(HTTPS) domain name linked with the server or public IP address of the server Installations 1. Update and upgrade First of all, let’s update ...Apr 30, 2024·6 min read
nihalmaskey.hashnode.devAccessing GitHub in the server using the deploy keyA deploy key is like a secret code that allows the computer to communicate with GitHub without using a username and password. Using the deploy key you can restrict the server to access only a single repository. The deploy key attaches to the public k...Jan 24, 2023·2 min read
nihalmaskey.hashnode.devLaravel: Testing, Factory, and EventsI was testing my Laravel application. I usually write factories to create fake data on-fly while testing. While I was writing factory, I came across this error. SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: post_sta...Jan 22, 2022·2 min read