<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8530136806756342816</atom:id><lastBuildDate>Wed, 06 Nov 2024 03:11:54 +0000</lastBuildDate><category>Linux</category><category>centos</category><category>fedora</category><category>haproxy</category><category>tips</category><category>centos 6</category><category>fedora 26</category><category>nginx</category><category>ubunyu</category><category>zero-down-time</category><category>./tes</category><category>Automate pushing of ssh-copy-id to multiple servers</category><category>Host key verification failed</category><category>Jenkins Host key verification failed</category><category>Redis-snmp</category><category>Thumbnailing</category><category>Thumbnailing Solution</category><category>alias unsafe url</category><category>android</category><category>centos 7</category><category>crop image</category><category>disable recent file</category><category>disable recent file nautilus</category><category>disable recent file ubuntu</category><category>docker</category><category>facebook</category><category>fedora 16</category><category>how to free inode usage</category><category>inode problems</category><category>install java javac jdk</category><category>ionode  full disk</category><category>jenkins</category><category>mariadb</category><category>minifycss</category><category>minifyhtml</category><category>minifyjs</category><category>monitoring</category><category>mysql</category><category>nautilus</category><category>nautilus3</category><category>perl</category><category>prtg</category><category>prtg redis sensors</category><category>python upgrade</category><category>python upgrade 2.6 to 2.7</category><category>redis</category><category>repositories</category><category>rpm</category><category>send scripy to server</category><category>snmp</category><category>ssh-copy-id multiple servers</category><category>ssl A+</category><category>supervisord</category><category>thumbor</category><category>ubuntu</category><category>yum</category><title>denzfarid</title><description>uname -a Linux blogger 2.6.39.4 #1 SMP Wed Aug 17 21:42:30 EDT 2011 x86_64 GNU/Linux</description><link>http://denzfarid.blogspot.com/</link><managingEditor>noreply@blogger.com (root)</managingEditor><generator>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle>uname -a Linux blogger 2.6.39.4 #1 SMP Wed Aug 17 21:42:30 EDT 2011 x86_64 GNU/Linux</itunes:subtitle><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-8263900012424979523</guid><pubDate>Thu, 01 Feb 2018 03:08:00 +0000</pubDate><atom:updated>2018-02-01T10:08:49.278+07:00</atom:updated><title>Gtk-WARNING **: cannot open display: :0</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
resolve&lt;br /&gt;
in user and root type&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
xhost +local: &lt;/blockquote&gt;
&lt;br /&gt;
output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
non-network local connections being added to access control list&lt;/blockquote&gt;
&lt;br /&gt;
run your apps again&lt;br /&gt;
&lt;br /&gt;
source in here &lt;a href="https://askubuntu.com/questions/939938/gparted-cannot-open-display" target="_blank"&gt;sir!&lt;/a&gt;&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2018/02/gtk-warning-cannot-open-display-0.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-3440509369294786296</guid><pubDate>Thu, 12 Oct 2017 01:35:00 +0000</pubDate><atom:updated>2017-10-12T08:35:57.938+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">disable recent file</category><category domain="http://www.blogger.com/atom/ns#">disable recent file nautilus</category><category domain="http://www.blogger.com/atom/ns#">disable recent file ubuntu</category><category domain="http://www.blogger.com/atom/ns#">fedora 26</category><category domain="http://www.blogger.com/atom/ns#">nautilus</category><category domain="http://www.blogger.com/atom/ns#">nautilus3</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Disable recent file nautilus</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Open a terminal and type the following:&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
1. echo "" &amp;gt; ~/.local/share/recently-used.xbel&lt;br /&gt;&lt;br /&gt;
2. sudo chattr&amp;nbsp;+i ~/.local/share/recently-used.xbel&lt;br /&gt;
&lt;br /&gt;
Enable recent files nautilus&lt;br /&gt;
&lt;br /&gt;
1. sudo chattr&amp;nbsp;+i ~/.local/share/recently-used.xbel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good Luck~&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2017/10/disable-recent-file-nautilus.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-4075672316427619610</guid><pubDate>Mon, 07 Aug 2017 03:53:00 +0000</pubDate><atom:updated>2017-08-07T10:55:15.922+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">docker</category><category domain="http://www.blogger.com/atom/ns#">fedora 26</category><title>docker-ce fedora 26</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;pre&gt;&lt;code&gt;dnf install https://download.docker.com/linux/fedora/25/x86_64/stable/Packages/docker-ce-17.06.0.ce-1.fc25.x86_64.rpm
 --allowerasin&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;a href="https://github.com/docker/for-linux/issues/35" target="_blank"&gt;more info&lt;/a&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2017/08/docker-ce-fedora-26.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-1636888068611861489</guid><pubDate>Wed, 26 Jul 2017 09:43:00 +0000</pubDate><atom:updated>2017-07-26T16:43:46.565+07:00</atom:updated><title>git-completion bash</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;pre&gt;[1] install dulu bash_completion

Centos / Fedora
dnf install -y bash_completion

Debian / Ubuntu
sudo apt-get install bash-completion

[2] rubah .bashrc

https://raw.githubusercontent.com/helmuthdu/dotfiles/master/.bashrc

[3] download git-prompt &amp;amp; git-completion 

https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash
https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh

taro di /etc/bash_completion.d 

[4] rubah .bashrc

cari /usr/share/git/completion/ dan /usr/share/git/ di .bashrc dan rubah ke /etc/bash_completion.d/

source ~/.bashrc&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2017/07/git-completion-bash.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-7089238511010059486</guid><pubDate>Mon, 20 Feb 2017 05:07:00 +0000</pubDate><atom:updated>2017-02-20T13:53:07.955+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Host key verification failed</category><category domain="http://www.blogger.com/atom/ns#">jenkins</category><category domain="http://www.blogger.com/atom/ns#">Jenkins Host key verification failed</category><category domain="http://www.blogger.com/atom/ns#">send scripy to server</category><title>jenkins rsync for send script to server</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Jenkins is a service account, it doesn't have a shell by design. It 
is generally accepted that service accounts. shouldn't be able to log in
 interactively.&lt;br /&gt;
&lt;br /&gt;
To resolve "&lt;span style="color: red;"&gt;Jenkins Host key verification failed&lt;/span&gt;", do the following steps. I have used mercurial with jenkins.&lt;br /&gt;
&lt;br /&gt;
1)Execute following commands on terminal&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
sudo su -s /bin/bash jenkins &lt;/blockquote&gt;
2)Generate public private key using the following command:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
ssh-keygen -N&amp;nbsp; "" -f ~/.ssh/id_rsa -t rsa -b 4096&lt;/blockquote&gt;
or &lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
ssh-keygen -N "" -f&amp;nbsp; ~/.ssh/id_rsa -o -a 100 -t ed25519&lt;/blockquote&gt;
https://blog.g3rt.nl/upgrade-your-ssh-keys.html#multi-key-aware-ssh-client&lt;br /&gt;
&lt;br /&gt;
3) Disable prompt Yes/No Authenticity host&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
echo -e "StrictHostKeyChecking no \nUserKnownHostsFile=/dev/null" &amp;gt; ~/.ssh/config&lt;/blockquote&gt;
&lt;br /&gt;
4)Go to --&amp;gt; cat /var/lib/jenkins/.ssh/id_rsa.pub&lt;br /&gt;
5)Copy key from id_rsa.pub to server production or you can use this script&lt;br /&gt;
&lt;br /&gt;
https://denzfarid.blogspot.co.id/2016/12/automate-pushing-of-ssh-copy-id-to.html# &lt;br /&gt;
&lt;br /&gt;6) open jenkins dashboar , go to your project , cofigure, and in build -&amp;gt; add build step -&amp;gt; execute shell&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
rsync -e "ssh" -a -P -z --force --include=".htaccess" --include="uploads/" --exclude=".*" . user@production:/var/www/html&lt;/blockquote&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://i.imgur.com/bckfE0U.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://i.imgur.com/bckfE0U.png" height="81" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://i.imgur.com/lDtUhXI.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://i.imgur.com/lDtUhXI.png" height="105" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
source : http://stackoverflow.com/questions/15174194/jenkins-host-key-verification-failed&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2017/02/jenkins-rsync-for-send-script-to-server.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-5916854102869504544</guid><pubDate>Fri, 06 Jan 2017 09:33:00 +0000</pubDate><atom:updated>2017-01-06T16:33:32.193+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">alias unsafe url</category><category domain="http://www.blogger.com/atom/ns#">centos 6</category><category domain="http://www.blogger.com/atom/ns#">centos 7</category><category domain="http://www.blogger.com/atom/ns#">crop image</category><category domain="http://www.blogger.com/atom/ns#">nginx</category><category domain="http://www.blogger.com/atom/ns#">supervisord</category><category domain="http://www.blogger.com/atom/ns#">Thumbnailing</category><category domain="http://www.blogger.com/atom/ns#">Thumbnailing Solution</category><category domain="http://www.blogger.com/atom/ns#">thumbor</category><title>Install Thumbor Centos and Nginx aliasing url</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Update System &amp;amp; install development tools&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;yum update -y ; yum groupinstall "development tools" -y&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;Install Package &lt;br /&gt;&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;yum &lt;span class="token function"&gt;install&lt;/span&gt; -y epel-release deltarpm openssl-devel sqlite-devel bzip2-devel&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;Install &amp;amp; config nginx&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;yum &lt;span class="token function"&gt;install&lt;/span&gt; -y nginx ; &lt;/code&gt;&lt;code class="language-bash"&gt;/sbin/chkconfig nginx on;&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
create file thumbor.conf&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;nano /etc/nginx/conf.d/thumbor.conf&lt;/code&gt;&lt;/blockquote&gt;
&lt;pre class="language-nginx"&gt;&lt;code class="language-nginx"&gt;&lt;span class="token keyword"&gt;upstream&lt;/span&gt; thumbor  &lt;span class="token punctuation"&gt;{&lt;/span&gt;
    &lt;span class="token keyword"&gt;server&lt;/span&gt; &lt;span class="token number"&gt;127.0&lt;/span&gt;&lt;span class="token punctuation"&gt;.&lt;/span&gt;&lt;span class="token number"&gt;0.1&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;&lt;span class="token number"&gt;8000&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
    &lt;span class="token keyword"&gt;server&lt;/span&gt; &lt;span class="token number"&gt;127.0&lt;/span&gt;&lt;span class="token punctuation"&gt;.&lt;/span&gt;&lt;span class="token number"&gt;0.1&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;&lt;span class="token number"&gt;8001&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
    &lt;span class="token keyword"&gt;server&lt;/span&gt; &lt;span class="token number"&gt;127.0&lt;/span&gt;&lt;span class="token punctuation"&gt;.&lt;/span&gt;&lt;span class="token number"&gt;0.1&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;&lt;span class="token number"&gt;8002&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
    &lt;span class="token keyword"&gt;server&lt;/span&gt; &lt;span class="token number"&gt;127.0&lt;/span&gt;&lt;span class="token punctuation"&gt;.&lt;/span&gt;&lt;span class="token number"&gt;0.1&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;&lt;span class="token number"&gt;8003&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
&lt;span class="token punctuation"&gt;}&lt;/span&gt;

