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 ...
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 ...
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 ...
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 ...
As a Linux System admin, we always love to work on CentOS and RHEL. In my case i had to launch a CentOS7 instance from the AWS Marketplace again. When we set the hostname with hostnamectl and reboot, yes the Instance comes with the default hostname again. So i have thought of documenting it here, so ...
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 ...
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 ...
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 ...
Issue how to set hostname persistent across reboots in CentOS 7 / RHEL 7 on AWS ec2 CentOS 7 / RHEL 7 Hostname changes after reboots in aws ec2 Solution Set the hostname with the below command hostnamectl set-hostname hostname.yourdomainname.com Now run the below to change the cloud.cfg echo "preserve_hostname: true" >> /etc/cloud/cloud.cfg Reboot the ...