SSH or git-clone via Proxy

SSH or git-clone via Proxy
Today we were setting up few Web servers on a private network which will be serving the traffic through the Load Balancer. The setup was simple until we came to know that the Webservers needs to connect to github.com for the repository access.   Diagnosis We have a jumpbox / Bastion (10.10.1.10) which is used for ...

Jenkins not starting on CentOS 7 / RHEL 7

Jenkins not starting on CentOS 7 / RHEL 7
Today i was installing Jenkins on a CentOS7 systems. After installing it via Jenkins yum repository, the service was not stating. The java was already installed on the server. Issue You have installed jenkins on a CentOS7 / RHEL7 system. jenkins is not starting via systemctl start jenkins command, and it is throwing journalctl -xn error. Caused ...

Disable SU access for sudo users

11. January 2017 AWS, CentOS, RHEL 4
Disable SU access for sudo users
Some times you need to disable sudo su – access on your environment so that the users will use sudo command always and they will not switch to any other users account unnecessarily Lets see how to do it Edit the /etc/suoders by running visudo visudo Add the below Command Alias Cmnd_Alias BLOCKSU = /bin/su ...

How to set custom DNS on CentOS7 AWS

30. August 2016 AWS, CentOS 0
How to set custom DNS on CentOS7 AWS
There may be scenarios, when you need to use a custom DNS server for your Instances. So if you are deploying your application on an CentOS 7 on AWS, lets see how can set a custom DNS server such as 8.8.8.8 and 8.8.4.4 Edit the following file, vim /etc/sysconfig/network-scripts/ifcfg-eth0 change the line PEERDNS="yes" to PEERDNS="no" Now, Edit the ...

EC2 Ubuntu – Allow SSH root login with Password

16. August 2016 AWS 0
EC2 Ubuntu – Allow SSH root login with Password
Amazon AWS doesn’t allow root access by default on the OS level. Even though this is for recommended for security purpose, you may need to enable it for some high level operations such as conversion to OVA or VMware etc. Environment Amazon EC2 Ubuntu 10.X (Should work with other linux versions too) How to Open ...

New – AWS Application Load Balancer

14. August 2016 AWS 0
New – AWS Application Load Balancer
AWS has launched a new Application Load Balancer option on ELB. This option runs at Layer 7 and supports a number of advanced features. The original option is now knon as Classic Load Balancer, is still available to you and continues to offer Layer 4 and Layer 7 functionality. Highlights Layer 7 Load Balancing, ie you ...

Liferay with S3 – The action Create Object in bucket cannot be performed with an invalid bucket: null

15. June 2016 AWS 0
Liferay with S3 – The action Create Object in bucket cannot be performed with an invalid bucket: null
Issue You are trying to integrate AWS S3 bucket with your Liferay Application. You have a dedicated IAM user, Access Key, Secret Key for the bucket. You are getting the below error. “ERROR: ” com.liferay.portal.kernel.exception.SystemException: org.jets3t.service.S3ServiceException: The action Create Object in bucket cannot be performed with an invalid bucket: null”” Resolution Makesure the below policy ...