Spyderserve Web Development

Category: Operating Systems

How to Install and Enable Postfix on Centos 8

To install packages on RHEL 8 / CentOS 8 use yum command. Install postfix package by using the following command: yum install postfix To enable and start systemd service enter: systemctl enable postfix ; systemctl start postfix To verify the service is working we can install the mailx package: # dnf install mailx As a normal user (named foo on the […]

NFS Server Setup on CentOS 6

Install the needed software for nfs operations: yum install nfs-utils nfs-utils-lib Setup the directories that need to be shared: vim /etc/exports Here is an example of a setting in the exports file: [directory that is being shared] [IP address of client or network (ex. 10.0.0.0/24)](rw,anonuid=[uid],anongid=[gid],async) Force the update from the exports file: exportfs -r See […]

Installing PHP 7.3 on Centos 7

Make sure the EPEL repository is installed: sudo yum install epel-release yum-utils sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm Enable PHP 7.3: sudo yum-config-manager –enable remi-php73 Install the PHP modules that you need: yum install php php-common php-cli php-gd php-ldap php-mbstring php-mcrypt php-mysqlnd php-pdo php-pear php-process php-soap php-xml That’s it! Source: https://linuxize.com/post/install-php-7-on-centos-7/

Convert p7b Certificate File to pem

Converting Your Existing Certificate To PEM Format If your certificate is not in PEM format, you can convert it to the PEM format using the following OpenSSL commands: Convert DER to PEM openssl x509 -inform der -in certificate.cer -out certificate.pem Convert P7B to PEM openssl pkcs7 -print_certs -in certificate.p7b -out certificate.pem Convert PFX to PEM […]

wkhtmltopdf Installation on Centos [Quick Notes]

Here is a quick step by step guide to installing wkhtmltopdf on Centos 6.  Make sure to have root access to the system. 1. Install font Dependencies sudo yum install -y xorg-x11-fonts-75dpi xorg-x11-fonts-Type1 libXext libXrender ghostscript-fonts texlive-texmf-errata-fonts texlive-texmf-fonts urw-fonts 2. Install wkhtmltopdf wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos6.x86_64.rpm rpm -Uvh wkhtmltox-0.12.5-1.centos6.x86_64.rpm 3. Test wkhtmltopdf www.google.com google.pdf Source: https://jaimegris.wordpress.com/2015/03/03/how-to-install-wkhtmltopdf-in-centos-6-5/

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