Posts

Conversion of a cPanel-based server from CentOS to CloudLinux OS

Image
In this article, we will first see why we need to switch to cloudLinux OS and then the installation of CloudLinux OS in a centos cPanel server. Why CloudLinux : In a non CloudLinux shared hosting environment all the resources such as  CPU, I/O and RAM are fully accessible to all accounts on that server and there is no hard limit set on the usage of these resources. Sometimes this leads to rogue scripts/programs on one client’s account to take up incommensurately large amount of resources, thus leading to the server getting overloaded and resulting in a degraded server performance for all the accounts in the server.To address this issue CloudLinux comes into action.CloudLinux creates a virtual environment for all the individual accounts on a shared server and allows us to limit the amount of resources any single account can use.This eradicates the single rogue account consuming all the resources available in the server.Your clients will immensely benefit from this. Lets ta...

UI/UX: The Necessity for Prototyping

Image
Prototypes are the combination of Wire frames and UI mock-ups which are created for representing the appearance of the application that are planned for development. The wire frames have to be laid out for determining the layouts whereas the user interface mock-ups can be outlined with the help of wire frames. Why do we need Prototypes? It’s easy to build and customized The most important reason is to reduce the development cost at an early stage of the application development. Prototypes are the crucial factors in determining the output. Prototyping saves your extra effort before investing your time and resource into the project. Development gets simple and clearer Prototyping is the process where the concept meets the reality to stand the ultimate test – the need to be, creative as well as practical. If you find an issue with your concept, you can change it quickly without an impact on the product.  In addition, it allows developers to iterate the designs as often as...

How to use redis session storage with Spring Security?

Image
Stateless architecture plays an important role when a particular user data has to be maintained across all the servers while scaling-out. This session management keeps improving for better results in a scalable environment. Spring session management brings innovation to the Enterprise Java session management space. Spring Session aims to provide a common infrastructure for managing sessions. This provides many benefits including Accessing a session from any environment (i.e. web, messaging infrastructure, etc.) In a web environment Support for clustering in a vendor neutral way Pluggable strategy for determining the session id Easily keep the HttpSession alive when a WebSocket is active It is important to understand that Spring session doesn’t depend on the Spring framework at all. Hence can be used in any kind of java frameworks. Why redis? Read more.. https://gsmplusinfotech.com/blog/how-to-use-redis-session-storage-with-spring-security/

Hosting a Static Site in Amazon S3 using your Domain

Image
A web server is not always required to host websites! Yeah you read that right. You can host your website just using Amazon S3. But it should be a static site i.e.,. it should serve only static content and client side scripts. This reduces costs and adds the benefit of being hosted in a well architect-ed infrastructure. NOTE:   A dynamic website which requires server power for processing containing scripts such as PHP, JSP or ASP.NET, etc.,. cannot be hosted using S3. A dynamic website can only be hosted in resources such as an EC2 instance. Registering the domain: The domain name have to be registered at a registrar if it is not registered already. We will be using the domain yourdomain.com with Amazon Route 53 as the DNS servers. Configuring the S3 Buckets: Two S3 buckets have to be created. One with the www sub domain and another without for example, two buckets namely yourdomain.com and www.yourdomain.com. One bucket will be containing the site’s content (bucket n...

Profitable features of Google chrome for enhanced web development.

Image
There are numerous things to know before get started with chrome for web development. When it’s about web search everyone falls on Google. But for techies, it would be a nice choice to tighten the seat in front of the Chrome browser. Before further, we do let’s gets started… Message stacking If a message is consecutively repeated, rather than printing out each instance of the message on a new line, the Console “stacks” the messages and shows a number in the left margin instead. The number indicates how many times the message has repeated. Read more.. https://gsmplusinfotech.com/blog/profitable-features-google-chrome-enhanced-web-development/

Deploying static sites to Amazon S3 with Bitbucket Pipelines

Image
Atlassian recently released a new feature for their hosted Bitbucket product called  Pipelines . In this post we will show you how we use Pipelines to deploy a static site to AWS S3. Requirements AWS Access Keys for accessing existing S3 Bucket. Bitbucket Repository with sample codebase for static website.( we have used the sample project from  here ). Steps to achieve S3 bucket configuration Pipeline configuration Codebase configuration S3 Bucket Configuration: Create a S3 bucket. Get access keys for accessing specific bucket. Open s3 bucket properties Enable website hosting. Point to index.html save Pipeline Configuration Go to the settings for the respective repository. Enable pipeline. Here, we have chosen Node js docker image template Read more..   https://gsmplusinfotech.com/blog/deploying-static-sites-to-amazon-s3-with-bitbucket-pipelines/

Customizing Tomcat – Hide ports from URL & Externalize a folder

Image
Before reading this article, make sure that you are already hosting a grails application on Tomcat’s default port along with Apache and mod_proxy running in the server. We are about to explain some customizations in tomcat that you may require. Tomcat Customizations 1) Hiding Tomcat port in the address bar: Tomcat loads all applications under the default port 8080. We would be able to access the application in the browser only using this port. If an application is accessed using port numbers other than 80 and 443, all browsers would not hide the port number in the address bar. Accessing the application without the port number using an fqdn is a secure way and gives your web application a more professional look. In our sample application we have Apache as the front end and Tomcat as the back end. Apache is configured with mod_proxy to route requests that are received in the server’s port 80 to the application’s default port (8080). Please refer the below Apache configuration...