Tag Archives: centos

Command-Line File Encryption and Decryption using OpenSSL

To encrypt file.txt (you will be prompted for a password): openssl aes-256-cbc -salt -in file.txt -out file.txt.enc To decrypt file.txt.enc (you will be prompted for the password used to encrypt): openssl aes-256-cbc -d -in file.txt.enc -out file.txt — Simple File Encryption with OpenSSL. Dryer, Tom. Tombuntu. 12 Dec. 2007.

Posted in links | Also tagged , , , , | Leave a comment

How to Install Ruby Enterprise Edition and Passenger Phusion (mod_rails) on CentOS/RHEL x86_64

INSTALL SYSTEM PREREQUISITES Install the prerequisite development headers. If this is a production system, make note of all the packages installed, for future removal. # yum install apr-devel.x86_64 apr-util-devel.x86_64 curl-devel.x86_64 gcc-c++.x86_64 httpd-devel.x86_64 mysql-devel.x86_64 mysql-server.x86_64 openssl-devel.x86_64 zlib-devel.x86_64 INSTALL RUBY ENTERPRISE EDITION First, install the End Point yum repository: # yum update m2crypto # curl -O https://packages.endpoint.com/rhel/5/os/x86_64/endpoint-repo-1.0-1.x86_64.rpm [...]

Posted in essays | Also tagged , , , , | Leave a comment

How to Move a Github Repository to Your Private RHEL or CentOS Server

Install Git on Your Private RHEL or CentOS Server If you don’t use RHEL or CentOS, or if Git is already installed on your server, please skip ahead. First, install the appropriate EPEL repository on your server: # curl -O http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm # yum –nogpgcheck install epel-release-5-4.noarch.rpm Next, install Git: # yum install git Create a [...]

Posted in essays | Also tagged , , | Leave a comment

Install WordPress on CentOS/RHEL in Five Minutes Flat (remix)

Install the System Prerequisites # yum install mysql-server httpd nano php php-mysql # chkconfig httpd on # chkconfig mysqld on # service mysqld start # service httpd start Create the Database # mysqladmin create wordpress # mysql mysql> GRANT ALL PRIVILEGES ON wordpress.* TO ‘wordpress’@'localhost’ IDENTIFIED BY ‘please+use+a+strong+password’; mysql> FLUSH PRIVILEGES; mysql> quit Download and [...]

Posted in essays | Also tagged , , , | 1 Comment