First make sure Ruby is installed first.
# yum install ruby ruby-rdoc ruby-irb rubygems
Next, update the GEM repository by running
# gem update
Followed by…
# gem install -y rails --include-dependencies
yum install mod_fcgid
Add the following virtual host config to your apache config file /etc/httpd/httpd.conf
SetEnv RAILS_ENV development
ServerName rails
DocumentRoot /path/application/public/
ErrorLog /path/application/log/apache.log
<Directory /path/application/public/>
Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
phil Linux
This tutorial assumes that you have a Linux box with OpenSSL installed,and that you want to create a self-signed certificate for IIS5.0
- Set up your CA (you only have to do this once)
ON THE LINUX BOX…
- Create a private key
openssl genrsa -des3 -out CA.key 1024
(You’ll need to supply a passphrase. DON’T FORGET THIS!!)
- Set this to read-only for root access only
chmod 400 CA.key
- Create the CA certificate
openssl req -new -key CA.key -x509 -days 1095 -out CA.crt
(Provide appropriate responses to the prompts…for Common Name, you might want to use something like “OurCompany CA”)
- Country Name: GB
- State or Province Name: Newcastle
- Locality Name: Gateshead
- Organization Name: Your company name
- Organizational Unit Name: OI
- Common Nmae: www.yourwebsite-address.com
- Email Address: your-admin-email@address.com
- Set the certificate to read-only for root access only
chmod 400 CA.crt
- Obtain a CSR
ON THE IIS BOX…
- Open the Internet Manager
- Select the site for which you want to create a key
- Right-click and choose Properties
- Select the “Directory Security” tab
- Click the “Server Certificate” button
- Follow the prompts to create a CSR
- Save your CSR, then transfer it to the Linux box for further processing. (For the following steps, we’ll refer to your CSR as “new.csr”)
- Sign the CSR
ON THE LINUX BOX…
- Sign the CSR (all of this on one line)
openssl x509 -req -days 365 -in new.csr -CA CA.crt
-CAkey CA.key -CAcreateserial -out new.crt
- Transfer the new.crt file back to the IIS box
- Install self-signed certificate
ON THE IIS BOX…
- Open the Internet Manager
- Select the site to install the key
- Right-click and choose properties
- Select the “Directory Security” tab
- Click the “Server Certificate” button
- Specify that you want to complete the pending request
- Select the .crt file that you just transferred
phil Linux, Microsoft
1. Insert the CD or DVD you would like to create an ISO image from
2. In a Terminal window execute the drutil status command in order to determine the device path to your CD/DVD drive. For example:
$ drutil status
Vendor Product Rev
OPTIARC DVD RW AD-5630A 1AHM
Type: DVD-RW Name: /dev/disk1
Sessions: 1 Tracks: 1
Write Speeds: 1x, 2x
Overwritable: 510:38:38 blocks: 2297888 / 4.71GB / 4.38GiB
Space Free: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Used: 68:00:64 blocks: 306064 / 626.82MB / 597.78MiB
Writability: erasable, overwritable
Book Type: DVD-RW (v2)
Media ID: CMCW02
3. Assuming your Mac automatically mounts the disc and puts an icon on the desktop, you will need to unmount the disk before we proceed. To to this run the following command again the terminal window:
$ diskutil unmountDisk /dev/disk1
Unmount of all volumes on disk1 was successful
4. Now to create your ISO file simply use the following command substituting the value of your disk device path and the filename you want to use for your ISO file.:
$ dd if=/dev/disk1 of=file.iso bs=20485
phil Mac