How to install native BASH on Windows 10 – Not a VM ;)

18. September 2016 SysAdmin 0
How to install native BASH on Windows 10 – Not a VM ;)
Native Bash is available now in Windows 10 as Windows 10’s Anniversary Update . Lets see how we can install it. Enable Developer mode in Windows 10 from settings >> Home, or search for Developer Mode from the Windows Menu. Now enable Windows Subsystem For Linux Users from the Turn Windows features on or off menu. Once the installation ...

httpd.service: main process exited kill: cannot find process “”

15. September 2016 CentOS, RHEL, SysAdmin 0
httpd.service: main process exited kill: cannot find process “”
Today apache was stuck with the below error and it was not starting at all. Sep 15 06:18:24 server.example.com systemd[1]: Starting The Apache HTTP Server... Sep 15 06:18:24 server.example.com httpd[15037]: [Thu Sep 15 06:18:24.591424 2016] [so:warn] [pid 15037] AH01574: module ruid2_module is alread...skipping Sep 15 06:18:33 server.example.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Sep 15 06:18:33 ...

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 ...

The path “” is not a valid path to the kernel headers

14. June 2016 CentOS, RHEL 0
The path “” is not a valid path to the kernel headers
Issue You are trying to install vmware-tools on RHEL / CentOS 7 You are stuck with the below error. The path "" is not a valid path to the 3.10.0-327.el7.x86_64 kernel headers. Solution You have to install the below two packages, kernel-headers and kernel-devel You can run the below command to install those via yum. ...

fatal: parameter inet_interfaces: no local interface found for ::1

11. June 2016 RHEL 0
fatal: parameter inet_interfaces: no local interface found for ::1
Issue You are note able to restart / start postfix and getting the below error. fatal: parameter inet_interfaces: no local interface found for ::1 Solution Edit the file /etc/postfix/main.cf vim /etc/postfix/main.cf [sociallocker] search for the line inet_interfaces = all And change it to: inet_interfaces = 127.0.0.1, 10.10.11.12 10.10.11.12 is your local IP address :wq! Save ...