OpenSSL Tricks

Create a strong CSR and private keyopenssl req -new -nodes -newkey rsa:2048 -out server.crt -keyout server.key   Parsing out the data within a certificateopenssl asn1parse -in server.crt Checking a certificate/key modulus to see if they correspondopenssl rsa -in server.key -modulus -noout | openssl md5openssl x509 -in server.crt -modulus -noout | openssl md5 Convert a key… Continue reading OpenSSL Tricks

Adding IP aliases in FreeBSD

One question I hear quite often is “how do I add IP aliases in FreeBSD?” It’s not terribly intuitive, but you can follow these steps: Example:Server’s primary IP: 192.168.1.11 Additional IP’s to add: 192.168.1.12, 192.168.1.13, and 192.168.1.14   Boot-time configuration:Add it to /etc/rc.conf first (so you don’t forget). In this example, we have a Realtek… Continue reading Adding IP aliases in FreeBSD

DirectAdmin : Apache won’t start after update on FreeBSD

An issue with php/apache is causing apache not to start in FreeBSD. It segfaults and core dumps, logged in the /var/log/httpd/error_log. Try removing –with-openssl from your configure.php file and recompile php. cd /usr/local/directadmin/customapache vi configure.php #remove –with-openssl from the file, save, exit. ./build clean ./build php n Possibly a mod_perl issue. Edit the /etc/httpd/conf/httpd.conf change:… Continue reading DirectAdmin : Apache won’t start after update on FreeBSD

How To Find What Version of PEAR Is Installed in your Linux Apache Server

if you want to know what version of PEAR you have, or simply just want to know if you have PEAR installed, simply run the following command in your linux box shell prompt: pear list Once you execute the command above, you should see something like this: Installed packages =================== Package Version State Archive_Tar 1.1… Continue reading How To Find What Version of PEAR Is Installed in your Linux Apache Server

Published
Categorized as Basics

Enable Root Password in Leopard

You got a Mac running on Leopard (probably out of the box). You created your account, add in some personal info, and an admin password. Later in life (8 hours gap), you would open your terminal and simply type “su -” for purposes of scripting etc.  just root stuff. This reminds you, “Did i ever… Continue reading Enable Root Password in Leopard

Published
Categorized as OS X

How to track which site is using the apache processes.

For apache 1.3, edit your /etc/httpd/conf/httpd.conf and add ExtendedStatus On <Location /httpd-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location>       just after the code that says “ServerSignature On”. Save, exit, then restart apache. You can access the stats page by going to http://1.2.3.4/httpd-status where 1.2.3.4 is your server’s IP.… Continue reading How to track which site is using the apache processes.

cPanel : Rvsitebuilder installation

cPanel : Rvsitebuilder installation 1. If the server has RVSkin installed, update RVSkin to v6.75 up. (Skip this step if you don’t have it). perl /root/rvadmin/auto_rvskin.pl 2. After getting the license confirmation, SSH to the cPanel server as root, download the installer using the command below: cd /usr/local/cpanel/whostmgr/docroot/cgi/ rm -f rvsitebuilderinstaller.tar wget http://download.rvglobalsoft.com/rvsitebuilderinstaller.tar tar -xvf… Continue reading cPanel : Rvsitebuilder installation

Published
Categorized as cPanel