Install Python 2.7 on CentOS 6.x

CentOS 6.x uses python 2.6 for various things.  It is the default install and Python 2.7 is not available as a typical install but I  had a need for it and found a solution that worked for me. yum -y update yum install -y centos-release-SCL yum install -y python27 scl enable python27 bash The test. python -V Python 2.7.13 cat…

Read More »

Convert an OVA/OVF VirtualBox to ESXi

This guide won’t go into the actual export of a VirtualBox OVA with the intended use for a VMware ESXi 5.5 environment.  It won’t even use the conventional tools that some sites suggest; however, this method worked for me. After repeated failure attempts to import a VirtualBox OVA, I used 7-zip to extract the contents (ignoring any error or warning…

Read More »

Cannot Set Password Never Expires on Windows Server 2012

A stand-alone Microsoft Windows Server 2012 with logon as local Administrator keeps presenting itself with a popup message that the password is expired in 1 day and that you must change your password.  There were a couple of solutions that exist. One seemed more elegant and quicker than the other. The first solution to use the local security policy. Go…

Read More »

Elasticsearch bootstrap checks failed [RESOLVED]

Elasticsearch is a distributed, open source search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured.  After installing Elasticsearch the application failed to start with a bootstrap error. Problem ERROR: bootstrap checks failed max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] max number of threads [1024] for…

Read More »

Install Emby Server on NetGear ReadyNAS Pro

While playing with Plex and Emby on different virtual machines, I thought it would be a fun exercise to install Emby on a NetGear ReadyNAS Pro. Emby is a media server designed to organize, play, and stream audio and video to a variety of devices. The problem was the ReadyNAS Pro firmware was 4.x.x and Emby server supports 6.8.0 or greater. …

Read More »

ReadyNAS Pro Upgrade Firmware from 4 to 6 (unsupported)

The NetGear ReadyNAS Pro can be a fantastic addition to any environment. Aside from a flaky power supply which wasn’t too difficult to replace, (Another story for another time.), this box has been relatively descent. Well the power supply issue was big and annoying. The other annoying aspect to this NAS is it’s dated firmware which displays this awful web page…

Read More »

smbclient error in Mounting CIFS and NFS

There is a known working samba share.  There are servers that connect to it.  All of them happen to be Windows boxes.  However, wanted to connect a Linux (CentOS 7) to it.  When testing for a connection, it failed with an error message. The command and the error. [root@c7client app]# smbclient -L 10.10.10.10 smbclient: relocation error: /lib64/libsamba-credentials.so.0: symbol GSS_KRB5_CRED_NO_CI_FLAGS_X, version…

Read More »

CentOS Linux and passwords

User creation and password changes can be handled as one-liners for as long as you use the correct commands.  Today I learned of another password utility other than passwd.  It is chpasswd, a powerful tool to change passwords without the prompt and the password can be encrypted. User Creation To create a user may be a two step process. First…

Read More »

How to share a folder without password in Windows 10 home network

It seems like it would be very easy to share a folder on your Windows 10 computer to other Windows users in a home network by using your file explorer, right clicking on a folder, under properties, select sharing, then advanced sharing, and share the folder.  It doesn’t work as one would expect.  This is particularly annoying as the home…

Read More »

Rename all files to lowercase names

There seems to be several solutions offered for renaming all files in a directory from mixed or upper case to all lowercase names. Of the solutions, one of the worked without issue. ls | while read upName; do loName=`echo “${upName}” | tr ‘[:upper:]’ ‘[:lower:]’`; mv “$upName” “$loName”; done Although this was found in an Ubuntu forum, it works flawlessly in…

Read More »

Remove non-ASCII characters from file

There was a text file that contained non-ASCII characters that acted like spaces within the file, so I used the tried and true dos2unix command to attempt to clean the file; however, the characters remained.  With hundreds of lines to correct, manually deleting the offending areas of the file was not an option.  A real solution is needed. Once again,…

Read More »

The truncate command

If you ever get in a bind and a log file has gone out of control and your disk space is full, you may be tempted to delete the log file.  There may be a couple of problems with that.  One, the application is still using the file so that delete may not actually take place until the application is…

Read More »

Best Practice for chown

Over the years, I have seen a couple of variations with the use of the chown command. The “:” (colon) vs “.” (dot).  While studying for the RHEL6 exam sometime ago, the books that I had used each had one or the other in their documentation.  I have read that the posix standard is using chown with the “:” (colon)….

Read More »

How to Update a Lenovo BIOS with USB

Lenovo provides an ISO for CD/DVD burning and an EXE for running the executable from within Windows.  There is NO support for an ISO booting from a USB.  Many modern laptops are ordered without a CD ROM and maybe an extra hard drive in it’s place.  Most people use USB sticks for the majority of their effort when the need…

Read More »

How to repair a damage fstab located on an LVM

i made a change to the /etc/fstab that looked perfectly fine until I rebooted the system (CentOS 6) running as a virtual machine.  The system did not start, there was a Kernel panic, and using the single boot mode did not provide any access to the system.  I changed the “/” partition to a UUID number after changing the volume…

Read More »

Create a Port Listener to verify connectivity

How to test an open port without having the application installed. Suppose you have a situation where you just created a new Linux server (CentOS 6) and you will eventually have an application run on Tomcat port 8080/tcp. You will want this application to use some sort of a Reverse Proxy and this all goes through a firewall that sits…

Read More »

Kickstart validation

Customizing a kickstart file to meet your requirements can be challenging.  One typo or incorrect setting and it simply won’t work.  Validation of a success or fail can be achieved with a time consuming reboot.  However, there is a quicker solution. yum install system-config-kickstart ksvalidator kickstart.ks Be certain to validate the kickstart on the same operating system version as the…

Read More »