Spyderserve Web Development

Category: Linux

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 […]

Setting up GlusterFS on Centos 6.5

This is a step by step setup on GlusterFS on a single node and drive.  Mostly this is a proof of concept but it is also intended to provide an easily scalable method of adding storage space as my needs increase.  I don’t need high availability or a very high degree of performance since this […]

Using Gmail as a relay for postfix

First, install the needed packages: # yum install postfix # yum install cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 Then configure postfix: Edit /etc/postfix/main.cf and add these lines: smtp_sasl_security_options = noanonymous relayhost = [smtp.gmail.com]:587 smtp_use_tls = yes smtp_tls_CAfile = /etc/postfix/cacert.pem smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd Create /etc/postfix/sasl/passwd and add this line: [smtp.gmail.com]:587 username@gmail.com:password Then change the permissions for […]

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