This file contains 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
rbt post -o --guess-summary --guess-description --tracking-branch=origin/master |
This file contains 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
service elasticsearch stop | |
yum list installed | grep elastic | |
yum remove elasticsearch.noarch | |
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.0.noarch.rpm | |
yum install elasticsearch-1.7.0.noarch.rpm | |
rm /var/lock/subsys/elasticsearch -Rf | |
rm -Rf /var/lib/elasticsearch/* | |
service elasticsearch start | |
curl -XGET '127.0.0.1:9200' |
This file contains 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
call: | |
$domain/sym_assets/**/*.jpg | |
desired result: | |
$root_dir/path/on/server/**/*.jpg | |
$root is different than place on server | |
location ~ /sym_assets { | |
rewrite ^/sym_assets(/.*)$ $1 last; |
This file contains 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
# maximum capability of system | |
user@ubuntu:~$ cat /proc/sys/fs/file-max | |
708444 | |
# available limit | |
user@ubuntu:~$ ulimit -n | |
1024 | |
# To increase the available limit to say 200000 | |
user@ubuntu:~$ sudo vim /etc/sysctl.conf |