This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xdebug.remote_enable=true | |
xdebug.remote_host=your_ip | |
xdebug.remote_port=9000 | |
xdebug.remote_handler=dbgp | |
xdebug.profiler_enable=1 | |
xdebug.profiler_output_dir="/tmp/xdebug/prof" | |
xdebug.idekey="PHPSTORM" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
sudo yum update | |
sudo yum install java-1.7.0-openjdk.i686 -y | |
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
mv elasticsearch-* elasticsearch | |
sudo mv elasticsearch /usr/local/share |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q -O - http://www.atomicorp.com/installers/atomic | sh | |
yum install httpd -y | |
iptables -I INPUT -p tcp --dport 80 -j ACCEPT | |
service iptables save | |
service httpd restart | |
check if appache is installed | |
yum install mysql-server mysql -y | |
service mysqld start | |
/usr/bin/mysql_secure_installation | |
service mysqld restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$sugar_config_si = array( | |
'setup_db_host_name' => 'localhost', | |
'setup_db_sugarsales_user' => 'sugarcrm', | |
'setup_db_sugarsales_password' => 'DB_USER_PASSWORD', | |
'setup_db_database_name' => 'sugarcrm', | |
'setup_db_type' => 'mysql', | |
'setup_db_pop_demo_data' => false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$sugar_config_si = array( | |
'setup_db_host_name' => 'localhost', | |
'setup_db_sugarsales_user' => 'sugarcrm', | |
'setup_db_sugarsales_password' => 'DB_USER_PASSWORD', | |
'setup_db_database_name' => 'sugarcrm', | |
'setup_db_type' => 'mysql', | |
'setup_db_pop_demo_data' => false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$sugar_config_si = array( | |
'setup_db_host_name' => 'localhost', | |
'setup_db_database_name' => '{DB_NAME}', | |
'setup_db_drop_tables' => 0, | |
'setup_db_create_database' => 1, | |
'setup_db_pop_demo_data' => 0, | |
'setup_site_admin_password' => '{ADMIN_PASSWORD}', | |
'setup_db_create_sugarsales_user' => 0, | |
'setup_db_admin_user_name' => '{DB_USER}', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
function usage() | |
{ | |
print("usage: -i /path/to/instance -p /path/to/expanded/module -z /path/to/zipfile\n"); | |
exit(1); | |
} | |
$opts = getopt('i:p:z:'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
if(!defined('sugarEntry'))define('sugarEntry', true); | |
require_once('include/entryPoint.php'); | |
require_once('modules/Administration/QuickRepairAndRebuild.php'); | |
//Bug 27991 . Redirect to index.php if the request is not come from CLI. | |
$sapi_type = php_sapi_name(); |
NewerOlder