Category: Linux, Windows, Mac
Configuring Web Distribution and Load Balancer in AWS
Using tools and steps listed below we can implement web distribution and Load balancer in AWS and also this will save cost of buying ssl certificate from CA authorized vendors. Instead, it will use certificates provided by Amazon server. Tools
Cakephp 3.3 |How to execute script using Console
In Cakephp, console applications are useful in running background processes and can be run without access to web browser. The CakePHP console provides a framework for creating shell scripts.To run the cakephp functions, first of all create a shell to
Call to undefined function mcrypt_encrypt()
Error: Call to undefined function mcrypt_encrypt() Description: In one of our project, I was trying to save a field value in encrypted format in the database, using PHP, which could be retrieved back to its normal value, where we need
AWS cli installation, configuration and stopping/starting EC2 machines
Install the AWS CLI Using the MSI Installer (Windows) Download the AWS CLI MSI installer for Windows (64-bit) click-here or directly access https://s3.amazonaws.com/aws-cli/AWSCLI64.msi. Run the above downloaded MSI installer. Follow the instructions that appear: The CLI installs to C:\Program Files\Amazon\AWSCLI
Ubuntu | Unable to login, failed to start session
Description: I am trying to login in my Ubuntu machine. I entered my correct password and it didn’t login me. It showed me “failed to start session” message in red color. I am also not able to login with guest
Selenium | Find a particular window and close it via code
If multiple browser windows are opened, then find a particular window and close it by using web driver. We can do so by using the following function: public static void switchControlToSpecifiedWindow(WebDriver driver) { Iterator < String > windows = driver.getWindowHandles().iterator();
Ubuntu | Remove sendmail completely
Problem: I installed sendmail in my ubuntu system with the help of link http://lukepeters.me/blog/getting-the-php-mail-function-to-work-on-ubuntu. I installed it to test php mail functionality on localhost for my project. It was working slow, therefore, after testing, I wanted to uninstall it completely
How to configure DevExtreme with visual studio MVC application
These are the steps : 1. Install Microsoft visual studio on your machine. 2. Then we need Xpress Developer Studio. Which is available on https://js.devexpress.com/. 3. Install Xpress Developer Studio in your machine. 4. Then we need to install DevExtreme
AWS Amazon EC2 – Install php5.6 in Amazon linux
In Amazon Linux, it is not yet packaged with php5.6. When we install PHP by a standrad command: $yum install php* 1. It will install PHP version 5.3 Below are the steps to update PHP version from 5.3 to 5.6