|
|
InstallationFrom $1Table of contents
Evaluating Scalr? Try hosted Scalr for free before installing! Got questions? Join the open source discussion list!
System RequirementsDisclaimer It is extremely difficult (read: costly) to move from self-hosted to hosted Scalr, because of the continuously changing codebase. If you are considering self-hosting Scalr, be aware that you will in all likelihood not be able to move to hosted Scalr should you later prefer not having to manage updates and upgrades. Minimum Server requirements To self host Scalr, you will need servers of the following minimum specs:
In later versions planned for Q2 2012, you will need an extra:
Packages Scalr requires a web server capable of We create cheap resumes written by educated writers online! Read this guideline and investigate how to do research online! Delivered online book report/s is original - we communicate with the best writers only!
You may need to install dependencies as well, such as
Required PHP configuration options
InstallationDownload the most recent code release from http://scalr.net/features/open-source/. Unzip this archive. Copy the contents of the app/ folder to your webserver. Only the app/www folder must be readable by the webserver; all other folders must be underneath the web root. Scalr WILL NOT work from a subfolder of the document root (i.e. domain.com/something). Please create a subdomain and point its document root to the Scalr app/www folder. In the notes that follow, /scalr_home_dir/ refers to the app/ folder location on the webserver. Set AllowOverride (Apache) or other directives as appropriate for the Scalr domain to implement the rewrite rules found in /scalr_home_dir/etc/.htaccess. If you are using webserver software other than Apache (say lighttpd) you will need to convert the .htaccess rules into a form suitable for your server. Set permissionsThe following folders (and subfolders) and files must be writable by the webserver. Change ownership to the webserver user and set permissions to 700, or else (less secure) set permissions to 777 (world-writable):
Create and configure database
Set cron jobsFor system to work properly, it needs to run a few tasks periodicaly. Scalr has a single cron/cron.php file that must be executed with various command-line switches. The following tasks must be scheduled:
*/2 * * * * /usr/bin/php -q /scalr_home_dir/cron-ng/cron.php --Poller* * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --Scheduler*/10 * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --MySQLMaintenance* * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --DNSManagerPoll17 5 * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --RotateLogs*/2 * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --EBSManager*/20 * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --RolesQueue*/5 * * * * /usr/bin/php -q /scalr_home_dir/cron-ng/cron.php --DbMsrMaintenance*/2 * * * * /usr/bin/php -q /scalr_home_dir/cron-ng/cron.php --Scaling*/5 * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --DBQueueEvent*/2 * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --SzrMessaging*/4 * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --RDSMaintenance*/2 * * * * /usr/bin/php -q /scalr_home_dir/cron/cron.php --BundleTasksManager* * * * * /usr/bin/php -q /scalr_home_dir/cron-ng/cron.php --ScalarizrMessaging* * * * * /usr/bin/php -q /scalr_home_dir/cron-ng/cron.php --MessagingQueue*/2 * * * * /usr/bin/php -q /scalr_home_dir/cron-ng/cron.php --DeployManagerA few additional cron tasks need to be scheduled in order to configure statistics. See Configuring Load Statistics for details. ConfigurationTo check whether your server meets (most) Scalr system requirements, run the testenvironment.php script in the app/www folder. Assuming you have completed the steps above, this can be accessed as http://your.scalr.domain/testenvironment.php from your web browser. This will find most major issues, although some (missing rewrite rules, missing cron tasks) go undetected. BINDYou'll need to configure BIND on your servers as well. Congratulations! You may now proceed to configuration. Log in as admin / admin, go to Settings->Core settings and edit settings.
Tags: (Edit tags)
|
Powered by MindTouch Core |
• Insuficient permissions on file . Please chmod 0777
• Insuficient permissions on file . Please chmod 0777
• Insuficient permissions on file . Please chmod 0777
• Cannot parse etc/config.ini file.
I'm not sure where should I put my folders.
Apache default dir is /var/www
I drop all contends of /www to /var/www
and other folder under /var/www
did I wrong?
scalr-2.1-init-data.sql scalr-2.1-structure.sql
which one need to be dumped into mysql?
everything is fine..
but seem like i can't find the menu settings -> manage environments
CREATE TABLE `clients` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(255) DEFAULT NULL,
`password` varchar(64) DEFAULT NULL,
`aws_accesskeyid` varchar(255) DEFAULT NULL,
`aws_accountid` varchar(50) DEFAULT NULL,
`aws_accesskey` varchar(255) DEFAULT NULL,
`farms_limit` int(2) DEFAULT '2',
`isbilled` tinyint(1) DEFAULT '0',
`dtdue` datetime DEFAULT NULL,
`isactive` tinyint(1) DEFAULT '0',
`fullname` varchar(60) DEFAULT NULL,
`org` varchar(60) DEFAULT NULL,
`country` varchar(60) DEFAULT NULL,
`state` varchar(60) DEFAULT NULL,
`city` varchar(60) DEFAULT NULL,
`zipcode` varchar(60) DEFAULT NULL,
`address1` varchar(60) DEFAULT NULL,
`address2` varchar(60) DEFAULT NULL,
`phone` varchar(60) DEFAULT NULL,
`fax` varchar(60) DEFAULT NULL,
`aws_private_key_enc` text,
`aws_certificate_enc` text,
`dtadded` datetime DEFAULT NULL,
`iswelcomemailsent` tinyint(1) DEFAULT '0',
`login_attempts` int(2) DEFAULT '0',
`dtlastloginattempt` datetime DEFAULT NULL,
`scalr_api_keyid` varchar(16) DEFAULT NULL,
`scalr_api_key` varchar(250) DEFAULT NULL,
`comments` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;