Spyderserve Web Development

Archives: Knowledge Articles

File System Labels in RHEL based Systems

This is the command to use to check if a partition has a label.  Note: If the partition does not have a filesystem already this will error. e2label [partition path] This is the command to assign a new label to a partition. e2label [partition path] [label name] Here is the line to use in you […]

NFS Client setup on RHEL/centos

Here a simple and quick guide to setting up nfs on a RHEL or centos host: 1. Install the needed nfs packages yum install nfs-utils nfs-utils-lib 2. Create the directory that you want to mount the remote directory to mkdir [path to mount point] 3. Add an entry into your systems fstab file to auto-mount […]

Centos No space left on device

Have you ever received the message “No space left on device” but your disk is not full?  This could be an issue with the available inodes on the partition in question.  To check your current inode usage just type: df -hi You want to specifically check the column named IUse% for the partition that you […]

Convert pfx SSL Certificate to crt/key combination

To extract a separate crt and key from a pfx a few openssl commands need to be used. First, extract an encrypted key file from the pfx: openssl pkcs12 -in [yourfile.pfx] -nocerts -out [keyfile-encrypted.key] Then, extract the crt file from the pfx: openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [certificate.crt] Finally, decrypt the encrypted key […]

Samba Setup on centOS 6.5

Before starting the process, disable seLinux.  I am sure that there is a way to get this to work without disabling it but for simplicity I will go ahead and disable. Install the needed packages: yum install samba samba-client samba-common Setup the services so that they will start when the system starts: chkconfig smb on […]

Spyderserve  2225 Bemiss Road Suite D Valdosta, Georgia 31602 United States