Ruby on Rails (Ruby 1.9.2, Rails 3.1.1) Installation
|
|
|
- Annice Wright
- 9 years ago
- Views:
Transcription
1 Ruby on Rails (Ruby 1.9.2, Rails 3.1.1) Installation Ubuntu 11.10, desktop or server (or on Linux Mint 11, 12) (You are welcomed to share this PDF freely, with no commercial purposes) First, we will install Ruby on Rails with the default web server WEBrick and database SQLite3. Second, we will make this installation work with Apache web server and MySQL database. Third, we will build a very simple application which uses database to test our installation. Conveniences: - $ is the command prompt - everytime you type a command in the terminal you have to hit Enter to execute it - when you copy and paste commands from here into the terminal don t copy also $ sign! It s already there. - we will use "aptitude" as the installer and package manager because it's better than "apt-get" at package management (but if you insist on using "apt-get" then you can do so) - check if you have "aptitude" installed by typing " $ sudo aptitude " command in the terminal, it should bring up an visual interface (quit using "q"). If you get an error then maybe you need to install it by typing: $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install aptitude
2 We will use a pre-made virtual machine (VMWare or another) with Ubuntu 11.10, or Linux Mint 11, 12. If you want to install Ubuntu or Mint from scratch you will have to look for a tutorial for that. In this case a VMWare virtual machine was used. This can be played free using VMWare Player available here: After installing VMWare Player you can also download a pre-made virtual machine for VMWare here: (look for a Ubuntu 11.10, machine, or Linux Mint 11, 12). If you get a Ubuntu virtual machine you can upgrade Ubuntu to the latest version (11.10 in this case) by going to Update Manager and you will see a note there prompting you to upgrade to that latest version. It s up to you if you want to upgrade. Linux Mint is a fork of Ubuntu so it uses many packages which Ubuntu uses. Disclaimer Use this tutorial as is, at your own risk. I am not responsible of any damage that may occur as a result of using this tutorial.
3 ***** Ruby on Rails working with WEBrick web server and SQLite3 database server ***** ******************** (WEBrick and SQLite3 are the default in RoR) *********************** 1) Update Ubuntu or to the latest version (just in case) $ sudo aptitude update $ sudo aptitude upgrade (it will take sometime) (or use Update Manager from Ubuntu) If you have a server without the desktop interface and you want it then you can install it using: $ sudo aptitude install ubuntu-desktop (it will take sometime) 2) Install Git and Curl (for Ruby Version Manager RVM) $ sudo aptitude install build-essential git-core curl
4 3) Install Ruby Version Manager RVM (this helps you manage multiple versions of Ruby) $ bash < <(curl -s 4) Add a line to ~/.bashrc (this will load RVM everytime you open the terminal) $ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc Then close and open again the terminal window to activate it in the terminal (or execute. ~/.bashrc).
5 Check RVM: $ rvm notes (see the results) 5) Install several packages to help Ruby (if some are already installed they won't be installed again) $ sudo aptitude install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev zlib libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison (this is what RVM tells you later on eventually so better do it now)
6 6) Install Ruby (1.9.2 version in this case) $ rvm install ) Make RVM use the Ruby version just installed $ rvm use Or make it the default: $ rvm --default use (everytime the terminal is started the default Ruby version is used) Check: $ ruby v
7 8) Install Rails (do not use "sudo" for installing gems!) $ gem install rails If you get an error here ("no such file to load -- zlib") see the Errors section #8. Check: $ rails -v 9) Create a Rails project $ rails new site ("site" is the name of the new project - it can be any name) After this, the bundle install command can start automatically ("bundle install" helps you manage application s dependencies). If it fails you need to look at the error, eventually copy and paste in Google and search for solution among those results. If you get this error, for example, "error failed to build gem native extension sqlite3" then look in the Errors section below at #10. After solving the error you need to run "bundle install" again from the directory where your project is ("site" in this case). If the "bundle install" didn't start automatically then you need to start it manually by going in the directory of the newly created application ("site" in this case) and run there. $ cd site (go to the directory "site") $ bundle install
8
9 This is how it looks on the hard drive: 10) Start the Rails server (go first in your project directory using $ cd site command - "site" in this case) $ rails server (or " $ rails s " shorter version)
10 You should see WEBrick server started ("Booting WEBrick"). Then open the browser and go to " " (port 3000 the default port for Ruby on Rails). You should see the welcome page of your Ruby on Rails "site" project ("Welcome aboard. You're riding Ruby on Rails!" - click on the link to see the details about your environment).
11 If you get an error like "ExecJS::RuntimeUnavailable" then look in the Errors section below at #10. If you encounter an error like "no such file to load -- openssl" after starting the Rails server WEBrick then look in the Errors section below at #10. WEBrick Rails server can be stopped using CTRL+C combination (if that doesn't work try CTRL+Z). ================== Errors ======================= 8) Error when installing Rails ********* ERROR: Loading command: install (LoadError) no such file to load -- zlib ERROR: While executing gem... (NameError) uninitialized constant Gem::Commands::InstallCommand ********* Solutions: 1) $ rvm pkg install zlib (installs the zlib package) $ rvm remove (removes the Ruby version 1.9.2) $ rvm install with-zlib-dir=$rvm_path/usr (reinstalls Ruby version and adds the path to zlib use the command exactly like that)
12 $ gem install rails (try again to install Rails) 2) If the above didn't work try this: $ rvm pkg remove zlib (removes the zlib installed above) $ rvm remove (removes the Ruby version 1.9.2) $ sudo aptitude install zlib1g-dev (installs another version of zlib) $ rvm install $ gem install rails (try again to install Rails) 9) Error when installing the bundle ********* error failed to build gem native extension sqlite3 ********* You need to install SQLite package: $ sudo aptitude install libsqlite3-dev Then run the bundle command once again (go first to the directory where your project is using " $ cd site " command, "site" in this case): $ bundle install
13 10) Errors when starting WEBrick Rails server ********* ExecJS::RuntimeUnavailable ********* Add these two lines to you Gemfile text file located in your project directory ("site" in this case). You can add them somewhere in the text file (you can add them after "gem 'sqlite3'" for example): gem 'execjs' gem 'therubyracer' Save the file and the run bundle install command again from the project directory ("site" in this case):
14 $ bundle install Start the Rails server again to see if it worked: $ rails server (or "rails s") ********* no such file to load -- openssl ********* Do this: - go to the home root using $ cd.. command (you are now in your "site" directory) $ rvm pkg install openssl (install openssl) $ rvm remove (uninstall the current version of Ruby) $ rvm install with-openssl-dir=$home/.rvm/usr (run exactly as is, it install again Ruby with openssl) =============================================================
15 ****** Ruby on Rails working with Apache (mod_rails), Passenger and MySQL ******** ****************************************************************************** ################ Apache web server ############### ############################################# 1) Install Apache2 web server $ sudo aptitude install apache2 Check: $ apache2 -v 2) Update Rubygems install (Rubygems manages the Ruby gems) $ gem update (if there is nothing to update then it s ok)
16 Check: $ gem -v 3) Install Phusion Passenger (makes RoR work with Apache and Nginx servers) $ gem install passenger Check: $ passenger -v
17 4) Install Apache2 module (mod_rails) $ passenger-install-apache2-module Hit Enter. It will check for software requirements before installing. If something is not found then it will guide you how to install them. Don't forget to replace "apt-get" from the command (like "$ sudo apt-get install apache2-preforkdev") with "aptitude" (like "$ sudo aptitude install apache2-prefork-dev"). We are using "aptitude" as the package manager, not "apt-get".
18 After running all those commands to install all missing modules run again " $ passenger-installapache2-module ". At the end it will tell you how to update your Apache config file (see below). 5) Modify the Apache2 config file You will be told to do this after Passenger installed mod_rails from above (#4). You need to open the text file "apache2.conf" from "etc/apache2/" in the root mode. $ sudo nano /etc/apache2/apache2.conf (it opens the file in the edit mode) Then paste what the step above (4) gave you. Example (copy it from your terminal window, not from here): LoadModule passenger_module /home/user/.rvm/gems/ruby p290/gems/passenger-3.0.9/ext/apache2/mod_passenger.so PassengerRoot /home/user/.rvm/gems/ruby p290/gems/passenger PassengerRuby /home/user/.rvm/wrappers/ruby p290/ruby
19 Then hit CTRL+X. It will ask you if you want to save the modifications. Hit Y, then Enter. Below you will have also the configuration of the virtual host file. 6) Restart Apache $ sudo /etc/init.d/apache2 restart (or " $ sudo service apache2 restart ") Alternatively, you can stop Apache and start it again ("$ sudo /etc/init.d/apache2 stop" or "$ sudo service apache2 stop" and "sudo /etc/init.d/apache2 start" or or "$ sudo service apache2 start"). 7) Serving Rails applications with Passenger+Apache a) Make a directory in your home directory: $ mkdir public_html (you can use also the Ubuntu graphic interface File Explorer) b) Make "public_html" directory and create a Rails application Go to that directory and make a Ruby on Rails application ("site" in this case): $ cd public_html (change directory) $ rails new site (just like you ve already done above, in the first part)
20 If the "bundle install" command doesn't run automatically then you have to run it manually: $ bundle install This how it looks on the hard drive: Go to the newly created application ("site" in this case) and start the Rails server " $ rails s " to see if you get again the error "ExecJS::RuntimeUnavailable". If you do then repeat the steps from #10 above (Ruby on Rails with WEBrick and SQLite3 installation error). c) Creating a virtual host file We have to create a virtual host by creating a file in the "/etc/apache2/sites-available" directory (we will name it "site" - the file won't have any extension but it will be a text file). $ sudo nano /etc/apache2/sites-available/site (this will create the file named "site" - can be any name - AND open it for editing)
21 Copy and paste this into that file (compare also with what the notes after installing mod_rails tells you): <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot /home/user/public_html/site/public </VirtualHost> Explanations: VirtualHost *:80 = this is the standard HTTP port, you can change it if you want ServerName localhost = this if you want to access using "localhost" locally, otherwise put your server name like "domain1.com" ServerAlias localhost = this if you want to access using "localhost" locally, otherwise put your server name like " DocumentRoot /home/user/public_html/site/public = you can change this if you want to another directory where you have your application Then hit CTRL+X. It will ask you if you want to save the modifications. Hit Y, then Enter. d) Enabling the virtual host Now the new virtual host needs to be enabled: $ sudo a2ensite site e) Enabling mod rewrite in Apache Rails applications make use of an.htaccess file for various rewrite rules so we need to enable that too in Apache: $ sudo a2enmod rewrite f) Reload Apache $ sudo /etc/init.d/apache2 reload (or "$ sudo service apache2 reload") Open the browser window and go to " You should get the "Welcome aboard You re riding Ruby on Rails!" page. Click on the link. You should see the environment variables.
22 When you reloaded Apache,if you encountered the error "apache2: Could not reliably determine the server's fully qualified domain name, using for ServerName" then do this: - Open the "httpd.conf" file from "/etc/apache2/httpd.conf" directory (it will be blank usually) $ sudo nano /etc/apache2/httpd.conf - Add the following line there: ServerName localhost Hit CTRL+X. It will ask you if you want to save the modifications. Hit Y, then Enter. - Restart Apache again $ sudo /etc/init.d/apache2 restart (or " $ sudo service apache2 restart ") Reload again the webpage above. If it breaks, then modify back the "httpd.conf" file by taking out that line you put there (then save). Restart again the server. All should be working again now. g) Open the browser and go to You should be ale to see the Ruby on Rails start page: "Welcome aboard You're riding Ruby on Rails!" Click on the link "About your application's environment". You should be able to see the environment variables.
23 If you get this error: *********** No route matches [GET] "/rails/info/properties" *********** Then it means you are running the Rails application in the production mode (in the production mode that link doesn't work). Open again the config file "site" for virtual host: $ sudo nano /etc/apache2/sites-available/site You need to run Rails application in the development mode so add this line to the Virtual Host config file from "/etc/apache2/sites-available/" ("site" in this case): Add this like to what you have there already, like in the example below: RailsEnv "development" So, in the end the Virtual Host config file "site" will look like this: <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot /home/user/public_html/site/public RailsEnv "development" </VirtualHost> Explanations: VirtualHost *:80 = this is the standard HTTP port, you can change it if you want ServerName localhost = this if you want to access using "localhost" locally, otherwise put your server name like "domain1.com" ServerAlias localhost = this if you want to access using "localhost" locally, otherwise put your server name like " DocumentRoot /home/user/public_html/site/public = you can change this if you want to another directory where you have your application RailsEnv "development" = this will get rid of the RoR routing error which you will get if the Rails environment would be production, not development Reload Apache again: $ sudo /etc/init.d/apache2 reload (or " $ sudo service apache2 reload ") Now you can open your browser and go to " and all should be working.
24
25 ################ MySQL ################# ###################################### By default we used SQLite3 database with Ruby on Rails. Now, below, we will use MySQL as the database of choice. 1) Install MySQL server, client, admin and a library $ sudo aptitude install mysql-server mysql-client mysql-admin libmysqlclient-dev If it prompts you to set up a password for the root MySQL user then do it. If it doesn t prompt you for a password then it can use the Linux password you have setup for your system. You will need this password below. Check if the server was installed and running (after installation it should run automatically): $ sudo service mysql stop $ sudo service mysql start Enter the admin mode for MySQL to create databases, use queries, etc: $ sudo mysql -u root -p (it will prompt you for a password if you created one) You will see the MySQL command prompt: mysql> You can exit from the MySQL admin mode by typing "exit", then Enter. You can also enter in the graphical mode of administering MySQL by typing: $ sudo mysql-admin
26 In the graphical admin interface you have to fill out the form to connect to the database server: Server Hostname: localhost Username: root (you can log as another user too) Password: your password This is how the main graphical console looks like (in Catalogs you have your tables):
27 2) Install the MySQL Ruby library. $ sudo aptitude install libmysql-ruby 3) Install the gem "mysql2" $ gem install mysql2 (don t use "sudo") Check: $ irb (hit Enter - this will switch to Ruby command prompt) ruby p290 :003 > require 'mysql2' (hit Enter - this should show "true") => true (exit the Ruby command prompt by typing "exit", then Enter) 4) Re-create your Rails application Delete your Rails application created with the name "site" from "public_html" directory (or you can create another one with another name - but then you have to change things (the paths) in Apache
28 etc/apache2/sites-available/site file (the virtual host file)...from "site" to whatever you want for your new application). Go to the "public_html" directory then run again the Rails command to create a new application in there: $ rails new site -d mysql ("-d mysql" will make sure the file "database.yml" from /public_html/site/config/ directory will be modified by adding MySQL as the database of use, not SQLite3) If the "bundle install" command didn't run automatically then you need to start it manually. Go to your application directory (in this case "public_html/site/" and run: $ bundle install If you open up the Gemfile from your application directory ("site" in this case) you will see that now it uses "gem mysql2" as the database and not SQLite3. Type "rails s", then Enter to start the WEBrick web server just to you see if you encounter the errors you encountered when installing Ruby on Rails with WEBrick and SQLite3 (see #9 and #10 above) follow the steps described there to solve them. 6) Open a browser window and type " You should see the welcome page of your Ruby on Rails "site" project ("Welcome aboard. You're riding Ruby on Rails!" - click on the link to see details about your environment). If you click on the link and you get this error: ********** Mysql2::Error (Access denied for user 'root'@'localhost' (using password: NO)): ********** Then open "database.yml" file /public_html/site/config/ directory and look for the lines "password". Type there your root MySQL password (if you didn't setup a password when you installed MySQL then you should get this error). You can also try to use your Linux system password you have. $ sudo gedit /public_html/site/config/database.yml (if this "database.yml" file looks blank, then close it without saving and open it using your File Explorer and a text editor and edit it there)
29 You may have to stop/restart Apache. Reload the webpage. If now you get this error: *********** Mysql2::Error (Unknown database 'site_development'): *********** Then you need to login to MySQL and create a blank database called "site_development" (it's the same name you have in "database.yml" file, look for it). See below how to do it. a) Login to MySQL server as root $ mysql -u root -p ("-u" means user, "-p" will ask you the password) You will now have the MySQL prompt "mysql>". b) Create a blank database named "site_development" mysql> create database site_development; (don't forget ; - then hit Enter) You will get "Query OK, 0 rows affected (0.06 sec)" which means the database was created. c) Reload now the localhost webpage and click again on that link You should get the environment variables. If still doesn't work you could try to restart Apache web server " $ sudo service apache2 restart ". Try again the link. Now your have Ruby on Rails working together with Apache web server (via Phusion Passenger) and MySQL database.
30 You can start develop your own applications. Anytime you encounter an error, then copy and paste it into Google and search/sort through the answers. You may have to try several solutions until you find the right one for your setup, just like I did for this tutorial. See below a sample application created using Ruby on Rails scaffolding. ####### Creating an example to test the setup with Apache and MySQL ######### ########################################################### We will create an example of a small web app (named "products") which interacts with the Apache web server and MySQL database. We will use scaffolding to create this web app. Scaffolding creates a model, controller and views for creating, retrieving, updating and deleting the resource we specify. It is also creating the database tables and columns for our data using migrations. Scaffolding is use for demonstrations on development environment but usually professional Ruby on Rails developers don't use scaffolding in production. 1) Creating a new RoR application We have already created one above named "site" so we don't need to create another one. If you want to create a new one then, as usual, run the "$ rails new your_app" command in the "public_html" directory. Go to "site" directory from "public_html" directory: $ cd public_html/site 2) Generate the scaffold $ rails generate scaffold products title:string description:text price:decimal quantity:integer starts_at:datetime ends_at:datetime
31 Scaffolding will create new files and directories in your app directory (usually they start with the scaffold name, "products" in this case): - db/migrate/ _create_products.rb - app/models/product.rb - test_unit/test/unit/product_test.rb - test_unit/test/fixtures/products.yml - scaffold_controller/app/controllers/products_controller.rb - scaffold_controller/erb/app/views/products - scaffold_controller/test/functional/products_controller_test.rb - scaffold_controller/helper/app/helpers/products_helper.rb - scaffold_controller/helper/test_unit/test/unit/helpers/products_helper_test.rb - assets/coffee/app/assets/javascripts/products.js.coffee - scss/app/assets/stylesheets/products.css.scss 3) Setting up the table "products" in MySQL We use "rake" command (you will see the database Ruby script generated above in /site/db/migrate/. That script will be executed to populate the database with the command below.) $ rake db:migrate
32 This is the file which is executed using "rake" command: 4) See the table created in MySQL Open the MySQL admin console so you can see there the table "products" created by the "rake" command $ mysql-admin (then enter the hostname, username and password) Open Catalogs, then "site_development" and see the table "products" there (we use "site_development" database because this is what we created by the RoR installation above).
33 Alternatively, you can use MySQL command prompt to see the table: $ mysql -u root -p (enter the password and hit Enter) See what databases you have there: mysql> show databases; Now swich to the database "site_development": mysql> use site_development; See what tables you have there: mysql> show tables; You should see now the table "products" (and another table "schema_migrations" produced by "rake" command - don't worry about this). You can try to select something from the table "products" using SQL but it will be empty because we haven't added anything yet: mysql> select * from products;
34 5) See the Products page in the browser Open the browser and go to " to see your "products" page. The "products" page is empty and we can add new records by clicking on "New Product" link. Add some products in your app by clicking New Product.
35 You can also Edit or Destroy (delete) your products. If you try now to select your records at the MySQL prompt you will see your products: mysql> select * from products; We have tested now that our Ruby on Rails installation with Apache web server and MySQL database works and we can start building some more serious applications using this framework. I highly recommend starting using this tutorial for building a simple Twitter application: It will give you the basis of Ruby on Rails web development. Resources: (the official Ruby on Rails website) (Windows Ruby on Rails installer) (the official Ruby programming language site) (the official Apache web server site) (the official MySQL database site) (the official site of the company which builds virtual machine software VMware) (the official Ubuntu Linux site) (the official Linux Mint site) (the site of Michael Hartl s Ruby on Rails Tutorial which teaches you how to build a Twitter-like application) (video tutorials by Ryan Bates - some are free) (very useful site for developers of all kind) (Google group for Ruby on Rails developers) (Berkeley Ruby on Rails class five parts) (tutorials on Youtube)
Redmine Installation on Debian. v1.1
Redmine Installation on Debian v1.1 Introduction 1. Objectives Have a fully functional Redmine installation on a dedicated server with good performance. The idea of this document came after an easy installation
Setup a Virtual Host/Website
Setup a Virtual Host/Website Contents Goals... 2 Setup a Website in CentOS... 2 Create the Document Root... 2 Sample Index File... 2 Configuration... 3 How to Check If Your Website is Working... 5 Setup
Ulteo Open Virtual Desktop Installation
Ulteo Open Virtual Desktop Installation Copyright 2008 Ulteo SAS - CONTENTS CONTENTS Contents 1 Prerequisites 2 1.1 Installation of MySQL....................................... 2 2 Session Manager (sm.ulteo.com)
How to Install Multicraft on a VPS or Dedicated Server (Ubuntu 13.04 64 bit)
How to Install Multicraft on a VPS or Dedicated Server (Ubuntu 13.04 64 bit) Introduction Prerequisites This tutorial will show you step-by-step on how to install Multicraft 1.8.2 on a new VPS or dedicated
OPENPROJECT INSTALL ON CENTOS 7 RUNNING IN VMWARE PLAYER
OPENPROJECT INSTALL ON CENTOS 7 RUNNING IN VMWARE PLAYER 2014 Aug Abstract An and to end step by step installation instruction set for OpenProject running on Centos 7 under VMWare player Brendan Dunn Installing
Installation documentation for Ulteo Open Virtual Desktop
Installation documentation for Ulteo Open Virtual Desktop Copyright 2008 Ulteo SAS - 1 PREREQUISITES CONTENTS Contents 1 Prerequisites 1 1.1 Installation of MySQL.......................................
Installing an open source version of MateCat
Installing an open source version of MateCat This guide is meant for users who want to install and administer the open source version on their own machines. Overview 1 Hardware requirements 2 Getting started
CPE111 COMPUTER EXPLORATION
CPE111 COMPUTER EXPLORATION BUILDING A WEB SERVER ASSIGNMENT You will create your own web application on your local web server in your newly installed Ubuntu Desktop on Oracle VM VirtualBox. This is a
Installing Rails 2.3 Under CentOS/RHEL 5 and Apache 2.2
Installing Rails 2.3 Under CentOS/RHEL 5 and Apache 2.2 Scott Taylor Tailor Made Software July 24, 2011 Version 1.2 1.0 Introduction Ruby On Rails (aka just Rails ) is a modern scripting system that allows
Creating a DUO MFA Service in AWS
Amazon AWS is a cloud based development environment with a goal to provide many options to companies wishing to leverage the power and convenience of cloud computing within their organisation. In 2013
TestCaseDB Administration Guide. Version 3.1
TestCaseDB Administration Guide Version 3.1 TestCaseDB.com 1 Table of Contents 1 Table of Contents... 2 2 Overview... 8 3 Requirements... 9 3.1 Operating System Versions... 9 3.1.1 Ubuntu... 9 3.1.2 Cent
Modelling with R and MySQL. - Manual - Gesine Bökenkamp, Frauke Wiese, Clemens Wingenbach
Modelling with R and MySQL - Manual - Gesine Bökenkamp, Frauke Wiese, Clemens Wingenbach October 27, 2014 1 Contents 1 Software Installation 3 1.1 Database...................................... 3 1.1.1
Pete Helgren [email protected]. Ruby On Rails on i
Pete Helgren [email protected] Ruby On Rails on i Value Added Software, Inc 801.581.1154 18027 Cougar Bluff San Antonio, TX 78258 www.valadd.com www.petesworkshop.com (c) copyright 2014 1 Agenda Primer on
Installing Rails 2.3 Under Windows XP and Apache 2.2
Installing Rails 2.3 Under Windows XP and Apache 2.2 Scott Taylor Tailor Made Software August 9, 2011 Version 1.0 1.0 Introduction Ruby On Rails (aka just Rails ) is a modern scripting system that allows
Apache and Virtual Hosts Exercises
Apache and Virtual Hosts Exercises Install Apache version 2 Apache is already installed on your machines, but if it was not you would simply do: # apt-get install apache2 As the root user. Once Apache
CYAN SECURE WEB HOWTO. NTLM Authentication
CYAN SECURE WEB HOWTO June 2008 Applies to: CYAN Secure Web 1.4 and above NTLM helps to transparently synchronize user names and passwords of an Active Directory Domain and use them for authentication.
Livezilla How to Install on Shared Hosting http://www.jonathanmanning.com By: Jon Manning
Livezilla How to Install on Shared Hosting By: Jon Manning This is an easy to follow tutorial on how to install Livezilla 3.2.0.2 live chat program on a linux shared hosting server using cpanel, linux
Extending Remote Desktop for Large Installations. Distributed Package Installs
Extending Remote Desktop for Large Installations This article describes four ways Remote Desktop can be extended for large installations. The four ways are: Distributed Package Installs, List Sharing,
Installation of PHP, MariaDB, and Apache
Installation of PHP, MariaDB, and Apache A few years ago, one would have had to walk over to the closest pizza store to order a pizza, go over to the bank to transfer money from one account to another
Apache HTTP Server. Implementation Guide. (Version 5.7) Copyright 2013 Deepnet Security Limited
Implementation Guide (Version 5.7) Copyright 2013 Deepnet Security Limited Copyright 2013, Deepnet Security. All Rights Reserved. Page 1 Trademarks Deepnet Unified Authentication, MobileID, QuickID, PocketID,
How To Install Amyshelf On Windows 2000 Or Later
Contents I Table of Contents Part I Document Overview 2 Part II Document Details 3 Part III Setup 4 1 Download & Installation... 4 2 Configure MySQL... Server 6 Windows XP... Firewall Settings 13 3 Additional
SIMIAN systems. Setting up a Sitellite development environment on Mac OS X. Sitellite Content Management System
Setting up a Sitellite development environment on Mac OS X Sitellite Content Management System Introduction Mac OS X is a great platform for web application development, and now with tools like VMWare
Kollaborate Server Installation Guide!! 1. Kollaborate Server! Installation Guide!
Kollaborate Server Installation Guide 1 Kollaborate Server Installation Guide Kollaborate Server is a local implementation of the Kollaborate cloud workflow system that allows you to run the service in-house
HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY
HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY INTRODUCTION Virtual machines are becoming more prevalent. A virtual machine is just a container that describes various resources such as memory, disk space,
EZcast Installation guide
EZcast Installation guide Document written by > Michel JANSENS > Arnaud WIJNS from ULB PODCAST team http://podcast.ulb.ac.be http://ezcast.ulb.ac.be [email protected] SOMMAIRE SOMMAIRE... 2 1. INSTALLATION
SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System
Setting up a Sitellite development environment on Windows Sitellite Content Management System Introduction For live deployment, it is strongly recommended that Sitellite be installed on a Unix-based operating
LAMP Quickstart for Red Hat Enterprise Linux 4
LAMP Quickstart for Red Hat Enterprise Linux 4 Dave Jaffe Dell Enterprise Marketing December 2005 Introduction A very common way to build web applications with a database backend is called a LAMP Stack,
The SyncBack Management System
The SyncBack Management System An Introduction to the SyncBack Management System The purpose of the SyncBack Management System is designed to manage and monitor multiple remote installations of SyncBackPro.
Installation Instructions
Installation Instructions 25 February 2014 SIAM AST Installation Instructions 2 Table of Contents Server Software Requirements... 3 Summary of the Installation Steps... 3 Application Access Levels... 3
VERSION 9.02 INSTALLATION GUIDE. www.pacifictimesheet.com
VERSION 9.02 INSTALLATION GUIDE www.pacifictimesheet.com PACIFIC TIMESHEET INSTALLATION GUIDE INTRODUCTION... 4 BUNDLED SOFTWARE... 4 LICENSE KEY... 4 SYSTEM REQUIREMENTS... 5 INSTALLING PACIFIC TIMESHEET
Installation overview
hroot - Hamburg registration and organization online tool Universität Hamburg School of Business, Economics and Social Sciences WiSo- Research Laboratory Von- Melle- Park 5 20146 Hamburg Germany Installation
Desktop : Ubuntu 10.04 Desktop, Ubuntu 12.04 Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu 10.04 Server, Ubuntu 12.04 Server, CentOS 5, CentOS 6
201 Datavoice House, PO Box 267, Stellenbosch, 7599 16 Elektron Avenue, Technopark, Tel: +27 218886500 Stellenbosch, 7600 Fax: +27 218886502 Adept Internet (Pty) Ltd. Reg. no: 1984/01310/07 VAT No: 4620143786
OxyClassifieds Installation Handbook
OxyClassifieds Installation Handbook OxyClassifieds Team Email: [email protected] Web: http://www.oxyclassifieds.com OxyClassifieds Installation Handbook by OxyClassifieds Team Copyright 2006-2011
MAMP 3 User Guide! March 2014 (c) appsolute GmbH!
MAMP 3 User Guide March 2014 (c) appsolute GmbH 1 I. Installation 3 1. Installation requirements 3 2. Installing and upgrading 3 3. Uninstall 3 II. First Steps 4 III. Preferences 5 Start/Stop 5 2. Ports
Server Installation/Upgrade Guide
Server Installation/Upgrade Guide System Version 3.8 2001-2009 Echo 360, Inc. Echo360 is a trademark of Echo360, Inc. Echo360 is a registered trademark of Echo360 Inc. in Australia. All other trademarks
Upgrading MySQL from 32-bit to 64-bit
Upgrading MySQL from 32-bit to 64-bit UPGRADING MYSQL FROM 32-BIT TO 64-BIT... 1 Overview... 1 Upgrading MySQL from 32-bit to 64-bit... 1 Document Revision History... 21 Overview This document will walk
Partek Flow Installation Guide
Partek Flow Installation Guide Partek Flow is a web based application for genomic data analysis and visualization, which can be installed on a desktop computer, compute cluster or cloud. Users can access
OpenMind: Know Your Customer
OpenMind: Know Your Customer Contents About OpenMind... 3 Feedback... 3 A Request... 3 Installation... 3 Install Ruby and Ruby on Rails... 4 Get the Code... 4 Create the Database Schema... 4 Update database.yml...
TIMETABLE ADMINISTRATOR S MANUAL
2015 TIMETABLE ADMINISTRATOR S MANUAL Software Version 5.0 BY GEOFFPARTRIDGE.NET TABLE OF CONTENTS TOPIC PAGE 1) INTRODUCTION 1 2) TIMETABLE SPECIFICATIONS 1 3) SOFTWARE REQUIRED 1 a. Intranet Server (XAMPP
Install and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion
1 de 9 12/01/13 14:07 Install and configure Apache, MySQL, PHP and phpmyadmin on OSX 10.8 Mountain Lion Get your Local Web Development Server Purring on all Fours With the new cat out of the bag, getting
INASP: Effective Network Management Workshops
INASP: Effective Network Management Workshops Linux Familiarization and Commands (Exercises) Based on the materials developed by NSRC for AfNOG 2013, and reused with thanks. Adapted for the INASP Network
NSi Mobile Installation Guide. Version 6.2
NSi Mobile Installation Guide Version 6.2 Revision History Version Date 1.0 October 2, 2012 2.0 September 18, 2013 2 CONTENTS TABLE OF CONTENTS PREFACE... 5 Purpose of this Document... 5 Version Compatibility...
LAE 5.1. Windows Server Installation Guide. Version 1.0
LAE 5.1 Windows Server Installation Guide Copyright THE CONTENTS OF THIS DOCUMENT ARE THE COPYRIGHT OF LIMITED. ALL RIGHTS RESERVED. THIS DOCUMENT OR PARTS THEREOF MAY NOT BE REPRODUCED IN ANY FORM WITHOUT
OpenEyes - Windows Server Setup. OpenEyes - Windows Server Setup
OpenEyes - Windows Server Setup Editors: G W Aylward Version: 0.9: Date issued: 4 October 2010 1 Target Audience General Interest Healthcare managers Ophthalmologists Developers Amendment Record Issue
Installing an SSL certificate on the InfoVaultz Cloud Appliance
Installing an SSL certificate on the InfoVaultz Cloud Appliance This document reviews the prerequisites and installation of an SSL certificate for the InfoVaultz Cloud Appliance. Please note that the installation
Linux Development Environment Description Based on VirtualBox Structure
Linux Development Environment Description Based on VirtualBox Structure V1.0 1 VirtualBox is open source virtual machine software. It mainly has three advantages: (1) Free (2) compact (3) powerful. At
A Beginner's Guide to Setting Up A Web Hosting System (Or, the design and implementation of a system for the worldwide distribution of pictures of
A Beginner's Guide to Setting Up A Web Hosting System (Or, the design and implementation of a system for the worldwide distribution of pictures of cats.) Yes, you can download the slides http://inthebox.webmin.com/files/beginners-guide.pdf
Eylean server deployment guide
Eylean server deployment guide Contents 1 Minimum software and hardware requirements... 2 2 Setting up the server using Eylean.Server.Setup.exe wizard... 2 3 Manual setup with Windows authentication -
CentOS. Apache. 1 de 8. Pricing Features Customers Help & Community. Sign Up Login Help & Community. Articles & Tutorials. Questions. Chat.
1 de 8 Pricing Features Customers Help & Community Sign Up Login Help & Community Articles & Tutorials Questions Chat Blog Try this tutorial on an SSD cloud server. Includes 512MB RAM, 20GB SSD Disk, and
Host your websites. The process to host a single website is different from having multiple sites.
The following guide will help you to setup the hosts, in case you want to run multiple websites on your VPS. This is similar to setting up a shared server that hosts multiple websites, using a single shared
I. Delivery E-mail: Flash CMS template package... 2. II. Flash CMS template installation... 4. III. Control Panel setup... 5
Contents I. Delivery E-mail: Flash CMS template package... 2 II. Flash CMS template installation... 4 III. Control Panel setup... 5 IV. Control Panel activation... 6 Appendix 1: Switching to binary file
ULTEO OPEN VIRTUAL DESKTOP UBUNTU 12.04 (PRECISE PANGOLIN) SUPPORT
ULTEO OPEN VIRTUAL DESKTOP V4.0.2 UBUNTU 12.04 (PRECISE PANGOLIN) SUPPORT Contents 1 Prerequisites: Ubuntu 12.04 (Precise Pangolin) 3 1.1 System Requirements.............................. 3 1.2 sudo.........................................
Setting Up Specify to use a Shared Workstation as a Database Server
Specify Software Project www.specifysoftware.org Setting Up Specify to use a Shared Workstation as a Database Server This installation documentation is intended for workstations that include an installation
VPS Hosting User Guide
TM VPS Hosting User Guide VPS Hosting Control Panel Managing VPS... 1 Opening Power Panel...... 1 Starting/Stopping VPS... 2 Changing VPS Hostname... 2 Enabling/Disabling Automatic Updates... 5 Installing
Cloud Homework instructions for AWS default instance (Red Hat based)
Cloud Homework instructions for AWS default instance (Red Hat based) Automatic updates: Setting up automatic updates: by Manuel Corona $ sudo nano /etc/yum/yum-updatesd.conf Look for the line that says
Click Studios. Passwordstate. Upgrade Instructions to V7 from V5.xx
Passwordstate Upgrade Instructions to V7 from V5.xx This document and the information controlled therein is the property of Click Studios. It must not be reproduced in whole/part, or otherwise disclosed,
Create a virtual machine at your assigned virtual server. Use the following specs
CIS Networking Installing Ubuntu Server on Windows hyper-v Much of this information was stolen from http://www.isummation.com/blog/installing-ubuntu-server-1104-64bit-on-hyper-v/ Create a virtual machine
Smartphone Pentest Framework v0.1. User Guide
Smartphone Pentest Framework v0.1 User Guide 1 Introduction: The Smartphone Pentest Framework (SPF) is an open source tool designed to allow users to assess the security posture of the smartphones deployed
insync Installation Guide
insync Installation Guide 5.2 Private Cloud Druva Software June 21, 13 Copyright 2007-2013 Druva Inc. All Rights Reserved. Table of Contents Deploying insync Private Cloud... 4 Installing insync Private
How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint
StoreGrid Linux Server Installation Guide Before installing StoreGrid as Backup Server (or) Replication Server in your machine, you should install MySQL Server in your machine (or) in any other dedicated
Evaluation. Chapter 1: An Overview Of Ruby Rails. Copy. 6) Static Pages Within a Rails Application... 1-10
Chapter 1: An Overview Of Ruby Rails 1) What is Ruby on Rails?... 1-2 2) Overview of Rails Components... 1-3 3) Installing Rails... 1-5 4) A Simple Rails Application... 1-6 5) Starting the Rails Server...
Secure Messaging Server Console... 2
Secure Messaging Server Console... 2 Upgrading your PEN Server Console:... 2 Server Console Installation Guide... 2 Prerequisites:... 2 General preparation:... 2 Installing the Server Console... 2 Activating
Security Workshop. Apache + SSL exercises in Ubuntu. 1 Install apache2 and enable SSL 2. 2 Generate a Local Certificate 2
Security Workshop Apache + SSL exercises in Ubuntu Contents 1 Install apache2 and enable SSL 2 2 Generate a Local Certificate 2 3 Configure Apache to use the new certificate 4 4 Verify that http and https
Installing Booked scheduler on CentOS 6.5
Installing Booked scheduler on CentOS 6.5 This guide will assume that you already have CentOS 6.x installed on your computer, I did a plain vanilla Desktop install into a Virtual Box VM for this test,
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu Tagged In: Ubuntu, My Sql, Apache, Php, Lamp Stack About LAMP LAMP stack is a group of open source software used to get web servers up and
Installing OptiRain Open on Macintosh OS X 10.6 (Snow Leopard)
QUICKSMART Installing OptiRain Open on Macintosh OS X 10.6 (Snow Leopard) QuickSmart Development P.O. Box 3689 Santa Clara, CA 95055 408-777-0944 www.quicksmart.com OptiRain Open provides local scheduling
FlexSim LAN License Server
FlexSim LAN License Server Installation Instructions Rev. 20150318 Table of Contents Introduction... 2 Using lmtools... 2 1. Download the installation files... 3 2. Install the license server... 4 3. Connecting
Quick Start Guide for Parallels Virtuozzo
PROPALMS VDI Version 2.1 Quick Start Guide for Parallels Virtuozzo Rev. 1.1 Published: JULY-2011 1999-2011 Propalms Ltd. All rights reserved. The information contained in this document represents the current
MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server
MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server November 6, 2008 Group Logic, Inc. 1100 North Glebe Road, Suite 800 Arlington, VA 22201 Phone: 703-528-1555 Fax: 703-528-3296 E-mail:
INUVIKA OVD INSTALLING INUVIKA OVD ON UBUNTU 14.04 (TRUSTY TAHR)
INUVIKA OVD INSTALLING INUVIKA OVD ON UBUNTU 14.04 (TRUSTY TAHR) Mathieu SCHIRES Version: 0.9.1 Published December 24, 2014 http://www.inuvika.com Contents 1 Prerequisites: Ubuntu 14.04 (Trusty Tahr) 3
LABORATORIUM 1 Setup and basic configuration of Asterisk BPX on Linux
LABORATORIUM 1 Setup and basic configuration of Asterisk BPX on Linux 1. VM setup Please download Asterisk Virtual Machine from http://kt.agh.edu.pl/~rzym/lectures/ti- SSiZ/VMAsterisk.zip and extract archive.
Cassandra Installation over Ubuntu 1. Installing VMware player:
Cassandra Installation over Ubuntu 1. Installing VMware player: Download VM Player using following Download Link: https://www.vmware.com/tryvmware/?p=player 2. Installing Ubuntu Go to the below link and
OneStop Reporting 3.7 Installation Guide. Updated: 2013-01-31
OneStop Reporting 3.7 Installation Guide Updated: 2013-01-31 Copyright OneStop Reporting AS www.onestopreporting.com Table of Contents System Requirements... 1 Obtaining the Software... 2 Obtaining Your
Installing Dspace 1.8 on Ubuntu 12.04
Installing Dspace 1.8 on Ubuntu 12.04 This is an abridged version of the dspace 1.8 installation guide, specifically targeted at getting a basic server running from scratch using Ubuntu. More information
System Administration Training Guide. S100 Installation and Site Management
System Administration Training Guide S100 Installation and Site Management Table of contents System Requirements for Acumatica ERP 4.2... 5 Learning Objects:... 5 Web Browser... 5 Server Software... 5
Alert Notification of Critical Results (ANCR) Public Domain Deployment Instructions
Alert Notification of Critical Results (ANCR) Public Domain Deployment Instructions Server Prerequisites Internet Information Server (IIS). It may be enabled in Windows Features (see Enabling IIS section).
INSTALL ZENTYAL SERVER
GUIDE FOR Zentyal Server is a small business server based on Ubuntu s LTS server version 10.04 and the ebox platform. It also has the LXDE desktop installed with Firefox web browser and PCMAN File manager.
Certified Redmine Project Management Professional Sample Material
Certified Redmine Project Management Professional Sample Material 1. INSTALLATION 1.1. Installing Redmine This is the installation documentation for Redmine 1.4.0 and higher. You can still read the document
Platform as a Service and Container Clouds
John Rofrano Senior Technical Staff Member, Cloud Automation Services, IBM Research [email protected] or [email protected] Platform as a Service and Container Clouds using IBM Bluemix and Docker for Cloud
inforouter V8.0 Server Migration Guide.
inforouter V8.0 Server Migration Guide. 1 Copyright 1998-2015 inforouter Migration Guide I f for any reason, you wish to move the entire inforouter installation to another machine, please follow the instructions
There are numerous ways to access monitors:
Remote Monitors REMOTE MONITORS... 1 Overview... 1 Accessing Monitors... 1 Creating Monitors... 2 Monitor Wizard Options... 11 Editing the Monitor Configuration... 14 Status... 15 Location... 17 Alerting...
Ingenious Testcraft Technical Documentation Installation Guide
Ingenious Testcraft Technical Documentation Installation Guide V7.00R1 Q2.11 Trademarks Ingenious, Ingenious Group, and Testcraft are trademarks of Ingenious Group, Inc. and may be registered in the United
CEFNS Web Hosting a Guide for CS212
CEFNS Web Hosting a Guide for CS212 INTRODUCTION: TOOLS: In CS212, you will be learning the basics of web development. Therefore, you want to keep your tools to a minimum so that you understand how things
Version of this tutorial: 1.06a (this tutorial will going to evolve with versions of NWNX4)
Version of this tutorial: 1.06a (this tutorial will going to evolve with versions of NWNX4) The purpose of this document is to help a beginner to install all the elements necessary to use NWNX4. Throughout
Installing FreePBX 12 on Ubuntu Server 14.04 LTS
Installing FreePBX 12 on Ubuntu Server 14.04 LTS Initial System Setup Configure your root password. Switch to the Root User Update Your System Install Required Dependencies Reboot server Install Dependencies
Your complete guide to installing the info@hand Self-Service Portal and estore.
Your complete guide to installing the info@hand Self-Service Portal and estore. Install the Portal & estore as shrink-wrapped software, or as add-ons to an existing Joomla! installation. Then configure
Web based training for field technicians can be arranged by calling 888-577-4919 These Documents are required for a successful install:
Software V NO. 1.7 Date 9/06 ROI Configuration Guide Before you begin: Note: It is important before beginning to review all installation documentation and to complete the ROI Network checklist for the
Tonido Cloud Admin Guide
CODELATHE LLC Tonido Cloud Admin Guide Installing and Managing Tonido Cloud CodeLathe LLC 10/27/2012 (c) CodeLathe LLC 2012. All Rights Reserved Contents 1. Introduction... 3 2. Pre-Requisites... 3 3.
A Tool must be configured to allow for CMISSync, see below for more information.
Using CMIS Sync The CMISSync service allows an Interactive Tool to use a 'synced' ERW location in order to read input files or to write an output generated. This allows an Interactive Tool to access the
WEB2CS INSTALLATION GUIDE
WEB2CS INSTALLATION GUIDE FOR XANDMAIL XandMail 32, rue de Cambrai 75019 PARIS - FRANCE Tel : +33 (0)1 40 388 700 - http://www.xandmail.com TABLE OF CONTENTS 1. INSTALLING WEB2CS 3 1.1. RETRIEVING THE
AWS Schema Conversion Tool. User Guide Version 1.0
AWS Schema Conversion Tool User Guide AWS Schema Conversion Tool: User Guide Copyright 2016 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may
Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website
Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website April 16 2012 The following instructions are to show you how to map your Home drive using ITS s Network in order to publish a website
Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE
Source Code Management for Continuous Integration and Deployment Version 1.0 Copyright 2013, 2014 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed,
FOR PARALLELS / PLESK PANEL
WEB2CS INSTALLATION GUIDE FOR PARALLELS / PLESK PANEL HTTP://WWW.XANDMAIL.COM XandMail 32, rue de Cambrai 75019 PARIS - FRANCE Tel : +33 (0)1 40 388 700 - http://www.xandmail.com TABLE OF CONTENTS 1. INSTALLING
Welcome to Collage (Draft v0.1)
Welcome to Collage (Draft v0.1) Table of Contents Welcome to Collage (Draft v0.1)... 1 Table of Contents... 1 Overview... 2 What is Collage?... 3 Getting started... 4 Searching for Images in Collage...
How to: Install an SSL certificate
How to: Install an SSL certificate Introduction This document will talk you through the process of installing an SSL certificate on your server. Once you have approved the request for your certificate
