Generating a CSR on Apache and Centos
Generating a CSR for your Apache Web server is easier than you might think. Once you have the csr generated you can copy and paste the result into your venter’s portal. To Generate a Certificate Signing Request for Apache 2.x on Centos Log in to your server using ssh. At the prompt, type the following […]
Installing php-mbstring on RHEL 6
To install the php-mbstring on Red Hat Enterprise Linux 6 you have to add a new software channel to the system through the Red Hat Customer portal. 1. Log into RHN via rhn.redhat.com 2. Navigate to Subscription->RHN Classic->Registered Systems 3. Select the desired system from your list 4. Navigate to Software->Software Channels 5. Check the […]
Cross Domain Font Requests
Some browsers will have an issue utilizing resources from different domains. This is due to a configuration on the source server and is easily fixed with a simple modification to your Apache .htaccess file. Add this code to your site’s .htaccess (Apache) file to allow any site to use fonts hosted on your site. <FilesMatch […]
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 […]
seLinux and Apache
I typically move my root directory for Apache and this can get complicated when seLinux is enforced but with a bit of knowledge this can be done without disabling seLinux. display current state of seLinux: getenforce displays current permissions and seLinux settings for a directory (ex. ls -ldZ /var/www/html) ls -ldZ [directory path] Executing: ls -ldZ […]
This website uses cookies to improve your browsing experience. Cookies help us remember your preferences, keep you logged in, and understand how you interact with our site. We do not share any personal information collected by cookies with third parties.