food city man love Hosting 

How to host Codeigniter 4 Via Jenkins CICD Pipeline.

Hosting a CodeIgniter 4 application via a Jenkins CI/CD pipeline involves a series of steps to automate the deployment process. Here’s a simplified explanation of how to do it: Pre-requisites Before going ahead please check below Jenkins installation in Windows server / Linux / Ubuntu 1. Set Up Your Jenkins Environment: 2. Create a Jenkins pipeline: 3. Define Your Jenkinsfile: 4. Setup Server Authentication: 5. Configure the server and database: 6. Install composer dependencies: 7. Deploy Your Application: 8. Configure the Web Server: 9. Test Your Deployment: 10. Monitor and…

Read More
oracle Email oracle cloud 

How to use Oracle Cloud email delivery SMTP with phpmailer

Oracle Cloud Infrastructure Email Delivery is very comfortable to use configure too. when it comes to pricing it costs around $0.085 (Rs. 6-7) per 1000 emails sent, which is the minimum Quantity. To Use Oracle Cloud Email Delivery system SMTP with PHPmailer please follow the below-given steps Email Delivery Account Creation and Configuration Step1: Log in to Oracle cloud and find the Email Delivery service under Developer Service -> Application Service -> Email Delivery Step2: In Email Delivery Service First under List scope first select the Compartment in which you…

Read More
Hosting PHP 

How to redirect / rewrite urls using .htaccess file

What is .htaccess? The .htaccess (Hypertext Access) file is an Apache distributed server configuration file. You can use the .htaccess file to set server configurations for a specific directory. .htaccess file is created in order to enable extra features for that subdirectory. Creating .htaccess: we have to create .htaccess in the application root path. But if you want only for a specific subpath then you can create in subpath too. Note: While adding urls, please replace all the example.com domains with your specific domain. Redirecting all URLs: The following line…

Read More
Azure Windows 

Powershell: How to connect to Microsoft Cloud Services like Az, AzureAD, Exchange, Teams

When I was working with Microsoft Azure Services, I started listing important commands which can be handy using PowerShell, so here I am publishing in my blog article below. Prerequisites before starting: Tools needed: Run the below commands in PowerShell to install the tool. Az: Install-Module Az -Force -AllowClobber AzureAD: Install-Module AzureAD -Force -AllowClobber ExchangeOnlineManagement: Install-Module ExchangeOnlineManagement -Force -AllowClobber Microsoft Teams: Install-Module MSTeams -Force -AllowClobber step #1: Before proceeding further Check weather required modules are installed using below command: Step #2: Store account credentials in a variable Below are the…

Read More
MS SQL Server Windows Server 

Powershell script to check SQL service status and send email

In windows server we can create a PowerShell script to trigger an email on the basis of SQL service status. Solution Below The solution for checking the status of SQL Server service can be achieved by using the “Get-Service” cmdlet. In the below example we are using some common naming conventions of SQL server like MSSQL$, MSSQLSERVER, and SQL Server, etc. below code is to get the server status. Note: please check your SQL server name and replace them “MSSQLSERVER” in below code To send email we will use some…

Read More
Amazon(AWS) Email PHP showcase 

How to integrate AWS SES with PHP – PHPMailer

In this article we will look in to, how to implement amazon AWS SES (simple email service) in PHP using PHPMailer library. Register with AWS Step 1: Register with AWS and verify your primary email. If you are a new user then by default AWS will give you limited access as an SES sandbox account. this might be enough for testing. But when you want to deploy the application in production then it will be a bit difficult, so after testing, request for production where you will get much more…

Read More
aws-elastic-beanstalk Amazon(AWS) Hosting 

How to fix “413 request entity too large” in AWS elastic beanstalk solution-2

Continuation of EBS error to solution one if it doesn’t work then try the below solution where is process is a bit long, but 100% working solution for 413 request entity too large error. Note: This is not a permanent solution. This Settings reverts to the old version when EBS gets a new version update. Else try this solution click here step1: select the EC2 instance of the elastic beanstalk in the EC2 dashboard, which will be having the same name as the EBS environment name, and in the below…

Read More
aws-elastic-beanstalk Amazon(AWS) Hosting 

How to solve 413 request entity too large in AWS elastic beanstalk solution-1

To solve 413 request error in AWS elastic beanstalk with node.js application follow the below steps. Note: this solution currently tried with the Nginx server but works with apache too. This method is a custom hack to increase the upload file size without using awsebcli. step1: In your node.js application root folder create folder name called .ebextensions. step2: Inside this folder create a file with any filename ending with “.config” extensions example: nginxfile.config. step3: Now open the created file and copy-paste the below-mentioned code into file and save. step4: At…

Read More
mongodb Amazon(AWS) linux Mongo DB NoSQL 

How to Install MongoDB Server in Ubuntu AWS EC2 updated in 2020

MongoDB is a free and open-source NoSQL database used in modern-day web applications. In this article, we will install and configure security auth features. #1 Step: installing MongoDB server First Update your ubuntu so that all the latest LTS settings can configure. Install Mongo using below command Note: If any error occurred while installing please refer below.Click here for force install solution #2 Step: Verifying and configuring server autostart By now the database server is automatically started after installation. if not you can follow the below step. How to verify whether…

Read More