&lt;span class="token keyword"&gt;server&lt;/span&gt; &lt;span class="token punctuation"&gt;{&lt;/span&gt;
    &lt;span class="token keyword"&gt;listen&lt;/span&gt;       &lt;span class="token number"&gt;80&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
    &lt;span class="token keyword"&gt;server_name&lt;/span&gt;  &lt;span class="token operator"&gt;&amp;lt;&lt;/span&gt;INSERT YOUR DOMAIN NAME&lt;span class="token operator"&gt;&amp;gt;&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
    &lt;span class="token keyword"&gt;client_max_body_size&lt;/span&gt; 10M&lt;span class="token punctuation"&gt;;&lt;/span&gt;

    &lt;span class="token keyword"&gt;location&lt;/span&gt; &lt;span class="token operator"&gt;/&lt;/span&gt; &lt;span class="token punctuation"&gt;{&lt;/span&gt;
        &lt;span class="token keyword"&gt;proxy_set_header&lt;/span&gt; X&lt;span class="token operator"&gt;-&lt;/span&gt;Real&lt;span class="token operator"&gt;-&lt;/span&gt;IP &lt;span class="token variable"&gt;$remote_addr&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
        &lt;span class="token keyword"&gt;proxy_set_header&lt;/span&gt; HOST &lt;span class="token variable"&gt;$http_host&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
        &lt;span class="token keyword"&gt;proxy_set_header&lt;/span&gt; X&lt;span class="token operator"&gt;-&lt;/span&gt;NginX&lt;span class="token operator"&gt;-&lt;/span&gt;&lt;span class="token keyword"&gt;Proxy&lt;/span&gt; &lt;span class="token boolean"&gt;true&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;

        &lt;span class="token keyword"&gt;proxy_pass&lt;/span&gt; &lt;span class="token keyword"&gt;http&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;&lt;span class="token operator"&gt;/&lt;/span&gt;&lt;span class="token operator"&gt;/&lt;/span&gt;thumbor&lt;span class="token punctuation"&gt;;&lt;/span&gt;
        &lt;span class="token keyword"&gt;proxy_redirect&lt;/span&gt; off&lt;span class="token punctuation"&gt;;&lt;/span&gt;
    &lt;span class="token punctuation"&gt;}&lt;/span&gt;
&lt;span class="token punctuation"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Install Thumbor Lib&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;yum &lt;span class="token function"&gt;install&lt;/span&gt; libjpeg-turbo-devel.x86_64 libjpeg-turbo-utils.x86_64 libtiff-devel.x86_64 libpng-devel.x86_64 pngcrush jasper-devel.x86_64 libwebp-devel.x86_64 python-pip -y
&lt;/code&gt;&lt;code class="language-bash"&gt;pip &lt;span class="token function"&gt;install&lt;/span&gt; pycurl numpy
pip &lt;span class="token function"&gt;install&lt;/span&gt; &lt;/code&gt;&lt;code class="language-bash"&gt;thumbor&lt;span class="token operator"&gt;==&lt;/span&gt;4.12.2
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;create file optimizer plugins pngcrush for png&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;&lt;span class="token function"&gt;nano&lt;/span&gt; /usr/local/lib64/python2.7/site-packages/thumbor/optimizers/pngcrush.py&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
paste this&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-python"&gt;&lt;code class="language-python"&gt;&lt;span class="token comment" spellcheck="true"&gt;#!/usr/bin/python&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# -*- coding: utf-8 -*-&lt;/span&gt;

&lt;span class="token comment" spellcheck="true"&gt;# thumbor imaging service&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# https://github.com/thumbor/thumbor/wiki&lt;/span&gt;

&lt;span class="token comment" spellcheck="true"&gt;# Licensed under the MIT license:&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# http://www.opensource.org/licenses/mit-license&lt;/span&gt;


&lt;span class="token keyword"&gt;import&lt;/span&gt; os
&lt;span class="token keyword"&gt;import&lt;/span&gt; subprocess

&lt;span class="token keyword"&gt;from&lt;/span&gt; thumbor&lt;span class="token punctuation"&gt;.&lt;/span&gt;optimizers &lt;span class="token keyword"&gt;import&lt;/span&gt; BaseOptimizer
&lt;span class="token keyword"&gt;from&lt;/span&gt; thumbor&lt;span class="token punctuation"&gt;.&lt;/span&gt;utils &lt;span class="token keyword"&gt;import&lt;/span&gt; logger


&lt;span class="token keyword"&gt;class&lt;/span&gt; &lt;span class="token class-name"&gt;Optimizer&lt;/span&gt;&lt;span class="token punctuation"&gt;(&lt;/span&gt;BaseOptimizer&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;
    &lt;span class="token keyword"&gt;def&lt;/span&gt; &lt;span class="token function"&gt;__init__&lt;/span&gt;&lt;span class="token punctuation"&gt;(&lt;/span&gt;self&lt;span class="token punctuation"&gt;,&lt;/span&gt; context&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;
        super&lt;span class="token punctuation"&gt;(&lt;/span&gt;Optimizer&lt;span class="token punctuation"&gt;,&lt;/span&gt; self&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;.&lt;/span&gt;__init__&lt;span class="token punctuation"&gt;(&lt;/span&gt;context&lt;span class="token punctuation"&gt;)&lt;/span&gt;

        self&lt;span class="token punctuation"&gt;.&lt;/span&gt;runnable &lt;span class="token operator"&gt;=&lt;/span&gt; &lt;span class="token boolean"&gt;True&lt;/span&gt;
        self&lt;span class="token punctuation"&gt;.&lt;/span&gt;pngcrush_path &lt;span class="token operator"&gt;=&lt;/span&gt; self&lt;span class="token punctuation"&gt;.&lt;/span&gt;context&lt;span class="token punctuation"&gt;.&lt;/span&gt;config&lt;span class="token punctuation"&gt;.&lt;/span&gt;PNGCRUSH_PATH
        &lt;span class="token keyword"&gt;if&lt;/span&gt; &lt;span class="token operator"&gt;not&lt;/span&gt; &lt;span class="token punctuation"&gt;(&lt;/span&gt;os&lt;span class="token punctuation"&gt;.&lt;/span&gt;path&lt;span class="token punctuation"&gt;.&lt;/span&gt;isfile&lt;span class="token punctuation"&gt;(&lt;/span&gt;self&lt;span class="token punctuation"&gt;.&lt;/span&gt;pngcrush_path&lt;span class="token punctuation"&gt;)&lt;/span&gt; &lt;span class="token operator"&gt;and&lt;/span&gt; os&lt;span class="token punctuation"&gt;.&lt;/span&gt;access&lt;span class="token punctuation"&gt;(&lt;/span&gt;self&lt;span class="token punctuation"&gt;.&lt;/span&gt;pngcrush_path&lt;span class="token punctuation"&gt;,&lt;/span&gt; os&lt;span class="token punctuation"&gt;.&lt;/span&gt;X_OK&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;
            logger&lt;span class="token punctuation"&gt;.&lt;/span&gt;error&lt;span class="token punctuation"&gt;(&lt;/span&gt;&lt;span class="token string"&gt;"ERROR pngcrush path '{0}' is not accessible"&lt;/span&gt;&lt;span class="token punctuation"&gt;.&lt;/span&gt;format&lt;span class="token punctuation"&gt;(&lt;/span&gt;self&lt;span class="token punctuation"&gt;.&lt;/span&gt;pngcrush_path&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;)&lt;/span&gt;
            self&lt;span class="token punctuation"&gt;.&lt;/span&gt;runnable &lt;span class="token operator"&gt;=&lt;/span&gt; &lt;span class="token boolean"&gt;False&lt;/span&gt;

    &lt;span class="token keyword"&gt;def&lt;/span&gt; &lt;span class="token function"&gt;should_run&lt;/span&gt;&lt;span class="token punctuation"&gt;(&lt;/span&gt;self&lt;span class="token punctuation"&gt;,&lt;/span&gt; image_extension&lt;span class="token punctuation"&gt;,&lt;/span&gt; buffer&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;
        &lt;span class="token keyword"&gt;return&lt;/span&gt; &lt;span class="token string"&gt;'png'&lt;/span&gt; &lt;span class="token keyword"&gt;in&lt;/span&gt; image_extension &lt;span class="token operator"&gt;and&lt;/span&gt; self&lt;span class="token punctuation"&gt;.&lt;/span&gt;runnable

    &lt;span class="token keyword"&gt;def&lt;/span&gt; &lt;span class="token function"&gt;optimize&lt;/span&gt;&lt;span class="token punctuation"&gt;(&lt;/span&gt;self&lt;span class="token punctuation"&gt;,&lt;/span&gt; buffer&lt;span class="token punctuation"&gt;,&lt;/span&gt; input_file&lt;span class="token punctuation"&gt;,&lt;/span&gt; output_file&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;:&lt;/span&gt;
        command &lt;span class="token operator"&gt;=&lt;/span&gt; &lt;span class="token string"&gt;'%s -reduce -q %s %s '&lt;/span&gt; &lt;span class="token operator"&gt;%&lt;/span&gt; &lt;span class="token punctuation"&gt;(&lt;/span&gt;
            self&lt;span class="token punctuation"&gt;.&lt;/span&gt;pngcrush_path&lt;span class="token punctuation"&gt;,&lt;/span&gt;
            input_file&lt;span class="token punctuation"&gt;,&lt;/span&gt;
            output_file&lt;span class="token punctuation"&gt;,&lt;/span&gt;
        &lt;span class="token punctuation"&gt;)&lt;/span&gt;
        &lt;span class="token keyword"&gt;with&lt;/span&gt; open&lt;span class="token punctuation"&gt;(&lt;/span&gt;os&lt;span class="token punctuation"&gt;.&lt;/span&gt;devnull&lt;span class="token punctuation"&gt;)&lt;/span&gt; &lt;span class="token keyword"&gt;as&lt;/span&gt; null&lt;span class="token punctuation"&gt;:&lt;/span&gt;
            subprocess&lt;span class="token punctuation"&gt;.&lt;/span&gt;call&lt;span class="token punctuation"&gt;(&lt;/span&gt;command&lt;span class="token punctuation"&gt;,&lt;/span&gt; shell&lt;span class="token operator"&gt;=&lt;/span&gt;&lt;span class="token boolean"&gt;True&lt;/span&gt;&lt;span class="token punctuation"&gt;,&lt;/span&gt; stdin&lt;span class="token operator"&gt;=&lt;/span&gt;null&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
Generate Config file&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;thumbor-config &lt;span class="token operator"&gt;&amp;gt;&lt;/span&gt; /etc/thumbor.conf&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
change LOADER in file thumbor.conf for load file image from server&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-ini"&gt;&lt;code class="language-ini"&gt;&lt;span class="token constant"&gt;LOADER&lt;/span&gt; &lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt; 'thumbor.loaders.file_loader'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;enable Optimizer in thumbor.conf&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-ini"&gt;&lt;code class="language-ini"&gt;&lt;span class="token constant"&gt;OPTIMIZERS&lt;/span&gt; &lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt; [&lt;/span&gt;
    'thumbor.optimizers.jpegtran',
    'thumbor.optimizers.pngcrush',
]

&lt;span class="token constant"&gt;JPEGTRAN_PATH&lt;/span&gt; &lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt; '/usr/bin/jpegtran'&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;/span&gt;
&lt;span class="token constant"&gt;PNGCRUSH_PATH&lt;/span&gt; &lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt; '/usr/bin/pngcrush'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;Install &amp;amp; configure supervisor&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;easy_install supervisor&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
create file /etc/init.d/supervisord&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;&lt;span class="token shebang important"&gt;#! /bin/sh&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;### BEGIN INIT INFO&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# Provides:          supervisord&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# Required-Start:    $remote_fs&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# Required-Stop:     $remote_fs&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# Default-Start:     2 3 4 5&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# Default-Stop:      0 1 6&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# Short-Description: Supervisor init script&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# Description:       Supervisor init script    &lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;### END INIT INFO&lt;/span&gt;

&lt;span class="token comment" spellcheck="true"&gt;# Supervisord auto-start&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;#&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# description: Auto-starts supervisord&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# processname: supervisord&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;# pidfile: /var/run/supervisord.pid&lt;/span&gt;

SUPERVISORD&lt;span class="token operator"&gt;=&lt;/span&gt;/usr/local/bin/supervisord
SUPERVISORCTL&lt;span class="token operator"&gt;=&lt;/span&gt;/usr/local/bin/supervisorctl
ARGS&lt;span class="token operator"&gt;=&lt;/span&gt;&lt;span class="token string"&gt;"-c /etc/supervisord.conf"&lt;/span&gt;

&lt;span class="token keyword"&gt;case&lt;/span&gt; &lt;span class="token variable"&gt;$1&lt;/span&gt; &lt;span class="token keyword"&gt;in&lt;/span&gt;
start&lt;span class="token punctuation"&gt;)&lt;/span&gt;
        &lt;span class="token keyword"&gt;echo&lt;/span&gt; -n &lt;span class="token string"&gt;"Starting supervisord: "&lt;/span&gt;
        &lt;span class="token variable"&gt;$SUPERVISORD&lt;/span&gt; &lt;span class="token variable"&gt;$ARGS&lt;/span&gt;
        &lt;span class="token keyword"&gt;echo&lt;/span&gt;
        &lt;span class="token punctuation"&gt;;&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
stop&lt;span class="token punctuation"&gt;)&lt;/span&gt;
        &lt;span class="token keyword"&gt;echo&lt;/span&gt; -n &lt;span class="token string"&gt;"Stopping supervisord: "&lt;/span&gt;
        &lt;span class="token variable"&gt;$SUPERVISORCTL&lt;/span&gt; &lt;span class="token function"&gt;shutdown&lt;/span&gt;
        &lt;span class="token keyword"&gt;echo&lt;/span&gt;
        &lt;span class="token punctuation"&gt;;&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
restart&lt;span class="token punctuation"&gt;)&lt;/span&gt;
        &lt;span class="token keyword"&gt;echo&lt;/span&gt; -n &lt;span class="token string"&gt;"Stopping supervisord: "&lt;/span&gt;
        &lt;span class="token variable"&gt;$SUPERVISORCTL&lt;/span&gt; &lt;span class="token function"&gt;shutdown&lt;/span&gt;
        &lt;span class="token keyword"&gt;echo&lt;/span&gt;
        &lt;span class="token keyword"&gt;echo&lt;/span&gt; -n &lt;span class="token string"&gt;"Starting supervisord: "&lt;/span&gt;
        &lt;span class="token variable"&gt;$SUPERVISORD&lt;/span&gt; &lt;span class="token variable"&gt;$ARGS&lt;/span&gt;
        &lt;span class="token keyword"&gt;echo&lt;/span&gt;
        &lt;span class="token punctuation"&gt;;&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;
esac
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
create file /etc/supervisord.conf and paste&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-ini"&gt;&lt;code class="language-ini"&gt;&lt;span class="token important"&gt;[unix_http_server]&lt;/span&gt;
&lt;span class="token constant"&gt;file&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;/tmp/supervisor.sock   ; (the path to the socket file)&lt;/span&gt;

&lt;span class="token important"&gt;[supervisord]&lt;/span&gt;
&lt;span class="token constant"&gt;logfile&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)  &lt;/span&gt;
&lt;span class="token constant"&gt;logfile_maxbytes&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;50MB        ; (max main logfile bytes b4 rotation;default 50MB)  &lt;/span&gt;
&lt;span class="token constant"&gt;logfile_backups&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;10           ; (num of main logfile rotation backups;default 10)  &lt;/span&gt;
&lt;span class="token constant"&gt;loglevel&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;info                ; (log level;default info; others: debug,warn,trace)  &lt;/span&gt;
&lt;span class="token constant"&gt;pidfile&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)  &lt;/span&gt;
&lt;span class="token constant"&gt;nodaemon&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;false               ; (start in foreground if true;default false)  &lt;/span&gt;
&lt;span class="token constant"&gt;minfds&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;1024                  ; (min. avail startup file descriptors;default 1024)  &lt;/span&gt;
&lt;span class="token constant"&gt;minprocs&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;200                 ; (min. avail process descriptors;default 200)&lt;/span&gt;

&lt;span class="token comment" spellcheck="true"&gt;; the below section must remain in the config file for RPC&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;; (supervisorctl/web interface) to work, additional interfaces may be&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;; added by defining them in separate rpcinterface: sections&lt;/span&gt;
&lt;span class="token important"&gt;[rpcinterface:supervisor]&lt;/span&gt;
&lt;span class="token constant"&gt;supervisor.rpcinterface_factory&lt;/span&gt; &lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt; supervisor.rpcinterface:make_main_rpcinterface&lt;/span&gt;

&lt;span class="token important"&gt;[supervisorctl]&lt;/span&gt;
&lt;span class="token constant"&gt;serverurl&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;unix:///tmp/supervisor.sock ; use a unix:// URL  for a unix socket&lt;/span&gt;

&lt;span class="token important"&gt;[program:thumbor]&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;; The following command uses a different thumbor config file for each&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;; processes, however we want the same setup for each so that isn't necessary&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;; command=thumbor --ip=127.0.0.1 --port=800%(process_num)s --conf=/etc/thumbor800%(process_num)s.conf&lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;; Instead we'll use this command to use just the one conf file&lt;/span&gt;
&lt;span class="token constant"&gt;command&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;/usr/local/bin/thumbor --ip=127.0.0.1 --port=800%(process_num)s --conf=/etc/thumbor.conf  &lt;/span&gt;
&lt;span class="token constant"&gt;process_name&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;thumbor800%(process_num)s  &lt;/span&gt;
&lt;span class="token constant"&gt;numprocs&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;4  &lt;/span&gt;
&lt;span class="token constant"&gt;autostart&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;true  &lt;/span&gt;
&lt;span class="token constant"&gt;autorestart&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;true  &lt;/span&gt;
&lt;span class="token constant"&gt;startretries&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;3  &lt;/span&gt;
&lt;span class="token constant"&gt;stopsignal&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;TERM  &lt;/span&gt;
&lt;span class="token comment" spellcheck="true"&gt;; Output logs for each of our processes&lt;/span&gt;
&lt;span class="token constant"&gt;stdout_logfile&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;/var/log/thumbor.stdout.log  &lt;/span&gt;
&lt;span class="token constant"&gt;stdout_logfile_maxbytes&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;1MB  &lt;/span&gt;
&lt;span class="token constant"&gt;stdout_logfile_backups&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;10  &lt;/span&gt;
&lt;span class="token constant"&gt;stderr_logfile&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;/var/log/thumbor.stderr.log  &lt;/span&gt;
&lt;span class="token constant"&gt;stderr_logfile_maxbytes&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;1MB  &lt;/span&gt;
&lt;span class="token constant"&gt;stderr_logfile_backups&lt;/span&gt;&lt;span class="token attr-value"&gt;&lt;span class="token punctuation"&gt;=&lt;/span&gt;10&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
start supervisord and nginx&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;&lt;span class="token function"&gt;chmod&lt;/span&gt; +x supervisord ; &lt;/code&gt;&lt;code class="language-bash"&gt;/etc/init.d/supervisord start; /etc/init.d/nginx start&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;optional for custom or change unsafe url add in nginx thumbor configuration&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;
&amp;nbsp; location ~* /thumb/(.*)/(.*\.(jpg|jpeg|png|gif|JPG))$ {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxy_pass http://localhost:8000/unsafe/$1/$2;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/blockquote&gt;
&amp;nbsp;change url http://localhost:8000/unsafe/300x300/file.jpg to&lt;br /&gt;
http://localhost:8000/thumb/300x300/file.jpg&lt;br /&gt;&lt;br /&gt;complate installation in here &lt;a href="https://www.dadoune.com/blog/best-thumbnailing-solution-set-up-thumbor-on-aws/" target="_blank"&gt;source&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;thank you&lt;br /&gt;

&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2017/01/install-thumbor-centos-and-nginx.html</link><author>noreply@blogger.com (root)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-2008594657306055978</guid><pubDate>Fri, 06 Jan 2017 01:18:00 +0000</pubDate><atom:updated>2017-01-06T08:22:58.312+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">centos 6</category><category domain="http://www.blogger.com/atom/ns#">python upgrade</category><category domain="http://www.blogger.com/atom/ns#">python upgrade 2.6 to 2.7</category><title>Centos 6 Upgrade python 2.6 to python 2.7</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYi3MES1RHLl5_z05VqX1SyD077bjgK0z-_4V-UZIaCMufYT-GoATHHfbUqcIkP-DoaoM7c7__rMdjUCYWGB0mKRf7xHzIVxqgaGoYE-K3njIm-PYpnPRdPmjcGM1WkObMCOXgnuWeEOHo/s1600/python-logo-master-v3-TM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="108" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYi3MES1RHLl5_z05VqX1SyD077bjgK0z-_4V-UZIaCMufYT-GoATHHfbUqcIkP-DoaoM7c7__rMdjUCYWGB0mKRf7xHzIVxqgaGoYE-K3njIm-PYpnPRdPmjcGM1WkObMCOXgnuWeEOHo/s320/python-logo-master-v3-TM.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Paket yang di butuhkan&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel gcc
yum groupinstall -y 'development tools'&lt;/pre&gt;
&lt;/blockquote&gt;
Download Source Python&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;cd /usr/src;wget &lt;a class="external free" href="https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz" rel="nofollow" target="_blank"&gt;https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz&lt;/a&gt;
&lt;/pre&gt;
&lt;/blockquote&gt;
Extrack and Compile&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;tar xzf Python-2.7.12.tgz;cd Python-2.7.12;./configure;make -j4;make install;make altinstall
&lt;/pre&gt;
&lt;/blockquote&gt;
&amp;nbsp;Optional with Threads and shared&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;./configure --with-threads --enable-shared;make -j4;make install;make altinstall
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;b&gt;error libpython2.7.so.1.0 not found&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;ln -s /usr/local/lib/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;ln -s /usr/src/Python-2.7.12/libpython2.7.so.1.0  /usr/lib/libpython2.7.so.1.0
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
Good Luck&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2017/01/centos-6-upgrade-python-26-to-python-27.html</link><author>noreply@blogger.com (root)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYi3MES1RHLl5_z05VqX1SyD077bjgK0z-_4V-UZIaCMufYT-GoATHHfbUqcIkP-DoaoM7c7__rMdjUCYWGB0mKRf7xHzIVxqgaGoYE-K3njIm-PYpnPRdPmjcGM1WkObMCOXgnuWeEOHo/s72-c/python-logo-master-v3-TM.png" width="72"/><thr:total>0</thr:total><enclosure length="16935960" type="application/octet-stream" url="https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz"/><itunes:explicit/><itunes:subtitle>Install Paket yang di butuhkan yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel gcc yum groupinstall -y 'development tools' Download Source Python cd /usr/src;wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz Extrack and Compile tar xzf Python-2.7.12.tgz;cd Python-2.7.12;./configure;make -j4;make install;make altinstall &amp;nbsp;Optional with Threads and shared ./configure --with-threads --enable-shared;make -j4;make install;make altinstall error libpython2.7.so.1.0 not found ln -s /usr/local/lib/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0 ln -s /usr/src/Python-2.7.12/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0 Good Luck</itunes:subtitle><itunes:author>noreply@blogger.com (root)</itunes:author><itunes:summary>Install Paket yang di butuhkan yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel gcc yum groupinstall -y 'development tools' Download Source Python cd /usr/src;wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz Extrack and Compile tar xzf Python-2.7.12.tgz;cd Python-2.7.12;./configure;make -j4;make install;make altinstall &amp;nbsp;Optional with Threads and shared ./configure --with-threads --enable-shared;make -j4;make install;make altinstall error libpython2.7.so.1.0 not found ln -s /usr/local/lib/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0 ln -s /usr/src/Python-2.7.12/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0 Good Luck</itunes:summary><itunes:keywords>centos, centos 6, python upgrade, python upgrade 2.6 to 2.7</itunes:keywords></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-4270168894822525286</guid><pubDate>Thu, 29 Dec 2016 11:06:00 +0000</pubDate><atom:updated>2016-12-29T18:06:59.654+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">mariadb</category><category domain="http://www.blogger.com/atom/ns#">mysql</category><category domain="http://www.blogger.com/atom/ns#">repositories</category><category domain="http://www.blogger.com/atom/ns#">rpm</category><category domain="http://www.blogger.com/atom/ns#">yum</category><title>mariadb replication master slave all databases on CentOS </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
sebelum memulai sebaiknya kita berdoa terlebih dahulu&lt;br /&gt;
&lt;br /&gt;
selesai&lt;br /&gt;
&lt;br /&gt;
setelah berdoa saatnya kita menginstall service mariadb terlebih dahulu pada kedua server tersebut,&lt;br /&gt;
&lt;br /&gt;
buat file repo terlebih dahulu &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;vi /etc/yum.repos.d/MariaDB.repo&lt;/code&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;[mariadb]&lt;br /&gt;
name = MariaDB&lt;br /&gt;
baseurl = http://yum.mariadb.org/10.0/centos7-amd64&lt;br /&gt;
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB&lt;br /&gt;
gpgcheck=1&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;yum install MariaDB-server MariaDB-client -y&lt;/code&gt;&lt;br /&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="bash comments"&gt;systemctl start mariadb&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="bash comments"&gt;systemctl enable mariadb&lt;/code&gt;&lt;/div&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;jika terdapat konfik atau error dengan maria-libs-xxx&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;code&gt;yum remove mariadb-libs*&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;code&gt;start service&amp;nbsp;&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/code&gt;&lt;code&gt;/etc/init.d/mysql start&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;/code&gt; &lt;br /&gt;
&amp;nbsp;setup mysql login&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;mysql_secure_installation&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;setelah itu pada &lt;b&gt;master&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt; &lt;/code&gt;&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/12/mariadb-replication-master-slave-all.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-2529541117568047443</guid><pubDate>Thu, 29 Dec 2016 07:53:00 +0000</pubDate><atom:updated>2016-12-29T14:53:06.593+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">fedora</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">monitoring</category><category domain="http://www.blogger.com/atom/ns#">perl</category><category domain="http://www.blogger.com/atom/ns#">prtg</category><category domain="http://www.blogger.com/atom/ns#">prtg redis sensors</category><category domain="http://www.blogger.com/atom/ns#">redis</category><category domain="http://www.blogger.com/atom/ns#">Redis-snmp</category><category domain="http://www.blogger.com/atom/ns#">snmp</category><title>Redis snmp monitoring &amp;  redis prtg monitoring sensors</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
setelah install redis lalu bagaimana cara memoitoring redis tersebut, berapa jumlah koneksi yang ada pada redis, berapa jumlah konsumsi memori oleh redis, di sini saya akan membahas monitoring redis menggunakan snmp, dan nanti akan ada lanjutan untuk monitoring PRTG atau cacti nantinya&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ7pGbuAp4_H3wQqgaWGNXhovCgyUwioLzClvwAvNRGTDDzfV11-LaRTh2XZvtGhQL30Mp4CIAuznymbePgPkP72orBzWlpLRG7Cws0BWMOnsiDB-7tkJCdBvr406N91oUTU4EBSqFtjcB/s1600/redis-connections.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ7pGbuAp4_H3wQqgaWGNXhovCgyUwioLzClvwAvNRGTDDzfV11-LaRTh2XZvtGhQL30Mp4CIAuznymbePgPkP72orBzWlpLRG7Cws0BWMOnsiDB-7tkJCdBvr406N91oUTU4EBSqFtjcB/s320/redis-connections.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
oke langsung saja&lt;br /&gt;
&lt;br /&gt;
1. install cpan dan snmp perl untuk modulenya untuk depedensi perl, cpan ini seperti layaknya pip atau easy_install pada python&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
yum install cpan net-snmp-perl -y&lt;/blockquote&gt;
2. install module perl yang lain yang di butuhkan oleh aplikasi&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
cpan -I Unix::Syslog&lt;br /&gt;cpan -I IO::Socket::INET&lt;/blockquote&gt;
3. clone redis-snmp dan compile dari &lt;a href="https://github.com/masterzen/redis-snmp" target="_blank"&gt;github&lt;/a&gt;&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&amp;nbsp;git clone https://github.com/masterzen/redis-snmp.git;cd;redis-snmp/;make install&lt;/blockquote&gt;
4.&amp;nbsp; jalankan service redis-snmp&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
redis-snmp --host=127.0.0.1&lt;/blockquote&gt;
jika redis menggunakan auth maka gunakan perintah berikut&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
redis-snmp --host=127.0.0.1 -p &amp;lt;your pass redis&amp;gt;&lt;/blockquote&gt;
5. reconfigure snmpd.conf tambahkan ini dan restart&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
master agentx&lt;br /&gt;view&amp;nbsp;&amp;nbsp;&amp;nbsp; systemview&amp;nbsp;&amp;nbsp;&amp;nbsp; included&amp;nbsp;&amp;nbsp; .1.3.6.1&lt;br /&gt;view&amp;nbsp;&amp;nbsp;&amp;nbsp; systemview&amp;nbsp;&amp;nbsp;&amp;nbsp; included&amp;nbsp;&amp;nbsp; .1.3.6.1.2.1&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
service snmpd restart &lt;/blockquote&gt;
&amp;nbsp;6. test outuput&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;snmpbulkwalk -m 'REDIS-SERVER-MIB' -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.20267.400&lt;/code&gt;&lt;/blockquote&gt;
hasil&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;REDIS-SERVER-MIB::redisConnectedClients.0 = Gauge32: 1&lt;/code&gt; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;REDIS-SERVER-MIB::redisConnectedSlaves.0 = Gauge32: 0&lt;/code&gt; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;REDIS-SERVER-MIB::redisUsedMemory.0 = Counter64: 41466936 Bytes&lt;/code&gt;&lt;/blockquote&gt;
atau gunakan -o untuk melihat OIDs untuk prtg&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;snmpbulkwalk -m 'REDIS-SERVER-MIB' -v 2c -O n -c public 127.0.0.1 .1.3.6.1.4.1.20267.400&amp;nbsp;
&lt;/code&gt;&lt;/blockquote&gt;
hasil&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&amp;nbsp;&lt;code&gt;.1.3.6.1.4.1.20267.400.1.1.0 = Gauge32: 1&lt;/code&gt; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;.1.3.6.1.4.1.20267.400.1.2.0 = Gauge32: 0&lt;/code&gt; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;.1.3.6.1.4.1.20267.400.1.3.0 = Counter64: 41466936 Bytes&lt;/code&gt;&lt;/blockquote&gt;
untuk prtg silakan menggunakan OIDs tersebut berikut list nya&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;.1.3.6.1.4.1.20267.400.1.1.0  (redisConnectedClnts)
.1.3.6.1.4.1.20267.400.1.2.0  (redisConnectedSlavs)
.1.3.6.1.4.1.20267.400.1.3.0  (redisUsedMemory)
.1.3.6.1.4.1.20267.400.1.4.0  (redisChangsSncLstSv)
.1.3.6.1.4.1.20267.400.1.5.0  (redisTotalConnectns)
.1.3.6.1.4.1.20267.400.1.6.0  (redisCommandsPrcssd)&lt;/pre&gt;
&lt;/blockquote&gt;
untuk PRTG gunakan &lt;a href="https://www.paessler.com/manuals/prtg/snmp_custom_sensor" target="_blank"&gt;custom sensors&lt;/a&gt;&amp;nbsp; dan gunakan aplikasi &lt;a href="https://goo.gl/zOq94Y" target="_blank"&gt;PRTG REDIS SENSORS&lt;/a&gt; Prtg version 15-16&lt;br /&gt;&lt;br /&gt;Good Luck
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/12/redis-snmp-monitoring-redis-prtg.html</link><author>noreply@blogger.com (root)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ7pGbuAp4_H3wQqgaWGNXhovCgyUwioLzClvwAvNRGTDDzfV11-LaRTh2XZvtGhQL30Mp4CIAuznymbePgPkP72orBzWlpLRG7Cws0BWMOnsiDB-7tkJCdBvr406N91oUTU4EBSqFtjcB/s72-c/redis-connections.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-932026527909508877</guid><pubDate>Wed, 21 Dec 2016 13:34:00 +0000</pubDate><atom:updated>2016-12-21T20:34:32.430+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Automate pushing of ssh-copy-id to multiple servers</category><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">fedora</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">ssh-copy-id multiple servers</category><title>Automate pushing of ssh-copy-id to multiple servers</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
kadang suka aga aga males kalo harus masukin ssh key ke server, ya kalo 1-2 server si ga apa, gimana kalo servernya itu lebih dari 10?&lt;br /&gt;udah males ngetik satu satu, plus harus masukin passwordnya pula, kalo passwordnya panjang gimana?, akhirnya scripting dikit buat mempercepet aja si sebenernya cekidot gan!&lt;br /&gt;
&lt;br /&gt;
buat file &lt;b&gt;~/.ssh/config&lt;/b&gt; isi dengan ini&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre style="-webkit-text-stroke-width: 0px; background: 0px 0px rgb(238, 238, 238); border: 1px solid rgb(170, 170, 170); color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.5; orphans: auto; padding: 15px; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px;"&gt;StrictHostKeyChecking no
UserKnownHostsFile=/dev/null&lt;/pre&gt;
&lt;/blockquote&gt;
itu gunanya biar ga ketik yes jika keluar&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre style="-webkit-text-stroke-width: 0px; background: 0px 0px rgb(238, 238, 238); border: 1px solid rgb(170, 170, 170); color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.5; orphans: auto; padding: 15px; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px;"&gt;The authenticity of host '&lt;span class="skimlinks-unlinked"&gt;yourserver.com.sg&lt;/span&gt; (192.168.1.1)' can't be established.
RSA key fingerprint is 8d:e7:92:ef:86:1a:fb:4a:01:00:6a:fc:8c:23:ed:15.
Are you sure you want to continue connecting (yes/no)?&lt;/pre&gt;
&lt;/blockquote&gt;
&amp;nbsp;setelah itu kita buat file dengan nama &lt;b&gt;host_list &lt;/b&gt;yang di mana isinya adalah host/server yang ingin kita copy ssh key milik kita&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre style="-webkit-text-stroke-width: 0px; background: 0px 0px rgb(238, 238, 238); border: 1px solid rgb(170, 170, 170); color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.5; orphans: auto; padding: 15px; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px;"&gt;192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
192.168.1.6
192.168.1.7
ect..&lt;/pre&gt;
&lt;/blockquote&gt;
selanjutnya kita buat bash script yang isinya menggunakan perulangan for&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre style="-webkit-text-stroke-width: 0px; background: 0px 0px rgb(238, 238, 238); border: 1px solid rgb(170, 170, 170); color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.5; orphans: auto; padding: 15px; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px;"&gt;for i in `cat ~/host_list`;    
    do
       sshpass -p 'SERVER_PASSWD' ssh-copy-id -i .ssh/id_rsa.pub root@${i}
    done&lt;/pre&gt;
&lt;/blockquote&gt;
pada for terdapat petik ` ` , petik tersebut di gunakan untuk membaca file host_list dengan menggunakan cat&lt;br /&gt;
pada &lt;b&gt;sshpass &lt;/b&gt;-p '&lt;span style="color: red;"&gt;SERVER_PASSWD&lt;/span&gt;' server_passwd ganti dengan password user pada server tujuan tersebut, *Sukur" passwd usernya sama ga beda beda"&lt;br /&gt;jika ingin menggunakan port yang berbeda bukan port 22 maka tambahkan -p &amp;lt;port&amp;gt; pada belakang ${i}&lt;br /&gt;maka nanti akan menjadi seperti ini&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre style="-webkit-text-stroke-width: 0px; background: 0px 0px rgb(238, 238, 238); border: 1px solid rgb(170, 170, 170); color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.5; orphans: auto; padding: 15px; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px;"&gt;for i in `cat ~/host_list`;    
 do
  sshpass -p 'SERVER_PASSWD' ssh-copy-id -i .ssh/id_rsa.pub root@${i} -p &amp;lt;port&amp;gt;
 done&lt;/pre&gt;
&lt;/blockquote&gt;
kemudian chmod +x file bash dan eksekusi file tersebut&lt;br /&gt;&lt;br /&gt;sekian :D &lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/12/automate-pushing-of-ssh-copy-id-to.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-4028572540294637931</guid><pubDate>Mon, 21 Nov 2016 09:54:00 +0000</pubDate><atom:updated>2016-11-21T17:52:09.936+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">fedora</category><category domain="http://www.blogger.com/atom/ns#">how to free inode usage</category><category domain="http://www.blogger.com/atom/ns#">inode problems</category><category domain="http://www.blogger.com/atom/ns#">ionode  full disk</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Inode problems and full disks , how to free inode usage</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;pre&gt;&lt;b&gt;cannot create temp file for here-document: &lt;span style="color: red;"&gt;No space left on device&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;coba cek dengan &lt;b&gt;df -h&lt;/b&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;&amp;nbsp;df -h
Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size&amp;nbsp; Used Avail Use% Mounted on
udev&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.9G&amp;nbsp; 4.0K&amp;nbsp; 1.9G&amp;nbsp;&amp;nbsp; 1% /dev
tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 379M&amp;nbsp; 416K&amp;nbsp; 379M&amp;nbsp;&amp;nbsp; 1% /run
/dev/mapper/&lt;span style="color: red;"&gt;vol_root&amp;nbsp; 7.3G&amp;nbsp; 2.2G&amp;nbsp; 4.7G&amp;nbsp; 32% /&lt;/span&gt;
&amp;nbsp;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;span style="font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;"&gt;di sana terlihat bahwa size masih lega, tapi kita ga bisa nulis dan system memberitahu bahwa udah penuh??&amp;nbsp;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
cek df dengan inode &lt;span style="color: red;"&gt;df -i&lt;/span&gt; atau &lt;span style="color: red;"&gt;df -Thi&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;&amp;nbsp;df -i
Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inodes&amp;nbsp; IUsed&amp;nbsp; IFree IUse% Mounted on
udev&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209623&amp;nbsp;&amp;nbsp;&amp;nbsp; 445 209178&amp;nbsp;&amp;nbsp;&amp;nbsp; 1% /dev
tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 214814&amp;nbsp;&amp;nbsp;&amp;nbsp; 381 214433&amp;nbsp;&amp;nbsp;&amp;nbsp; 1% /run
/dev/mapper&lt;span style="color: red;"&gt;/vol_root 488640 488640&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 100% /&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
ternyata yang penuh adalah inode nya maka system tidak dapat menulis karena inodenya penuh
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;faq:&lt;/b&gt;&lt;span style="color: purple;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: purple;"&gt;1. terus clean up inode bisa?
&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: orange;"&gt;&lt;span style="color: purple;"&gt;2. apa harus di buat partisi baru? liat dr errornya itu adalah temp nya penuh&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
jawab
&lt;br /&gt;
&lt;span style="color: red;"&gt;1.&lt;/span&gt; bisa, clean up dengan cara mencari file yang memakan inode banyak lalu menghapus file tersebut
&lt;br /&gt;
pertama kita cari dulu file mana yg memakan inode banyak dari / a.k.a root
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
nanti akan keluar banyak file yang memakan inode pada disk, cari aja yg paling banyak kasus di sini adalah
&lt;br /&gt;
&lt;span style="color: red;"&gt;&amp;nbsp;/var/lib/php5/sessions/&lt;/span&gt; yg memakai inode sebanyak &lt;span style="color: red;"&gt;387204 &lt;/span&gt;
&lt;br /&gt;
setelah udah tau penyebabnnya selanjutnya adalah hapus semua file
 yg ada di dalam folder itu sebagian, bisa dengan penghapusan file mulai
 dr yg terlama masanya atau bisa dari yg terbaru sesuai kebutuhan&lt;br /&gt;
&lt;br /&gt;
pada kasus ini nama file atau string file terlalu panjang jika 
penghapusan dengan cara biasa aliias dengan perintah rm maka akan keluar&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;&lt;span style="color: red;"&gt;rm: Argument list too long&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
contoh nama file di sini seperti ini&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;&lt;span style="color: red;"&gt;ls /var/lib/php5/sessions/ci_session1aca9c05635d1b32ffdd87b9f274b1124eeb93fb&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
maka penghapusan file dengan cara agar tidak keluar list to long&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;&lt;span style="color: red;"&gt;find /var/lib/php5/sessions/ -name "ci_session*"&amp;nbsp; -print0 | xargs -0 rm&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;span style="color: red;"&gt;2.&lt;/span&gt; ga perlu karena /tmp menyatu pada / a.k.a root maka error yang keluar seperti itu
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
kesimpulannya alangkah baiknya menggunakan filesystem xfs&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://unix.stackexchange.com/questions/117093/find-where-inodes-are-being-used" target="_blank"&gt;rujukan&lt;/a&gt;&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/11/inode-problems-and-full-disks-how-to.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-4749461288651532732</guid><pubDate>Mon, 17 Oct 2016 14:39:00 +0000</pubDate><atom:updated>2016-10-17T21:39:49.136+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">haproxy</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">zero-down-time</category><title>maintenance mode haproxy [ no reboot ]</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
ketika satu host sedang ada perbaikan, gimana caranya buat nandain haproxy kalo host itu lagi bermasalah dan butuh reconfigure&lt;br /&gt;
&lt;br /&gt;
ternyata di haproxy itu udh ana, kita cukup disable backend server mana dan hostname mana yg sedang maintenance mode&lt;br /&gt;
&lt;br /&gt;
pertama install socat&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
yum install socat -y&lt;/blockquote&gt;
&lt;br /&gt;
lalu pastikan pada global sudah ada socket&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
global&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; stats socket /var/run/haproxadm.sock mode 660 level admin&lt;/blockquote&gt;
&amp;nbsp;selanjutnya adalah perintah untuk enable disable host&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
echo "disable server &lt;span style="color: red;"&gt;backend_name/host_name&lt;/span&gt;" |&amp;nbsp; socat stdio /var/run/haproxadm.sock&lt;/blockquote&gt;
&amp;nbsp;yang di mana backend_name adalah nama backend yng di gunakan atau di seting pada /etc/haproxy/haproxy.cfg&lt;br /&gt;
contoh backend ws_server untuk host_name adalah penamaan hostname pada backend server &lt;span style="color: red;"&gt;ws1&lt;/span&gt; 192.168.1.10 , maka untuk menggunakan nya menjadi&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
echo "disable server &lt;span style="color: red;"&gt;ws_server/ws1&lt;/span&gt;" |&amp;nbsp; socat stdio /var/run/haproxadm.sock&lt;/blockquote&gt;
&lt;br /&gt;
atau jika menggunakan file , atau di simpan menjadi file akan seperti ini, save dengan nama disable.sh&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
echo "&lt;span style="color: red;"&gt;disable&lt;/span&gt; server $1/$2" |&amp;nbsp; socat stdio /var/run/haproxadm.sock&lt;/blockquote&gt;
untuk menggunakannya&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
./disable.sh ws_server ws1&lt;/blockquote&gt;
&amp;nbsp;untuk enable host,&amp;nbsp; cukup dengan mengganti nama &lt;span style="color: red;"&gt;disable&lt;/span&gt; menjadi &lt;span style="color: red;"&gt;enable&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;span style="color: red;"&gt;&amp;nbsp;&lt;/span&gt;echo "enable server &lt;span style="color: red;"&gt;ws_server/ws1&lt;/span&gt;" |&amp;nbsp; socat stdio /var/run/haproxadm.sock&lt;/blockquote&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/10/maintenance-mode-haproxy-no-reboot.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-2143829802567493559</guid><pubDate>Thu, 29 Sep 2016 03:52:00 +0000</pubDate><atom:updated>2017-12-16T08:15:42.960+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">minifycss</category><category domain="http://www.blogger.com/atom/ns#">minifyhtml</category><category domain="http://www.blogger.com/atom/ns#">minifyjs</category><category domain="http://www.blogger.com/atom/ns#">nginx</category><title>nginx minify css js html</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS4sFrVwTJcESe1Rn1MdOG2RuZ39UHOqFKXRWzzQeq8gCZDZti2MPZ_cLJBrvDMr9gfRFH6uKKQK4M6x5oReX1cVZujcwRaxzzr867LXGKUu2uX2JlKSyfxH8NCHhPxejNalQAa8KjX5qx/s1600/2000px-Nginx_logo.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="66" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS4sFrVwTJcESe1Rn1MdOG2RuZ39UHOqFKXRWzzQeq8gCZDZti2MPZ_cLJBrvDMr9gfRFH6uKKQK4M6x5oReX1cVZujcwRaxzzr867LXGKUu2uX2JlKSyfxH8NCHhPxejNalQAa8KjX5qx/s320/2000px-Nginx_logo.svg.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Ygpk0v0FzOSJZMabAMZ1Gw65FpHQ83YObCE0sB1_u9bAdcFGEMmc6sKkQZ53r8jW5D8WUW4tm2gGA-lihZB4ScQ4Jzx3NS9AdaNuytTZTx0MMuohSwD8LNk-IEtQF2sF6t-oav7o6EZu/s1600/cpan.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Ygpk0v0FzOSJZMabAMZ1Gw65FpHQ83YObCE0sB1_u9bAdcFGEMmc6sKkQZ53r8jW5D8WUW4tm2gGA-lihZB4ScQ4Jzx3NS9AdaNuytTZTx0MMuohSwD8LNk-IEtQF2sF6t-oav7o6EZu/s1600/cpan.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
awalnya iseng iseng bisa ga nginx nih nge minify js sama css nya on de felay&lt;br /&gt;
browsing dikit terus nemu git ini &lt;a href="https://github.com/nginx-modules/nginx-minify" target="_blank"&gt;cekitdot&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
terus coba aja iseng okay ini setep by setep di centos ya&lt;br /&gt;
&lt;br /&gt;
pertama karena tutor di sana make source maka di sini make aplikasi &lt;b&gt;cpan &lt;/b&gt;make cpan krn di perl kalo di python biasanya pip atau easy_install okeh&lt;br /&gt;
&lt;br /&gt;
1. install cpan&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
yum install cpan &lt;/blockquote&gt;
2. install modul perl buat nginx , ga perlu recompile&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
yum install nginx-module-perl.x86_64 #nginx repo if use epel its default install&lt;/blockquote&gt;
3. install deh paketan yg di butuhin di saa bilang pake XS&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;HMTL =&amp;gt; cpan install HTML::Packer&lt;/li&gt;
&lt;li&gt;CSS =&amp;gt; cpan install CSS::Minifier::XS&lt;/li&gt;
&lt;li&gt;JS =&amp;gt; cpan install JavaScript::Minifier::XS&lt;/li&gt;
&lt;/ul&gt;
4. load module nginx.conf di luar htmls section atau bawah log jg gpp&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
load_module modules/ngx_http_perl_module.so;&lt;/blockquote&gt;
5. masukin di bagian html section ini (ikutin yg di github)&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
# minify&lt;br /&gt;
&amp;nbsp;perl_modules perl;&lt;br /&gt;
&amp;nbsp;perl_require Minify.pm;&lt;/blockquote&gt;
6. selanjutnya ke bagian vhost section server kaya gini aja kalo pake gzip&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
#minify&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location ~ \.html$ { perl Minify::html_handler; expires 1y; add_header Cache-Control "public";}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location ~ \.css$&amp;nbsp; { perl Minify::css_handler;&amp;nbsp; expires 1y; add_header Cache-Control "public";}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location ~ \.js$&amp;nbsp;&amp;nbsp; { perl Minify::js_handler;&amp;nbsp;&amp;nbsp; expires 1y; add_header Cache-Control "public";}&lt;/blockquote&gt;
&lt;br /&gt;
6. yang ga pake gzip bisa ikutin yg di git&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;table class="highlight tab-size js-file-line-container" data-tab-size="8"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="blob-code blob-code-inner js-file-line" id="LC17"&gt;&lt;span class="pl-k"&gt;location&lt;/span&gt; ~ &lt;span class="pl-sr"&gt;\.html$ &lt;/span&gt;{ &lt;span class="pl-k"&gt;perl&lt;/span&gt; Minify::html_handler; }&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class="highlight tab-size js-file-line-container" data-tab-size="8"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="blob-code blob-code-inner js-file-line" id="LC18"&gt;&lt;span class="pl-k"&gt;location&lt;/span&gt; ~ &lt;span class="pl-sr"&gt;\.css$  &lt;/span&gt;{ &lt;span class="pl-k"&gt;perl&lt;/span&gt; Minify::css_handler;  }&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span class="pl-k"&gt;location&lt;/span&gt; ~ &lt;span class="pl-sr"&gt;\.js$   &lt;/span&gt;{ &lt;span class="pl-k"&gt;perl&lt;/span&gt; Minify::js_handler;   }&lt;/blockquote&gt;
&amp;nbsp;7. buat folder perl di /etc/nginx&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
mkdir /etc/nginx/perl; ln -s /etc/nginx/perl /usr/share/nginx/perl&lt;/blockquote&gt;
8. masuk ke folder itu terus download Minify.pm nya&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
cd  /etc/nginx/perl; wget -c https://raw.githubusercontent.com/nginx-modules/nginx-minify/master/perl/Minify.pm&lt;/blockquote&gt;
9. test config dulu udah oke baru reload&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
nginx -t;&lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
service nginx reload&lt;/blockquote&gt;
&lt;br /&gt;
trus buka deh webnya liat js/css di server sama di browser&lt;br /&gt;
#CMIIW&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-good luck-&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/09/nginx-minify-css-js-html.html</link><author>noreply@blogger.com (root)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS4sFrVwTJcESe1Rn1MdOG2RuZ39UHOqFKXRWzzQeq8gCZDZti2MPZ_cLJBrvDMr9gfRFH6uKKQK4M6x5oReX1cVZujcwRaxzzr867LXGKUu2uX2JlKSyfxH8NCHhPxejNalQAa8KjX5qx/s72-c/2000px-Nginx_logo.svg.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-6144942851905684227</guid><pubDate>Mon, 19 Sep 2016 02:18:00 +0000</pubDate><atom:updated>2016-10-17T21:40:58.234+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">haproxy</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">ssl A+</category><title>SSL A+ HAProxy</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3T2JiWVJ-eHZ66fLSwyFBR3SruVi0BxJCBVsf95-7F-qSToKSs7yn-fufvr3oQSW2Y6PwbBiAjrFX7tHXNxaXT4Eh81bD_5F3Q_XjnCVSwTSXJB5S_spIeupGk6i4qdRBzEgXpupmFfo/s1600/haproxyAplus.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="183" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3T2JiWVJ-eHZ66fLSwyFBR3SruVi0BxJCBVsf95-7F-qSToKSs7yn-fufvr3oQSW2Y6PwbBiAjrFX7tHXNxaXT4Eh81bD_5F3Q_XjnCVSwTSXJB5S_spIeupGk6i4qdRBzEgXpupmFfo/s320/haproxyAplus.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
step 1: install haproxy&lt;br /&gt;
&lt;br /&gt;
Centos :&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
yum install haproxy&lt;/blockquote&gt;
Ubuntu :&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&amp;nbsp;apt-add-repository ppa:vbernat/haproxy-1.5;apt-get install haproxy&lt;/blockquote&gt;
&amp;nbsp;step 2: edit haproxy config&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&amp;nbsp;vim /etc/haproxy/haproxy.conf&lt;/blockquote&gt;
&amp;nbsp;step 3 : add this configuration for creating an A+ rating:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
global&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
ssl-default-bind-options no-sslv3 no-tls-tickets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
ssl-default-bind-ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
frontend https-in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
rspadd set-header Strict-Transport-Security max-age=31536000;\ includeSubdomains;\ preload&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
rspadd set-header X-Frame-Options DENY &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&amp;nbsp;http-response set-header X-Content-Type-Options nosniff&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
-good luck- &lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/09/ssl-haproxy_23.html</link><author>noreply@blogger.com (root)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3T2JiWVJ-eHZ66fLSwyFBR3SruVi0BxJCBVsf95-7F-qSToKSs7yn-fufvr3oQSW2Y6PwbBiAjrFX7tHXNxaXT4Eh81bD_5F3Q_XjnCVSwTSXJB5S_spIeupGk6i4qdRBzEgXpupmFfo/s72-c/haproxyAplus.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-1822647981236103908</guid><pubDate>Mon, 19 Sep 2016 02:06:00 +0000</pubDate><atom:updated>2016-10-17T21:41:22.821+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">centos</category><category domain="http://www.blogger.com/atom/ns#">haproxy</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">zero-down-time</category><title>Zero Downtime HAproxy Reload!!</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://www.datadoghq.com/wp-content/uploads/2015/04/Integrations-Haproxy-340x216.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="203" src="https://www.datadoghq.com/wp-content/uploads/2015/04/Integrations-Haproxy-340x216.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
simply trick for reload your haproxy without drop traffic with iptables (centos user)&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;br /&gt;
############################################&lt;br /&gt;
# R Farid N , 09 September 2016 04:04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;br /&gt;
# &amp;lt;farid_@msn.com&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;br /&gt;
# please use this trick for reload haproxy #&lt;br /&gt;
# for zero downtime or no drop current traffic#&lt;br /&gt;
############################################ &lt;br /&gt;
iptables -I INPUT -p tcp -m multiport --dports 80,443 --syn -j DROP&lt;br /&gt;
sleep 1&lt;br /&gt;
service haproxy restart&lt;br /&gt;
iptables -D INPUT -p tcp -m multiport --dports 80,443 --syn -j DROP&lt;/blockquote&gt;
save with name zero-downtime-haproxy.sh&lt;br /&gt;
chmod +x zero-downtime-haproxy.sh&lt;br /&gt;
&lt;br /&gt;
just do it&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCe1RlkavhCt03wwUr6wQYk0pnREcl8AjreD7se-FlHUYP13scHkGByKkET-vw4yTHiLqQtnSWEyPcGa2tHUI5o-SpRxdXp03R7eNdmPkZMvMFDdlpULvxMQll0dixXYhwMfxjLdDZ8F02/s1600/nodrop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCe1RlkavhCt03wwUr6wQYk0pnREcl8AjreD7se-FlHUYP13scHkGByKkET-vw4yTHiLqQtnSWEyPcGa2tHUI5o-SpRxdXp03R7eNdmPkZMvMFDdlpULvxMQll0dixXYhwMfxjLdDZ8F02/s320/nodrop.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
- good luck-&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/09/zero-downtime-haproxy-reload.html</link><author>noreply@blogger.com (root)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCe1RlkavhCt03wwUr6wQYk0pnREcl8AjreD7se-FlHUYP13scHkGByKkET-vw4yTHiLqQtnSWEyPcGa2tHUI5o-SpRxdXp03R7eNdmPkZMvMFDdlpULvxMQll0dixXYhwMfxjLdDZ8F02/s72-c/nodrop.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-2662675983385112800</guid><pubDate>Mon, 19 Sep 2016 00:12:00 +0000</pubDate><atom:updated>2016-09-19T07:15:35.531+07:00</atom:updated><title>Add Multiple Hosts in phpMyAdmin </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
step 1 : install phpmyadmin (fedora user)&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
yum install phpmyadmin -y&lt;/blockquote&gt;
&lt;br /&gt;
step 2 : edit&amp;nbsp; file /etc/phpMyAdmin/config.inc.php &lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
vim  /etc/phpMyAdmin/config.inc.php &lt;/blockquote&gt;
step 3 : Now add the following entries at the end of file.&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt; $i++;
 $cfg['Servers'][$i]['verbose'] = 'Database Server 2';
 $cfg['Servers'][$i]['host'] = '192.168.1.102';
 $cfg['Servers'][$i]['port'] = '';
 $cfg['Servers'][$i]['socket'] = '';
 $cfg['Servers'][$i]['connect_type'] = 'tcp';
 $cfg['Servers'][$i]['extension'] = 'mysqli';
 $cfg['Servers'][$i]['auth_type'] = 'cookie';
&lt;/pre&gt;
&lt;/blockquote&gt;
After adding the above entries in configuration file and access 
phpMyAdmin in web browser and you will get an option of server choice. 
Select server name to which you need to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtg8ipZ_I0bHk7oDF_T4Vdi-SdLjHRmu2_Yn5bYvxbfk-pM7whte4RyCB4xKO985LyLh99TSyZNDT9DCVwVXAnkJMiqbYj_VLxObwfO6DZkP1vgkao1BPUsDMNHD6m025tJiWfLAu22xiQ/s1600/phpmyadmin-multiplehosts.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtg8ipZ_I0bHk7oDF_T4Vdi-SdLjHRmu2_Yn5bYvxbfk-pM7whte4RyCB4xKO985LyLh99TSyZNDT9DCVwVXAnkJMiqbYj_VLxObwfO6DZkP1vgkao1BPUsDMNHD6m025tJiWfLAu22xiQ/s320/phpmyadmin-multiplehosts.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
or you can use this to not enter username and password&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre class="php geshifilter-php"&gt;&lt;span class="re0"&gt;$cfg&lt;/span&gt;&lt;span class="br0"&gt;[&lt;/span&gt;&lt;span class="st_h"&gt;'Servers'&lt;/span&gt;&lt;span class="br0"&gt;]&lt;/span&gt;&lt;span class="br0"&gt;[&lt;/span&gt;&lt;span class="re0"&gt;$i&lt;/span&gt;&lt;span class="br0"&gt;]&lt;/span&gt;&lt;span class="br0"&gt;[&lt;/span&gt;&lt;span class="st_h"&gt;'user'&lt;/span&gt;&lt;span class="br0"&gt;]&lt;/span&gt; &lt;span class="sy0"&gt;=&lt;/span&gt; &lt;span class="st_h"&gt;'YOURusername'&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;
&lt;span class="re0"&gt;$cfg&lt;/span&gt;&lt;span class="br0"&gt;[&lt;/span&gt;&lt;span class="st_h"&gt;'Servers'&lt;/span&gt;&lt;span class="br0"&gt;]&lt;/span&gt;&lt;span class="br0"&gt;[&lt;/span&gt;&lt;span class="re0"&gt;$i&lt;/span&gt;&lt;span class="br0"&gt;]&lt;/span&gt;&lt;span class="br0"&gt;[&lt;/span&gt;&lt;span class="st_h"&gt;'password'&lt;/span&gt;&lt;span class="br0"&gt;]&lt;/span&gt; &lt;span class="sy0"&gt;=&lt;/span&gt; &lt;span class="st_h"&gt;'YOURPASSWORD'&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
-good luck-&lt;br /&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/09/add-multiple-hosts-in-phpmyadmin.html</link><author>noreply@blogger.com (root)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtg8ipZ_I0bHk7oDF_T4Vdi-SdLjHRmu2_Yn5bYvxbfk-pM7whte4RyCB4xKO985LyLh99TSyZNDT9DCVwVXAnkJMiqbYj_VLxObwfO6DZkP1vgkao1BPUsDMNHD6m025tJiWfLAu22xiQ/s72-c/phpmyadmin-multiplehosts.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-1290772768516376145</guid><pubDate>Sat, 17 Sep 2016 19:32:00 +0000</pubDate><atom:updated>2016-09-18T03:13:27.786+07:00</atom:updated><title>Generate Letsencrypt Certificate CENTOS 5</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
problems that are often encountered when generate ssl certificate from letsencrypt&amp;nbsp; is openssl is too old, so it failed&lt;br /&gt;
&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span&gt;then&lt;/span&gt; &lt;span&gt;discovered&lt;/span&gt; &lt;span&gt;the latest technology&lt;/span&gt; &lt;span&gt;and&lt;/span&gt; &lt;span&gt;how&lt;/span&gt; &lt;span&gt;it&lt;/span&gt; &lt;span&gt;can&lt;/span&gt; &lt;span&gt;be used&lt;/span&gt; &lt;span&gt;for&lt;/span&gt; &lt;span&gt;CentOS&lt;/span&gt; &lt;span&gt;5&lt;/span&gt; &lt;span&gt;and the new.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;the simple way with&lt;/span&gt; &lt;span&gt;little&lt;/span&gt; &lt;span&gt;jutsu&lt;/span&gt; &lt;span&gt;"&lt;/span&gt;&lt;span&gt;sed&lt;/span&gt;&lt;span&gt;,&lt;/span&gt; &lt;span&gt;perl&lt;/span&gt;&lt;span&gt;,&lt;/span&gt; &lt;span&gt;and&lt;/span&gt; &lt;span&gt;openssl&lt;/span&gt;&lt;span&gt;"&lt;/span&gt;&lt;br /&gt;&lt;span&gt;lets&lt;/span&gt; &lt;span class=""&gt;begin&lt;/span&gt; &lt;span&gt;\&lt;/span&gt; &lt;span&gt;(&lt;/span&gt;&lt;span&gt;'&lt;/span&gt;&lt;span&gt;'&lt;/span&gt;&lt;span&gt;)&lt;/span&gt; &lt;span&gt;/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span&gt;setep 1: clone &lt;/span&gt;&lt;/span&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span&gt;repo letsencrypt.sh &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;git clone &lt;a class="external free" href="https://github.com/lukas2511/letsencrypt.sh" rel="nofollow" target="_blank"&gt;https://github.com/lukas2511/letsencrypt.sh&lt;/a&gt;&lt;/pre&gt;
&lt;br /&gt;
and change dir&lt;br /&gt;
&lt;pre&gt;cd letsencrypt.sh&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;step 2:&amp;nbsp; create&lt;/span&gt; &lt;span&gt;a virtual&lt;/span&gt; &lt;span&gt;folder&lt;/span&gt; &lt;span&gt;for&lt;/span&gt; &lt;span&gt;verification&lt;/span&gt; &lt;span&gt;of&lt;/span&gt; &lt;span&gt;acme&lt;/span&gt; &lt;span&gt;server&lt;/span&gt; &lt;span&gt;(&lt;/span&gt;&lt;span&gt;on&lt;/span&gt; &lt;span class=""&gt;a domain server&lt;/span&gt; &lt;span&gt;that&lt;/span&gt; &lt;span class=""&gt;would be made&lt;/span&gt; &lt;span class=""&gt;ssl&lt;/span&gt;&lt;span&gt;) httpd user like this&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;div class="line number1 index0 alt2"&gt;
&lt;code class="plain plain"&gt;Alias /.well-known/acme-challenge /var/www/letsencrypt&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number2 index1 alt1"&gt;
&lt;code class="plain plain"&gt;&amp;lt;Directory /var/www/letsencrypt/&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="plain plain"&gt;&amp;lt;/Directory&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="plain plain"&gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="plain plain"&gt;/var/www or /var/www/html , &lt;/code&gt;&lt;code class="plain plain"&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;whatever&lt;/span&gt;&lt;span class=""&gt;, adjust to&lt;/span&gt; &lt;span&gt;your&lt;/span&gt; &lt;span class=""&gt;DocumentRoot&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="plain plain"&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;restart httpd&amp;nbsp; &amp;amp; test &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;code&gt;service httpd restart&lt;/code&gt; &lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;code class="plain plain"&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;/span&gt;&lt;/span&gt;http://yourdomain.com/.well-known/acme-challenge/&lt;/code&gt;&lt;/div&gt;
&lt;div class="line number3 index2 alt2"&gt;
&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;step 3:&amp;nbsp; create file &lt;/span&gt;&lt;/span&gt;&lt;b&gt;config.sh &lt;/b&gt;like this&lt;br /&gt;
&lt;pre&gt;WELLKNOWN="/var/www/letsencrypt"&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp; &lt;/pre&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;step 4:&amp;nbsp; create file &lt;/span&gt;&lt;/span&gt;&lt;b&gt;domains.txt &lt;/b&gt;and put your domain in here&lt;br /&gt;
&lt;pre&gt;yourdomain.com&lt;/pre&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;use space for multiple domain names&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;yourdomain.com blog.yourdomain.com &lt;/pre&gt;
&amp;nbsp;remember response 200 to&lt;br /&gt;
&lt;code class="plain plain"&gt;http://yourdomain.com/.well-known/acme-challenge/&lt;/code&gt;&lt;br /&gt;
&lt;code class="plain plain"&gt;&lt;code class="plain plain"&gt;http://blog.yourdomain.com/.well-known/acme-challenge/&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;step 5:&amp;nbsp; GENERATE !!!!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;./letsencrypt.sh --config config.sh --cron&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;step 6:&amp;nbsp; check certificate, &amp;amp; copy&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;ls certs/domain.com&lt;/pre&gt;
&lt;pre&gt;cp -r certs /etc/pki&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;step 7:&amp;nbsp; enable in ssl.conf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;SSLCertificateFile /etc/pki/certs/domain.com/fullchain.pem
SSLCertificateKeyFile /etc/pki/certs/domain.com/privkey.pem
SSLCertificateChainFile /etc/pki/certs/domain.com/chain.pe&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;step 8:&amp;nbsp; crontab every day&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;@daily /etc/pki/letsencrypt.sh --config /etc/pki/config.sh --cron &amp;gt; /var/log/letsencrypt/renew.log&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;TIPS OF THE DAY!!!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;copy all files like &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;letsencrypt.sh domains.txt config.sh to &lt;/span&gt;&lt;/span&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;/etc/pki/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;b&gt;&lt;span class="short_text" id="result_box" lang="en"&gt;&lt;span&gt;for&lt;/span&gt; &lt;span class=""&gt;a better future&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;b&gt;&lt;span class="short_text" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;a href="http://blog.osakana.net/archives/6798" target="_blank"&gt;source&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;code class="plain plain"&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/09/generate-letsencrypt-certificate-centos.html</link><author>noreply@blogger.com (root)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-6901521469264038902</guid><pubDate>Sat, 17 Sep 2016 19:32:00 +0000</pubDate><atom:updated>2016-09-18T02:33:19.389+07:00</atom:updated><title>basic http authentication Solr 5.X?</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
step 1 : setting solr listen in localhost&lt;br /&gt;
&lt;br /&gt;
edit jetty-http.xml in server/etc/jetty-http.xml&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
&lt;pre&gt;&lt;code&gt; default="localhost"&lt;/code&gt;&lt;/pre&gt;
after like this&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;Set name="host"&amp;gt;&amp;lt;Property name="jetty.host" default="localhost"/&amp;gt;&amp;lt;/Set&amp;gt; &lt;/code&gt;&lt;/pre&gt;
restart your solr&lt;br /&gt;
&lt;br /&gt;
step 2 :&amp;nbsp; install nginx, create file /etc/nginx/conf.d/solr.conf that looks like this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;server
{
  #This is the external port
  listen 8000;

  # Disable proxy buffering because it was causing problems
  proxy_buffering off;

  # All other urls expect admin permission
  location / {
    # Make sure to add new users to htpasswd!
    auth_basic "Private";
    auth_basic_user_file /etc/nginx/htpasswd;
    proxy_pass http://localhost:8983;
  }
}&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;step 3. install httpd-tools &lt;/code&gt;&lt;b&gt;&lt;code&gt;yum install httpd-tools &lt;/code&gt;&lt;/b&gt;&lt;code&gt;Create the user/passwd like this:&lt;/code&gt;&lt;b&gt;&lt;code&gt; &lt;/code&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;code&gt;sudo htpasswd -c /etc/nginx/htpasswd yourusernamehere&lt;/code&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;code&gt;or you can use tools &lt;a href="http://www.htaccesstools.com/htpasswd-generator/" target="_blank"&gt;generator&lt;/a&gt;&amp;nbsp;&lt;/code&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;step 4. restart nginx and&lt;/code&gt;&lt;code&gt; &lt;/code&gt;&lt;code&gt;open http://YOURIP:8000 &lt;/code&gt; &lt;/pre&gt;
&lt;pre&gt;If you enter it correctly, you should see the Solr admin panel &lt;b&gt;VIOLLA!&lt;/b&gt;&lt;/pre&gt;
&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt; &lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2016/09/basic-http-authentication-solr-5x.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-5409707213492010696</guid><pubDate>Thu, 23 Jul 2015 11:26:00 +0000</pubDate><atom:updated>2015-08-06T11:45:57.985+07:00</atom:updated><title>[FIX] Access denied; you need (at least one of) the SUPER privilege(s) for this operation [ AMAZON RDS ]</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
mysqldump generate trigger&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
DELIMITER ;;&lt;br /&gt;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`%`*/ /*!50003 TRIGGER `after_insert_lead` AFTER INSERT ON `leads` FOR EACH ROW BEGIN&lt;br /&gt;
UPDATE analytics.mapping SET id_lead = NEW.id_lead WHERE mc_email = NEW.email;&lt;br /&gt;
END */;;&lt;br /&gt;
DELIMITER ; &lt;/blockquote&gt;
find him!!!!&lt;br /&gt;
&lt;br /&gt;
cat yourDB | grep DEFINER= | less&lt;br /&gt;
&lt;br /&gt;
so finish HIM!! remove DEFINER&lt;br /&gt;
&lt;code&gt;  &lt;/code&gt;just do it&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;perl -pe 's/\sDEFINER=`[^`]+`@`[^`]+`//' &amp;lt; oldfile.sql &amp;gt; newfile.sql&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;or with source&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;mysql &amp;gt; source /path/your/file.sql&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;a href="http://serverfault.com/questions/555953/first-attempt-to-migrate-ec2-mysql-to-amazon-rds-no-going-well-super-privilege" target="_blank"&gt;source&lt;/a&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;a href="https://www.percona.com/blog/2014/07/02/using-mysql-triggers-and-views-in-amazon-rds/" target="_blank"&gt;source2&lt;/a&gt; &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2015/07/fix-access-denied-you-need-at-least-one.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-4177802361539039404</guid><pubDate>Tue, 21 Jul 2015 05:00:00 +0000</pubDate><atom:updated>2015-07-21T12:00:30.543+07:00</atom:updated><title>solr loging</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
mkdir /var/log/solr&lt;br /&gt;
chown tomcat /var/log/solr &lt;br /&gt;
&lt;br /&gt;
cd solr-4.9.0/example/lib/ext/&lt;br /&gt;
&lt;br /&gt;
cp * /usr/share/tomcat6/lib&lt;br /&gt;
cp * /usr/share/tomcat6/webapps/solr/WEB-INF/lib/&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
cd slf4j-1.7.12/&lt;br /&gt;
&lt;br /&gt;
cp slf4j-api-1.7.12.jar&amp;nbsp; /usr/share/tomcat/lib/&lt;br /&gt;
cp slf4j-api-1.7.12.jar /usr/share/tomcat6/webapps/solr/WEB-INF/lib/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cp slf4j-log4j12-1.7.12.jar  /usr/share/tomcat/lib/&lt;br /&gt;
cp slf4j-log4j12-1.7.12.jar /usr/share/tomcat6/webapps/solr/WEB-INF/lib/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;mkdir /usr/share/tomcat6/webapps/solr/WEB-INF/classes&lt;br /&gt;
chown -R tomcat /usr/share/tomcat6/webapps/solr/WEB-INF/classes &lt;br /&gt;
&lt;br /&gt;
Create a log4j.properties in this folder with the following sample content&lt;br /&gt;
&lt;br /&gt;

log4j.rootLogger=WARN, solrLog&lt;br /&gt;
log4j.appender.solrLog=org.apache.log4j.DailyRollingFileAppender&lt;br /&gt;
log4j.appender.solrLog.File=/var/log/solr/solr.log&lt;br /&gt;
log4j.appender.solrLog.Append=true&lt;br /&gt;
log4j.appender.solrLog.Encoding=UTF-8&lt;br /&gt;
log4j.appender.solrLog.DatePattern=’-‘yyyy-MM-dd&lt;br /&gt;
log4j.appender.solrLog.layout=org.apache.log4j.PatternLayout&lt;br /&gt;
log4j.appender.solrLog.layout.ConversionPattern=%d [%t] %-5p %c – %m%n&lt;br /&gt;
log4j.logger.org.apache.solr=INFO&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
service tomcat restart&lt;br /&gt;

Now you will find a solr.log inside/var/log/solr/&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;a href="http://ralf.schaeftlein.de/2012/11/02/configure-logging-in-solr/" target="_blank"&gt;source1&lt;/a&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;a href="https://ctors.net/2014/02/07/solr4_tomcat7_debian7" target="_blank"&gt;source2&lt;/a&gt; &lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2015/07/solr-loging.html</link><author>noreply@blogger.com (root)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-3359917051955222573</guid><pubDate>Mon, 20 Jul 2015 08:47:00 +0000</pubDate><atom:updated>2015-07-20T15:47:46.597+07:00</atom:updated><title>solr 4 data import handle configuration {mysql}</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;h1 class="sectionedit2" id="preparation" style="clear: left; color: #333333; line-height: 1.2; margin: 0px 0px 0.444em; padding: 0px; position: relative;"&gt;
&lt;span style="background-color: transparent;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif; font-size: large;"&gt;Set-Up&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 class="sectionedit2" id="preparation" style="clear: left; color: #333333; line-height: 1.2; margin: 0px 0px 0.444em; padding: 0px; position: relative;"&gt;
&lt;span style="background-color: transparent;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif; font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;ul style="background-color: transparent; color: #333333; font-size: 14px; line-height: 19px; list-style: square outside; margin: 0px 0px 1.4em; padding: 0px 0px 0px 1.5em;"&gt;
&lt;li class="level1" style="color: #999999; margin: 0px 0px 0px 1.5em; padding: 0px;"&gt;&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;Firstly we need the libraries that are required to use Data Import Handler.&lt;/span&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;setings env library in &lt;a href="http://denzfarid.blogspot.com/2015/07/solr-requesthandler-init-failure.html" target="_blank"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;install mysql-connector-java&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;yum install mysql-connector-java.noarch&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;nbsp; &lt;/span&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;Add this to the &lt;u&gt;&lt;b&gt;solrconfig.xml&lt;/b&gt;&lt;/u&gt; file:&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;lib dir="../../../contrib/dataimporthandler/lib/" regex=".*\.jar" /&amp;gt;
&amp;lt;lib dir="../../../dist/" regex="apache-solr-dataimporthandler-\d.*\.jar" /&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;nbsp;make sure&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;ls ../../../contrib/dataimporthandler/lib/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;activation-1.1.1.jar&amp;nbsp; mail-1.4.3.jar&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;&lt;ul style="background-color: transparent; color: #333333; font-size: 14px; line-height: 19px; list-style: square outside; margin: 0px 0px 1.4em; padding: 0px 0px 0px 1.5em;"&gt;
&lt;li class="level1" style="color: #999999; margin: 0px 0px 0px 1.5em; padding: 0px;"&gt;&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;Now we modify the &lt;u&gt;&lt;b&gt;solrconfig.xml&lt;/b&gt;&lt;/u&gt; file. Add the following :&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;!-- REQUEST HANDLER FOR DATAIMPORTHANDLER --&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;lst name="defaults"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;str name="config"&amp;gt;mysql-config.xml&amp;lt;/str&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/lst&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/requestHandler&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;create file mysql-config.xml &lt;/span&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;This is for the Data Import Handler configuration. It should look similar to:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="code xml" style="background-color: #fbfaf9; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; border-top-left-radius: 2px; border-top-right-radius: 2px; border: 1px solid rgb(204, 204, 204); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; color: #333333; direction: ltr; font-size: 14px; line-height: 19px; margin-bottom: 1.4em; overflow: auto; padding: 0.7em 1em; word-wrap: normal;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;dataConfig&lt;span class="re2"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;dataSource type="JdbcDataSource"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;driver&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"com.mysql.jdbc.Driver"&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re0" style="color: blue;"&gt;url&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"jdbc:mysql://HOST/mydb"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;user&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"users"&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re0" style="color: blue;"&gt;password&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"secret"&lt;/span&gt; &lt;span class="re2" style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;document&lt;span class="re2"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;entity&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"user"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;query&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"SELECT id, name from &lt;/span&gt;&lt;span class="sc3"&gt;&lt;span style="color: red;"&gt;users&lt;/span&gt;"&lt;/span&gt;&lt;span class="re2" style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;field&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;column&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"id"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"id"&lt;/span&gt; &lt;span class="re2" style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;field&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;column&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"name"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"name"&lt;/span&gt; &lt;span class="re2" style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;entity&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"birthday"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;query&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"select birthday from &lt;/span&gt;&lt;span class="sc3" style="color: red;"&gt;table where id=${user.id}"&lt;/span&gt;&lt;span class="re2" style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;field&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;column&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"description"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"description"&lt;/span&gt; &lt;span class="re2" style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;/entity&lt;span class="re2"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;/entity&lt;span class="re2"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;/document&lt;span class="re2"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;/dataConfig&lt;span class="re2"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;/dataConfig&lt;span class="re2"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style="background-color: transparent; color: #333333; font-size: 14px; line-height: 19px; list-style: square outside; margin: 0px 0px 1.4em; padding: 0px 0px 0px 1.5em;"&gt;
&lt;li class="level1" style="color: #999999; margin: 0px 0px 0px 1.5em; padding: 0px;"&gt;&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;For other database engines enter the specific driver, url, user and password attributes.&lt;/span&gt;&lt;/div&gt;
&lt;div class="li" style="color: #333333; margin: 0px; padding: 0px;"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;We now need to modify the fields section of the &lt;b&gt;&lt;u&gt;schema.xml&lt;/u&gt;&lt;/b&gt; file to something like the following snippet:&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&lt;span class="re2"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="level1" style="color: #999999; margin: 0px 0px 0px 1.5em; padding: 0px;"&gt;&lt;pre class="code xml" style="background-color: #fbfaf9; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; border-top-left-radius: 2px; border-top-right-radius: 2px; border: 1px solid rgb(204, 204, 204); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; color: #333333; direction: ltr; font-size: 14px; line-height: 19px; margin-bottom: 1.4em; overflow: auto; padding: 0.7em 1em; word-wrap: normal;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;field&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"id"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;type&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"string"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;indexed&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;stored&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re0" style="color: blue;"&gt;required&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt;&lt;span class="re2" style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;field&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"name"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;type&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"text"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;indexed&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;stored&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt; &lt;span class="re2" style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;field&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"birthday"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;type&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"text"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;indexed&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;stored&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt;&lt;span class="re2" style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&amp;lt;field&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;name&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"description"&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;type&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;""&lt;/span&gt; &lt;span class="re0" style="color: blue;"&gt;indexed&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt;&lt;/span&gt;
&lt;span class="sc3"&gt;&lt;span class="re0" style="color: blue;"&gt;stored&lt;/span&gt;=&lt;span class="st0" style="color: red;"&gt;"true"&lt;/span&gt;&lt;span class="re2" style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code xml" style="background-color: #fbfaf9; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; border-top-left-radius: 2px; border-top-right-radius: 2px; border: 1px solid rgb(204, 204, 204); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; color: #333333; direction: ltr; font-size: 14px; line-height: 19px; margin-bottom: 1.4em; overflow: auto; padding: 0.7em 1em; word-wrap: normal;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;span class="sc3"&gt;&lt;span class="re2" style="color: blue;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt; &lt;a href="http://localhost:8983/solr/dataimport?command=full-import" target="_blank"&gt;http://localhost:8080/solr/dataimport?command=full-import&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code xml" style="background-color: #fbfaf9; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; border-top-left-radius: 2px; border-top-right-radius: 2px; border: 1px solid rgb(204, 204, 204); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; color: #333333; direction: ltr; font-size: 14px; line-height: 19px; margin-bottom: 1.4em; overflow: auto; padding: 0.7em 1em; word-wrap: normal;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;span class="sc3"&gt;&lt;span class="re2" style="color: blue;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;nbsp;&lt;a href="http://amac4.blogspot.com/2013/08/configuring-solr-4-data-import-handler.html" target="_blank"&gt;source&amp;nbsp;&lt;/a&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;span class="sc3"&gt;&lt;span class="re1" style="color: blue;"&gt;&lt;span class="re2"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2015/07/solr-4-data-import-handle-configuration.html</link><author>noreply@blogger.com (root)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-8774869445947366898</guid><pubDate>Mon, 20 Jul 2015 08:31:00 +0000</pubDate><atom:updated>2015-07-20T15:59:38.303+07:00</atom:updated><title>solr RequestHandler init failure</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://i.stack.imgur.com/euw6e.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://i.stack.imgur.com/euw6e.png" height="74" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
analyze&amp;nbsp; :&amp;nbsp; solr-dataimporthandler-*.jar not in lib dir&lt;br /&gt;
error : solr RequestHandler init failure&lt;br /&gt;
fix : copy file solr-dataimporthandler in root solr directory egg:&lt;br /&gt;
cd solr-4.9.0/dist&lt;br /&gt;
&lt;br /&gt;
cp *.jar /usr/share/tomcat6/webapps/solr/WEB-INF/lib/&lt;br /&gt;
&lt;br /&gt;
choose N(No) if overwrite&lt;br /&gt;
&lt;br /&gt;
restart tomcat6&lt;br /&gt;
&lt;br /&gt;
violaa :D&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201302.mbox/%3CCA+Pv6rnrdZiBT93is6Zpe-eceqh1irXFHsgq+hRtpKyL=AU5HA@mail.gmail.com%3E" target="_blank"&gt;source&lt;/a&gt;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2015/07/solr-requesthandler-init-failure.html</link><author>noreply@blogger.com (root)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-3884014838946613459</guid><pubDate>Wed, 15 Jul 2015 10:01:00 +0000</pubDate><atom:updated>2015-07-15T17:24:52.742+07:00</atom:updated><title>install activemq with selinux centos and Solr </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
First things first, install the Puppet Labs repository:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;pre&gt;&lt;code&gt;rpm -Uvh http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-5.noarch.rpm&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;code&gt;&lt;code&gt;&lt;span class="crayon-v" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 45, 122) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;yum&lt;/span&gt;&lt;span class="crayon-h" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 111, 224) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 111, 224) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: black; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;y&lt;/span&gt;&lt;span class="crayon-h" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 111, 224) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt; &lt;/span&gt;&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;install &lt;/span&gt;&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;tomcat6 &lt;/span&gt;&lt;span class="crayon-v" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 45, 122) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 111, 224) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;-&lt;/span&gt;&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;webapps &lt;/span&gt;&lt;span class="crayon-v" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 45, 122) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 111, 224) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 45, 122) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;admin&lt;/span&gt;&lt;span class="crayon-o" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 111, 224) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;-&lt;/span&gt;&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;webapps&lt;/span&gt; httpd java java-1.6.0-openjdk&lt;/code&gt; activemq&lt;/code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;or you can download jdk and jre in http://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;download rpm file and install with yum localinstall&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;code&gt;service activemq restart&lt;/code&gt;&lt;/blockquote&gt;
&amp;nbsp;Selinux for activemq&lt;br /&gt;
&lt;br /&gt;
allow port&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;span class="crayon-p"&gt;semanage port -l | grep '^http_port_t'&lt;/span&gt;&lt;br /&gt;
&lt;span class="crayon-p"&gt;&lt;span class="crayon-p"&gt;semanage port -a -t http_port_t -p tcp 8161&lt;/span&gt;&lt;/span&gt; &lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;span class="crayon-p"&gt;service httpd start&lt;/span&gt; &lt;/blockquote&gt;
add in /etc/httpd/conf/httpd.conf &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
NameVirtualHost *:80&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
ProxyPreserveHost On&lt;br /&gt;
ProxyRequests Off&lt;br /&gt;
ServerName YOURDOMAIN&lt;br /&gt;
ServerAlias YOURDOMAIN&lt;br /&gt;
ProxyPass / http://127.0.0.1:8161/admin/&lt;br /&gt;
ProxyPassReverse / http://127.0.0.1/:8161/admin/&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;/blockquote&gt;
&lt;br /&gt;
&amp;nbsp;Install solr&lt;br /&gt;
&lt;br /&gt;
&lt;span style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; display: inline !important; float: none; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;Now you have to set up a manager role for Tomcat to be able to administrate the instance:&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d7fdb399026167" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;br class="Apple-interchange-newline" /&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 37px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7fdb399026167-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7fdb399026167-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;vi&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;etc&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;users&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.xml&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Edit the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;/etc/tomcat6/tomcat-users.xml&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;file and add the following lines between the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;&lt;/i&gt;line while replacing&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;YourUserName&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;and&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;YourSecretPassword&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;with your own values:&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d7fe4580285096" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;INI&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 73px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7fe4580285096-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d7fe4580285096-2" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
2&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7fe4580285096-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
3&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7fe4580285096-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;role&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;rolename&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;=&lt;/span&gt;&lt;span class="crayon-s" style="color: rgb(0, 128, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;"manager"&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d7fe4580285096-2" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;role&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;rolename&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;=&lt;/span&gt;&lt;span class="crayon-s" style="color: rgb(0, 128, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;"admin"&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7fe4580285096-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;user&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;username&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;=&lt;/span&gt;&lt;span class="crayon-s" style="color: rgb(0, 128, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;"YourUserName"&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;password&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;=&lt;/span&gt;&lt;span class="crayon-s" style="color: rgb(0, 128, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;"YourSecretPassword"&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;roles&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;=&lt;/span&gt;&lt;span class="crayon-s" style="color: rgb(0, 128, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;"manager,admin"&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br class="Apple-interchange-newline" /&gt;
&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7fe4580285096-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h5 style="-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: 'Roboto Slab'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 700; letter-spacing: normal; line-height: 1.3; margin: 12.5px 0px; orphans: auto; text-align: start; text-indent: 0px; text-rendering: optimizeLegibility; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Installing Apache Commons Loggins&lt;/h5&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Download Apache Commons Logging (&lt;b style="font-weight: bold;"&gt;Binaries&lt;/b&gt;) from&lt;a href="http://commons.apache.org/proper/commons-logging/download_logging.cgi" style="-webkit-transition: all 0.3s; color: #333333; text-decoration: none; transition: all 0.3s;" target="_blank" title="Apache Commons Logging"&gt;http://commons.apache.org/proper/commons-logging/download_logging.cgi&lt;/a&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;to your directory of choice (e.g. your home directory) and copy them to your&lt;i style="font-style: italic;"&gt;/usr/share/tomcat6/lib&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;directoy:&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d7ff4920664846" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 109px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7ff4920664846-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d7ff4920664846-2" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
2&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7ff4920664846-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
3&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d7ff4920664846-4" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
4&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7ff4920664846-5" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
5&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 696px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7ff4920664846-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cd&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;home&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d7ff4920664846-2" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;wget &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;http&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;:&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;mirror&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.metrocast&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.net&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;apache&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;commons&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;logging&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;binaries&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;commons&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;logging&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;1.1.3&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;bin&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.tar&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.gz&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7ff4920664846-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tar &lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;zxf &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;commons&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;logging&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;1.1.3&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;bin&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.tar&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.gz&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d7ff4920664846-4" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cd&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;commons&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;logging&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;1.1.3&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;bin&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7ff4920664846-5" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cp&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;commons&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;logging&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;*&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.jar&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;usr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;share&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;lib&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7fe4580285096-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;br /&gt;
&lt;h5 style="-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: 'Roboto Slab'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 700; letter-spacing: normal; line-height: 1.3; margin: 12.5px 0px; orphans: auto; text-align: start; text-indent: 0px; text-rendering: optimizeLegibility; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Installing Simple Logging Facade for Java (SLF4J)&lt;/h5&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Download SLF4J from&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://www.slf4j.org/" style="-webkit-transition: all 0.3s; color: #333333; text-decoration: none; transition: all 0.3s;" target="_blank" title="Simple Logging Facade for Java (SLF4J)"&gt;http://www.slf4j.org/&lt;/a&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;to your directory of choice (e.g. your home directory) and also copy them to your&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;/usr/share/tomcat6/lib&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;directoy. Please note that you have to exclude (or remove after copy) a couple of Android files (slf4j-android-1.7.7.jar and slf4j-android-1.7.7-sources.jar), otherwise your Tomcat server won’t start!&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d7ffd548440121" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 127px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7ffd548440121-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d7ffd548440121-2" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
2&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7ffd548440121-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
3&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d7ffd548440121-4" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
4&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d7ffd548440121-5" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
5&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d7ffd548440121-6" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
6&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 738px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7ffd548440121-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cd&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;home&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d7ffd548440121-2" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;wget &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;http&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;:&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;www&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.slf4j&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.org&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;dist&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;slf4j&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;1.7.7.tar.gz&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7ffd548440121-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tar &lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;zxf &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;slf4j&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;1.7.7.tar.gz&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d7ffd548440121-4" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cd&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;slf4j&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;1.7.7&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d7ffd548440121-5" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cp&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;slf4j&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;*&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.jar&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;usr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;share&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;lib&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d7ffd548440121-6" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;rm&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;usr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;share&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;lib&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;slf4j&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;android&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;1.7.7.jar&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;usr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;share&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;lib&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;slf4j&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;android&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;1.7.7&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;sources&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.jar&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br class="Apple-interchange-newline" /&gt;
&lt;h5 style="-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: 'Roboto Slab'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 700; letter-spacing: normal; line-height: 1.3; margin: 12.5px 0px; orphans: auto; text-align: start; text-indent: 0px; text-rendering: optimizeLegibility; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Installing Apache Solr&lt;/h5&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Download Apache Solr from&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://lucene.apache.org/solr/downloads.html" style="-webkit-transition: all 0.3s; color: #333333; text-decoration: none; transition: all 0.3s;" target="_blank" title="Apache Solr"&gt;http://lucene.apache.org/solr/downloads.html&lt;/a&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;to your directory of choice (e.g. your home directory) and uncompress your archive:&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d8006165080090" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 91px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d8006165080090-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d8006165080090-2" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
2&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d8006165080090-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
3&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d8006165080090-4" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
4&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d8006165080090-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cd&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;home&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d8006165080090-2" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;wget &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;http&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;:&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;www&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.carfab&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.com&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;apachesoftware&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;lucene&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;4.9.0&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;4.9.0.tgz&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d8006165080090-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tar &lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;zxf &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;4.9.0.tgz&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d8006165080090-4" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cd&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;4.9.0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Copy and rename the included Solr&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;solr.war&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;to your Tomcat apps folder (please note, that we are in the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;/home/solr-4.9.0/&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;directory):&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d800e494730643" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 37px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d800e494730643-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d800e494730643-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cp&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;dist&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;4.9.0.war&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;usr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;share&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;webapps&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.war&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Now you have to create a folder where Solr stores all its files for your index. You are free to set this directory outside from your solr web-apps directory. I recommend you to edit the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;schema.xml&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;file because Solr comes along with some predefined example structures which may result in unused overhead if you leave this file untouched. In my case I’ve created the solr folder in&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;/var/www/&lt;/i&gt;:&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d8017357077926" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 73px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d8017357077926-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d8017357077926-2" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
2&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d8017357077926-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
3&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d8017357077926-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;mkdir&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-t" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;var&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;www&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d8017357077926-2" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;cp&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;R&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;home&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-cn" style="color: rgb(206, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;4.9.0&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;example&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;*&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-t" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;var&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;www&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d8017357077926-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;chown&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;R&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-t" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;var&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;www&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
You can find the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;schema.xml&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;in the default collection directory:&lt;i style="font-style: italic;"&gt;/var/www/solr/collection1/conf/&lt;/i&gt;.&lt;/div&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Time to restart your Tomcat server!&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d801f428197685" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 37px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d801f428197685-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d801f428197685-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;service &lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6 &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;restart&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Once your Tomcat server restarted it unpacked the solr.war file mentioned above. You finally have to edit the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;i style="font-style: italic;"&gt;web.xml&lt;/i&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;file to get Solr running:&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d8027324019216" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 37px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d8027324019216-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d8027324019216-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-r" style="color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;vi&lt;/span&gt;&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt; &lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;usr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;share&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;webapps&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;WEB&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;INF&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;web&lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.xml&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Look for the following code and edit it with your Solr home directory (in my example: /var/www/solr). Don’t forget to remove the comment markers!&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d802f347936746" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;INI&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 109px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d802f347936746-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d802f347936746-2" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
2&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d802f347936746-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
3&lt;/div&gt;
&lt;div class="crayon-num crayon-striped-num" data-line="crayon-55a62af4d802f347936746-4" style="background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
4&lt;/div&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d802f347936746-5" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
5&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d802f347936746-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;env&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;entry&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d802f347936746-2" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;env&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;entry&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;name&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;home&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;env&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;entry&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;name&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d802f347936746-3" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;env&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;entry&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;value&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;var&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;www&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;solr&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;env&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;entry&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;value&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line crayon-striped-line" id="crayon-55a62af4d802f347936746-4" style="background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-h" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;env&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;entry&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;type&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;java&lt;/span&gt;&lt;span class="crayon-sy" style="color: rgb(51, 51, 51) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;lang&lt;/span&gt;&lt;span class="crayon-sy" style="color: rgb(51, 51, 51) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;.&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;String&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;env&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;entry&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;type&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d802f347936746-5" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;/&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;env&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;-&lt;/span&gt;&lt;span class="crayon-i" style="color: rgb(0, 0, 0) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;entry&lt;/span&gt;&lt;span class="crayon-o" style="color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="-webkit-text-stroke-width: 0px; background-color: white; color: #666666; font-family: Roboto; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; margin: 0px 0px 12.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
Another restart of Tomcat and you’re almost done!&lt;/div&gt;
&lt;div class="crayon-syntax crayon-theme-classic crayon-font-monospace crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-55a62af4d8038728205083" style="-webkit-text-stroke-width: 0px; background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #666666; direction: ltr !important; font-family: Monaco, MonacoRegular, 'Courier New', monospace; font-size: 12px !important; font-style: normal; font-variant: normal; font-weight: 500; height: auto; letter-spacing: normal; line-height: 18px !important; margin: 12px 0px; orphans: auto; overflow: hidden !important; padding: 0px; position: relative !important; text-align: left; text-indent: 0px; text-shadow: none !important; text-transform: none; white-space: normal; widows: 1; width: 620px; word-spacing: 0px;"&gt;
&lt;div class="crayon-toolbar" data-settings=" show" style="background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: monospace !important; font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 4;"&gt;
&lt;span class="crayon-title" style="color: rgb(51, 51, 51) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="crayon-tools" style="background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-size: 12px !important; font-weight: inherit !important; height: 18px !important; line-height: 18px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; text-align: left;"&gt;
&lt;span class="crayon-language" style="color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important;"&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; font-family: monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important; text-align: left;"&gt;
&lt;textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-webkit-appearance: none; -webkit-box-shadow: none; -webkit-transition: border 0.2s linear; background: rgb(255, 255, 255); border-radius: 0px; border: 0px; box-shadow: none; box-sizing: border-box; color: black; cursor: not-allowed; display: inline-block; font-family: monospace !important; font-size: 12px !important; height: 37px; line-height: 18px !important; margin: 0px; opacity: 0; outline: none !important; overflow: hidden; padding: 0px 5px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear; vertical-align: middle; white-space: pre; width: 618px; word-wrap: normal; z-index: 0;" wrap="soft"&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class="crayon-main" style="background: 0px 50%; border: 0px; font-family: monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; text-align: left; width: 618px; z-index: 1;"&gt;
&lt;table class="crayon-table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; font-family: monospace !important; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; padding: 0px !important; table-layout: auto !important; width: auto !important;"&gt;&lt;tbody style="font-family: monospace !important;"&gt;
&lt;tr class="crayon-row" style="background: 0px 50%; border: none !important; font-family: monospace !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"&gt;&lt;td class="crayon-nums " data-settings="show" style="background: rgb(223, 239, 255) !important; border: 0px; color: rgb(84, 153, 222) !important; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important;"&gt;&lt;div class="crayon-nums-content" style="background: 0px 50%; border: 0px; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; padding: 0px; text-align: left; white-space: nowrap;"&gt;
&lt;div class="crayon-num" data-line="crayon-55a62af4d8038728205083-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;"&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class="crayon-code" style="background: 0px 50%; border: 0px; font-family: monospace !important; line-height: 25px; margin: 0px !important; padding: 0px !important; text-align: left; vertical-align: top !important; width: 601px;"&gt;&lt;div class="crayon-pre" style="background: none !important; border: none !important; color: black; font-family: monospace !important; font-size: 12px !important; line-height: 18px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; text-align: left; white-space: pre;"&gt;
&lt;div class="crayon-line" id="crayon-55a62af4d8038728205083-1" style="background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: left;"&gt;
&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;service &lt;/span&gt;&lt;span class="crayon-e" style="color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;tomcat6 &lt;/span&gt;&lt;span class="crayon-v" style="color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"&gt;start&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;&amp;nbsp;&lt;a href="http://www.devplumber.com/2014/06/30/howto-install-apache-solr-with-tomcat-6-on-centos-6-linux/" target="_blank"&gt;source solr&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;&lt;a href="http://www.aeg0.com/2012/09/22/installing-mcollective-2-dot-2-0-on-centos-6/" target="_blank"&gt;source activemq&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;&lt;a href="http://tmielke.blogspot.com/2011/12/securing-activemq-web-console-using.html" target="_blank"&gt;source activemq with passwd&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;&lt;a href="http://stackoverflow.com/questions/21705899/how-to-change-password-admin-user-activemq-5-9-new-web-console" target="_blank"&gt;source discus activemq with passwd&amp;nbsp;&lt;/a&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;&lt;a href="http://www.tokiwinter.com/selinux-allowing-httpd-to-listen-on-non-standard-ports/" target="_blank"&gt;source selinux&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="crayon-e" style="-webkit-text-stroke-width: 0px; background-color: #fdfdfd; color: rgb(0, 78, 208) !important; font-family: monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 500; height: inherit; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 1; word-spacing: 0px;"&gt;&lt;a href="http://serverfault.com/questions/563872/selinux-allow-httpd-to-connect-to-a-specific-port" target="_blank"&gt;source selinux serverfault &lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://tecadmin.net/install-apache-activemq-on-centos-redhat-and-fedora/" target="_blank"&gt;source activemq with source&lt;/a&gt;&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2015/07/install-activemq-with-selinux-centos.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-4521980530358855498</guid><pubDate>Wed, 13 May 2015 10:12:00 +0000</pubDate><atom:updated>2015-05-13T17:12:36.168+07:00</atom:updated><title>[SOLVED] recursive write permission during installation on Fedora 18-2X</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
in fact the problem is located at 2 places.&lt;br /&gt;&lt;br /&gt;1. on some Linux web 
server, owner of web site (files/folders) should be apache. so as a 
group and user &amp;gt;&amp;gt; chown -R apache:apache&lt;br /&gt;&lt;br /&gt;2. on some linux 
server like Fedora SELinux Alert Browser also play a role and to allow 
apache to perform some actions read/write, change permissions etc... you
 need to allow them.&lt;br /&gt;&lt;br /&gt;so to check what is needed to do on "httpd" you can use:&lt;br /&gt;
&lt;pre class="prettyprint lang-auto linenums:0 prettyprinted"&gt;&lt;span class="pln"&gt;getsebool &lt;/span&gt;&lt;span class="pun"&gt;-&lt;/span&gt;&lt;span class="pln"&gt;a &lt;/span&gt;&lt;span class="pun"&gt;|&lt;/span&gt;&lt;span class="pln"&gt; grep httpd&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;or directly:&lt;br /&gt;&lt;pre class="prettyprint lang-auto linenums:0 prettyprinted"&gt;&lt;span class="pln"&gt;setsebool &lt;/span&gt;&lt;span class="pun"&gt;-&lt;/span&gt;&lt;span class="pln"&gt;P httpd_enable_cgi on
setsebool &lt;/span&gt;&lt;span class="pun"&gt;-&lt;/span&gt;&lt;span class="pln"&gt;P httpd_unified on
setsebool &lt;/span&gt;&lt;span class="pun"&gt;-&lt;/span&gt;&lt;span class="pln"&gt;P httpd_builtin_scripting on&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;now you can give a 644 to all files and 705 to folders. It should work perfectly.&lt;br /&gt;&lt;br /&gt;Hope it will help you &lt;span rel="lightbox"&gt;&lt;img alt=":)" class="bbc_img" src="http://www.prestashop.com/forums/public/style_emoticons/default/smile.png" /&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2015/05/solved-recursive-write-permission.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8530136806756342816.post-2763758225684059174</guid><pubDate>Tue, 07 Apr 2015 10:06:00 +0000</pubDate><atom:updated>2015-04-07T17:06:16.208+07:00</atom:updated><title>Telegram in fedora </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b&gt;download telegram desktop&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://desktop.telegram.org/"&gt;https://desktop.telegram.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="background-color: white; color: #333332; font-family: 'PT Serif', serif;"&gt;
&lt;li&gt;Extract file to&amp;nbsp;&lt;code style="background-color: #efefef; border-radius: 3px; border: 1px solid rgb(247, 247, 247); font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 1.5; margin: 0px 2px; padding: 0px 5px; white-space: nowrap;"&gt;/opt&lt;/code&gt;&amp;nbsp;directory.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight" style="background-color: #efefef; border-radius: 4px; color: #333332; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 2.1667; margin-bottom: 1.5em;"&gt;
&lt;pre style="font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 1.5; overflow-x: auto; padding: 1em; position: relative;"&gt;&lt;code class="language-bash" data-lang="bash" style="font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 1em;"&gt;&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;$ &lt;/span&gt;sudo tar xvf tsetup.0.7.2.tar.xz -C /opt
Telegram/
Telegram/Updater
Telegram/Telegram&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h3 id="create-executable-file" style="background-color: white; color: #333332; font-family: 'PT Sans Narrow', sans-serif; font-size: 1.5rem; line-height: 1.0833; margin-bottom: 1.625rem;"&gt;
Create executable file&lt;/h3&gt;
&lt;div class="highlight" style="background-color: #efefef; border-radius: 4px; color: #333332; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 2.1667; margin-bottom: 1.5em;"&gt;
&lt;pre style="font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 1.5; overflow-x: auto; padding: 1em; position: relative;"&gt;&lt;code class="language-bash" data-lang="bash" style="font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 1em;"&gt;&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;$ &lt;/span&gt;sudo ln -s /opt/Telegram/Telegram /usr/bin/telegram&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="-webkit-transition: all 0.2s ease; background-color: white; color: #333332; font-family: 'PT Serif', serif; margin-bottom: 1.625rem; transition: all 0.2s ease;"&gt;
Now, you can execute&amp;nbsp;&lt;code style="background-color: #efefef; border-radius: 3px; border: 1px solid rgb(247, 247, 247); font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 1.5; margin: 0px 2px; padding: 0px 5px; white-space: nowrap;"&gt;telegram&lt;/code&gt;&amp;nbsp;on your favorite shell/ terminal.&lt;/div&gt;
&lt;h3 id="create-menu-shortcut" style="background-color: white; color: #333332; font-family: 'PT Sans Narrow', sans-serif; font-size: 1.5rem; line-height: 1.0833; margin-bottom: 1.625rem;"&gt;
Create menu shortcut&lt;/h3&gt;
&lt;ul style="background-color: white; color: #333332; font-family: 'PT Serif', serif;"&gt;
&lt;li&gt;Download Telegram icon.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight" style="background-color: #efefef; border-radius: 4px; color: #333332; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 2.1667; margin-bottom: 1.5em;"&gt;
&lt;pre style="font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 1.5; overflow-x: auto; padding: 1em; position: relative;"&gt;&lt;code class="language-bash" data-lang="bash" style="font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 1em;"&gt;&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;$ &lt;/span&gt;sudo wget https://telegram.org/img/t_logo.png -O /opt/Telegram/icon.png&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;ul style="background-color: white; color: #333332; font-family: 'PT Serif', serif;"&gt;
&lt;li&gt;Add the following script to&amp;nbsp;&lt;code style="background-color: #efefef; border-radius: 3px; border: 1px solid rgb(247, 247, 247); font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 1.5; margin: 0px 2px; padding: 0px 5px; white-space: nowrap;"&gt;/usr/share/applications/telegram.desktop&lt;/code&gt;&amp;nbsp;file.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight" style="background-color: #efefef; border-radius: 4px; color: #333332; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 2.1667; margin-bottom: 1.5em;"&gt;
&lt;pre style="font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.75rem; line-height: 1.5; overflow-x: auto; padding: 1em; position: relative;"&gt;&lt;code class="language-bash" data-lang="bash" style="font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 1em;"&gt;&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;$ &lt;/span&gt;sudo nano /usr/share/applications/telegram.desktop

&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;[&lt;/span&gt;Desktop Entry&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;]&lt;/span&gt;
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Version&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;0.7.2
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Name&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;Telegram
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;GenericName&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;Telegram
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Comment&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;Private and Secure Messenger
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Exec&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;telegram
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Icon&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;/opt/Telegram/icon.png
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Terminal&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;&lt;span class="nb" style="-webkit-transition: all 0.2s ease; color: #0086b3; transition: all 0.2s ease;"&gt;false&lt;/span&gt;
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Type&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;Application
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;StartupNotify&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;&lt;span class="nb" style="-webkit-transition: all 0.2s ease; color: #0086b3; transition: all 0.2s ease;"&gt;true&lt;/span&gt;
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Categories&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;Network&lt;span class="p" style="-webkit-transition: all 0.2s ease; transition: all 0.2s ease;"&gt;;&lt;/span&gt;WebBrowser&lt;span class="p" style="-webkit-transition: all 0.2s ease; transition: all 0.2s ease;"&gt;;&lt;/span&gt;
&lt;span class="nv" style="-webkit-transition: all 0.2s ease; color: teal; transition: all 0.2s ease;"&gt;Keywords&lt;/span&gt;&lt;span class="o" style="-webkit-transition: all 0.2s ease; color: black; font-weight: bold; transition: all 0.2s ease;"&gt;=&lt;/span&gt;chat&lt;span class="p" style="-webkit-transition: all 0.2s ease; transition: all 0.2s ease;"&gt;;&lt;/span&gt;messenger&lt;span class="p" style="-webkit-transition: all 0.2s ease; transition: all 0.2s ease;"&gt;;&lt;/span&gt;internet&lt;span class="p" style="-webkit-transition: all 0.2s ease; transition: all 0.2s ease;"&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style="background-color: white; color: #333332; font-family: 'PT Serif', serif;"&gt;Check Application Menu &amp;gt; Internet &amp;gt; Telegram , find your friend and start private and secure conversation.&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://denzfarid.blogspot.com/2015/04/telegram-in-fedora.html</link><author>noreply@blogger.com (root)</author><thr:total>0</thr:total></item></channel></rss>