Last active
May 30, 2016 01:00
-
-
Save Server4001/b3041d452a4d3dff46e3 to your computer and use it in GitHub Desktop.
Revisions
-
Brice Bentler revised this gist
May 30, 2016 . No changes.There are no files selected for viewing
-
Brice Bentler revised this gist
Aug 30, 2015 . No changes.There are no files selected for viewing
-
Brice Bentler revised this gist
Aug 30, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -66,14 +66,16 @@ sudo dpkg -i elasticsearch-1.5.2.deb sudo /bin/systemctl enable elasticsearch.service sudo service elasticsearch start rm -rf ~/elasticsearch-1.5.2.deb cat << EOF | sudo tee -a /etc/elasticsearch/elasticsearch.yml network.bind_host: localhost script.disable_dynamic: true EOF sudo service elasticsearch restart # Memcache PHP Driver: sudo pecl install memcache cat << EOF | sudo tee -a /etc/php5/cli/php.ini -
Brice Bentler revised this gist
Aug 1, 2015 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -73,7 +73,7 @@ EOF sudo service elasticsearch restart # Memcached PHP Driver: sudo pecl install memcache cat << EOF | sudo tee -a /etc/php5/cli/php.ini @@ -85,3 +85,7 @@ extension=memcache.so EOF sudo service php5-fpm restart # Imagemagick sudo apt-get install -y imagemagick sudo apt-get install -y php5-imagick -
Brice Bentler revised this gist
May 15, 2015 . 1 changed file with 13 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -72,3 +72,16 @@ script.disable_dynamic: true EOF sudo service elasticsearch restart # Memcache PHP Driver: sudo pecl install memcache cat << EOF | sudo tee -a /etc/php5/cli/php.ini extension=memcache.so EOF cat << EOF | sudo tee -a /etc/php5/fpm/php.ini extension=memcache.so EOF sudo service php5-fpm restart -
Brice Bentler revised this gist
May 9, 2015 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,5 @@ #!/bin/sh # Beanstalkd config cat << EOF | sudo tee -a /etc/default/beanstalkd BEANSTALKD_EXTRA="-b /var/lib/beanstalkd" -
Brice Bentler revised this gist
May 9, 2015 . 1 changed file with 58 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,29 @@ #!/bin/sh #!/bin/sh # Beanstalkd config cat << EOF | sudo tee -a /etc/default/beanstalkd BEANSTALKD_EXTRA="-b /var/lib/beanstalkd" # Start at server boot: START=yes EOF sudo service beanstalkd restart # Supervisord config sudo touch /etc/supervisor/conf.d/queue.conf cat << EOF | sudo tee -a /etc/supervisor/conf.d/queue.conf [program:laravel5queue] command=/usr/bin/php artisan queue:work --daemon --tries=2 directory=/home/vagrant/laravel5 autostart=true autorestart=true startretries=3 stdout_logfile=/home/vagrant/laravel5/storage/logs/queue-supervisor.log redirect_stderr=true [program:larapressqueue] command=/usr/bin/php artisan queue:work --daemon --tries=2 directory=/home/vagrant/larapress @@ -18,4 +32,45 @@ autorestart=true startretries=3 stdout_logfile=/home/vagrant/larapress/storage/logs/queue-supervisor.log redirect_stderr=true EOF # Java Install sudo apt-get update -y sudo apt-get install -y build-essential rsync telnet screen man wget sudo apt-get install -y strace tcpdump sudo apt-get install -y libssl-dev zlib1g-dev libcurl3-dev libxslt-dev sudo apt-get install -y software-properties-common python-software-properties curl -L --cookie "oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u65-b17/jdk-7u65-linux-x64.tar.gz -o jdk-7-linux-x64.tar.gz tar -xvf jdk-7-linux-x64.tar.gz sudo mkdir -p /usr/lib/jvm sudo mv ./jdk1.7.* /usr/lib/jvm/ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_65/bin/java" 1 sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0_65/bin/javac" 1 sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0_65/bin/javaws" 1 sudo chmod a+x /usr/bin/java sudo chmod a+x /usr/bin/javac sudo chmod a+x /usr/bin/javaws sudo chown -R root:root /usr/lib/jvm/jdk1.7.0_65 rm jdk-7-linux-x64.tar.gz java -version # Elasticsearch Install wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.5.2.deb sudo dpkg -i elasticsearch-1.5.2.deb sudo /bin/systemctl enable elasticsearch.service sudo service elasticsearch start cat << EOF | sudo tee -a /etc/elasticsearch/elasticsearch.yml network.bind_host: localhost script.disable_dynamic: true EOF sudo service elasticsearch restart -
Brice Bentler revised this gist
Apr 20, 2015 . 1 changed file with 0 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,5 @@ #!/bin/sh cat << EOF | sudo tee -a /etc/default/beanstalkd BEANSTALKD_EXTRA="-b /var/lib/beanstalkd" START=yes -
Brice Bentler created this gist
Apr 20, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ #!/bin/sh # If you would like to do some extra provisioning you may # add any commands you wish to this file and they will # be run after the Homestead machine is provisioned. cat << EOF | sudo tee -a /etc/default/beanstalkd BEANSTALKD_EXTRA="-b /var/lib/beanstalkd" START=yes EOF sudo service beanstalkd restart sudo touch /etc/supervisor/conf.d/larapress-queue.conf cat << EOF | sudo tee -a /etc/supervisor/conf.d/larapress-queue.conf [program:larapressqueue] command=/usr/bin/php artisan queue:work --daemon --tries=2 directory=/home/vagrant/larapress autostart=true autorestart=true startretries=3 stdout_logfile=/home/vagrant/larapress/storage/logs/queue-supervisor.log redirect_stderr=true EOF