<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5859857419694953092</id><updated>2026-09-07T09:32:55.974-07:00</updated><category term="linux"/><title type='text'>linux guru</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>355</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-3873337920639231969</id><published>2023-12-31T18:32:00.000-08:00</published><updated>2023-12-31T18:32:38.208-08:00</updated><title type='text'>mac laptop copy paste to iphone not working</title><content type='html'>&lt;p&gt;&amp;nbsp;Here are the steps:&lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot; /&gt;&lt;/p&gt;&lt;ul style=&quot;margin: 0px 0px 0px 28px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;li style=&quot;list-style-type: disc; margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;Open the Terminal app on your Mac (Applications &amp;gt; Utilities)&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot; /&gt;&lt;/p&gt;&lt;ul style=&quot;margin: 0px 0px 0px 28px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;li style=&quot;list-style-type: disc; margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;Now, we will first delete Clipboard sharing and then enable it again. Here is how:&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;ql-syntax indent-1&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #fbfbfd; border-radius: 2px; box-sizing: border-box; font-size: 16px; margin-bottom: 0px; margin-left: 32px; margin-top: 0.8em; max-width: calc(100% - 32px); padding: 5px; position: relative !important; width: calc(100% - 32px); z-index: 0 !important;&quot;&gt;&lt;code aria-label=&quot;Code&quot; style=&quot;display: block; font-size: 1em; margin-bottom: 0px; overflow-x: auto; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;defaults &lt;span class=&quot;hljs-keyword&quot; style=&quot;color: #aa0d91; position: relative !important; z-index: 0 !important;&quot;&gt;delete&lt;/span&gt; ~&lt;span class=&quot;hljs-regexp&quot; style=&quot;color: #008800; margin-bottom: 0px; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;/Library/&lt;/span&gt;Preferences/com.apple.coreservices.useractivityd.plist ClipboardSharingEnabled
&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot; /&gt;&lt;/p&gt;&lt;ul style=&quot;margin: 0px 0px 0px 28px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;li style=&quot;list-style-type: disc; margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;Now, copy and paste this code and hit&amp;nbsp;&lt;span style=&quot;font-weight: 600; margin-bottom: 0px; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;Enter&lt;/span&gt;:&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;ql-syntax indent-1&quot; spellcheck=&quot;false&quot; style=&quot;background-color: #fbfbfd; border-radius: 2px; box-sizing: border-box; font-size: 16px; margin-bottom: 0px; margin-left: 32px; margin-top: 0.8em; max-width: calc(100% - 32px); padding: 5px; position: relative !important; width: calc(100% - 32px); z-index: 0 !important;&quot;&gt;&lt;code aria-label=&quot;Code&quot; style=&quot;display: block; font-size: 1em; margin-bottom: 0px; overflow-x: auto; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;defaults write ~&lt;span class=&quot;hljs-regexp&quot; style=&quot;color: #008800; position: relative !important; z-index: 0 !important;&quot;&gt;/Library/&lt;/span&gt;Preferences/com.apple.coreservices.useractivityd.plist ClipboardSharingEnabled &lt;span class=&quot;hljs-number&quot; style=&quot;color: #1c00cf; margin-bottom: 0px; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot; /&gt;&lt;/p&gt;&lt;ul style=&quot;margin: 0px 0px 0px 28px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;li style=&quot;list-style-type: disc; margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;Now check if copy and paste is working.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; padding-bottom: 0px; position: relative !important; z-index: 0 !important;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;https://discussions.apple.com/thread/254811288?sortBy=best&lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 0px; position: relative !important; z-index: 0 !important;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/3873337920639231969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2023/12/mac-laptop-copy-paste-to-iphone-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/3873337920639231969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/3873337920639231969'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2023/12/mac-laptop-copy-paste-to-iphone-not.html' title='mac laptop copy paste to iphone not working'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-997855345659085592</id><published>2023-02-03T17:22:00.004-08:00</published><updated>2023-02-03T17:25:34.999-08:00</updated><title type='text'> How to reactivate your SSL </title><content type='html'>&lt;p&gt;&amp;nbsp;How to&lt;span face=&quot;Verdana, Geneva, Tahoma, sans-serif&quot; style=&quot;background-color: white; color: #393934; font-size: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;reactivate your SSL&lt;span face=&quot;Verdana, Geneva, Tahoma, sans-serif&quot; style=&quot;background-color: white; color: #393934; font-size: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Verdana, Geneva, Tahoma, sans-serif&quot; style=&quot;background-color: white; color: #393934; font-size: 20px;&quot;&gt;https://www.ssls.com/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4y08_cy0IZWQluOIvhhZR-NKrLu92B09HkK9SZ_7-l9j6JllyWByT6w-Ad6i0Ez48_65dwn2jR_obov3SCOgBEKPv-VBRg90v52gdjDX-vjXh-bejc2I45NrDpboxUS85UsALc8qOgB4Kt6TfnBR-2IXL5UwwCKbc4xq_zTUjArYq26HQUqTzpyq8MQ/s2550/Screenshot%202023-02-03%20at%205.21.19%20PM.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1830&quot; data-original-width=&quot;2550&quot; height=&quot;461&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4y08_cy0IZWQluOIvhhZR-NKrLu92B09HkK9SZ_7-l9j6JllyWByT6w-Ad6i0Ez48_65dwn2jR_obov3SCOgBEKPv-VBRg90v52gdjDX-vjXh-bejc2I45NrDpboxUS85UsALc8qOgB4Kt6TfnBR-2IXL5UwwCKbc4xq_zTUjArYq26HQUqTzpyq8MQ/w640-h461/Screenshot%202023-02-03%20at%205.21.19%20PM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span face=&quot;Verdana, Geneva, Tahoma, sans-serif&quot; style=&quot;background-color: white; color: #393934; font-size: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/997855345659085592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2023/02/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/997855345659085592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/997855345659085592'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2023/02/blog-post.html' title=' How to reactivate your SSL '/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4y08_cy0IZWQluOIvhhZR-NKrLu92B09HkK9SZ_7-l9j6JllyWByT6w-Ad6i0Ez48_65dwn2jR_obov3SCOgBEKPv-VBRg90v52gdjDX-vjXh-bejc2I45NrDpboxUS85UsALc8qOgB4Kt6TfnBR-2IXL5UwwCKbc4xq_zTUjArYq26HQUqTzpyq8MQ/s72-w640-h461-c/Screenshot%202023-02-03%20at%205.21.19%20PM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-8762074549287236859</id><published>2020-10-02T14:33:00.003-07:00</published><updated>2020-10-02T14:33:38.075-07:00</updated><title type='text'>update cve year</title><content type='html'>&lt;p&gt;&amp;nbsp;update&amp;nbsp; nvdcve set year = SUBSTRING(cve_id, 5,4)&amp;nbsp; &amp;nbsp;;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/8762074549287236859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2020/10/update-cve-year.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/8762074549287236859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/8762074549287236859'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2020/10/update-cve-year.html' title='update cve year'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-964413432435976778</id><published>2020-09-16T11:28:00.003-07:00</published><updated>2020-09-16T11:28:55.597-07:00</updated><title type='text'>Serve Django3 Applications with Apache2.4 and mod_wsgi on Ubuntu 20</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Software versions: here are my application versions:&lt;/span&gt;&lt;/p&gt;Python 3.8.2&lt;br /&gt;Django 3.1.1&amp;nbsp;&lt;br /&gt;Apache/2.4.41 (Ubuntu)&lt;div&gt;Ubuntu 20.04.1 LTS&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Installation:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 1: Install apache 2,&amp;nbsp; Django and other packages&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;sudo apt-get install libapache2-mod-wsgi-py3&lt;br /&gt;sudo apt-get install python3-pip&lt;br /&gt;sudo pip3 install Django&lt;br /&gt;sudo pip3 install mysql-python&lt;div&gt;sudo apt-get install python3-mysqldb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 2: create Django project - I create project under /var/www, but you may put anywhere, it&#39;s up to you&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;django-admin.py startproject myproject&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You will see these files and folder under /var/www/myproject&lt;/div&gt;&lt;div&gt;&lt;div&gt;myproject/&lt;/div&gt;&lt;div&gt;django.wsgi*&lt;/div&gt;&lt;div&gt;manage.py*&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 3: Create apache vhost file&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;cat /etc/apache2/sites-available/xxxx.com.conf&lt;/p&gt;&lt;p&gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; #My site Name&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ServerName xxxx.com&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; DocumentRoot /var/www/myproject&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;WSGIDaemonProcess xxxx.com processes=2 threads=5 display-name=%{GROUP} python-path=/usr/local/lib/python3.8&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; #Pointing wsgi script to config file&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; WSGIScriptAlias / /var/www/myproject/myproject/wsgi.py&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; WSGIProcessGroup xxxx.com&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; #Your static files location&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Alias /static/ &quot;//var/www/myproject/static/&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Location &quot;/media&quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SetHandler None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Location&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;LocationMatch &quot;\.(jpg|gif|png|js|css)$&quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SetHandler None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/LocationMatch&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Directory /var/www/myproject&amp;nbsp;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AllowOverride all&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Require all granted&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Options FollowSymlinks&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Directory&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red; font-size: medium;&quot;&gt;Step 4: modify this file /var/www/myproject/myproject/wsgi.py&lt;/span&gt;&lt;/p&gt;&lt;p&gt;cat /var/www/myproject/myproject/wsgi.py&lt;/p&gt;&lt;p&gt;import os&lt;/p&gt;&lt;p&gt;import time&lt;/p&gt;&lt;p&gt;import traceback&lt;/p&gt;&lt;p&gt;import signal&lt;/p&gt;&lt;p&gt;import sys&lt;/p&gt;&lt;p&gt;from django.core.wsgi import get_wsgi_application&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;sys.path.append(&#39;/var/www/myproject&#39;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;sys.path.append(&#39;/usr/local/lib/python3.8/dist-packages&#39;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;os.environ.setdefault(&#39;DJANGO_SETTINGS_MODULE&#39;, &#39;CVE.settings&#39;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;try:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; application = get_wsgi_application()&lt;/p&gt;&lt;p&gt;except Exception:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; # Error loading applications&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; if &#39;mod_wsgi&#39; in sys.modules:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; traceback.print_exc()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; os.kill(os.getpid(), signal.SIGINT)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; time.sleep(2.5)&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 5: enable wsgi mod and enable site&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;sudo a2enmod wsgi&lt;div&gt;sudo a2ensite xxxx.com&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Summary: you may see these errors, please check &lt;span style=&quot;color: red;&quot;&gt;RED&lt;/span&gt; part&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;mod_wsgi (pid=1059622): Failed to exec Python script file &#39;/var/www/myproject/django.wsgi&#39;.&lt;/div&gt;&lt;div&gt;&amp;nbsp;mod_wsgi (pid=1059622): Exception occurred processing WSGI script &#39;/var/www/myproject/django.wsgi&#39;.&lt;/div&gt;&lt;div&gt;&amp;nbsp;Traceback (most recent call last):&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/var/www/myproject/django.wsgi&quot;, line 12, in &amp;lt;module&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;application = django.core.handlers.wsgi.WSGIHandler()&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/core/handlers/wsgi.py&quot;, line 127, in&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;self.load_middleware()&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/core/handlers/base.py&quot;, line 40, in&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;middleware = import_string(middleware_path)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/utils/module_loading.py&quot;, line 17, in&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;module = import_module(module_path)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/lib/python3.8/importlib/__init__.py&quot;, line 127, in import_module&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return _bootstrap._gcd_import(name[level:], package, level)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&quot;, line 1014, in _gcd_import&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&quot;, line 991, in _find_and_load&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&quot;, line 975, in _find_and_load_unlocked&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&quot;, line 671, in _load_unlocked&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;&amp;lt;frozen importlib._bootstrap_external&amp;gt;&quot;, line 783, in exec_module&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&quot;, line 219, in _call_with_frames_removed&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/contrib/auth/middleware.py&quot;, line 3, in &amp;lt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;from django.contrib.auth.backends import RemoteUserBackend&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/contrib/auth/backends.py&quot;, line 2, in &amp;lt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;from django.contrib.auth.models import Permission&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/contrib/auth/models.py&quot;, line 2, in &amp;lt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/contrib/auth/base_user.py&quot;, line 48, in &amp;lt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;class AbstractBaseUser(models.Model):&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/db/models/base.py&quot;, line 108, in __new__&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;app_config = apps.get_containing_app_config(module)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/apps/registry.py&quot;, line 252, in&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;self.check_apps_ready()&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;File &quot;/usr/local/lib/python3.8/dist-packages/django/apps/registry.py&quot;, line 135, in&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;raise AppRegistryNotReady(&quot;Apps aren&#39;t loaded yet.&quot;)&lt;/div&gt;&lt;div&gt;&amp;nbsp;django.core.exceptions.AppRegistryNotReady: Apps aren&#39;t loaded yet.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/964413432435976778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2020/09/serve-django3-applications-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/964413432435976778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/964413432435976778'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2020/09/serve-django3-applications-with.html' title='Serve Django3 Applications with Apache2.4 and mod_wsgi on Ubuntu 20'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-4219324601307807487</id><published>2018-03-01T16:02:00.001-08:00</published><updated>2018-03-01T16:02:58.651-08:00</updated><title type='text'>less /var/lib/logrotate/logrotate.status</title><content type='html'>




&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures}
&lt;/style&gt;


&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;less /var/lib/logrotate/logrotate.status&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/4219324601307807487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2018/03/less-varliblogrotatelogrotatestatus.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/4219324601307807487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/4219324601307807487'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2018/03/less-varliblogrotatelogrotatestatus.html' title='less /var/lib/logrotate/logrotate.status'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-7409433310922994261</id><published>2018-02-19T16:34:00.000-08:00</published><updated>2018-02-19T16:34:37.417-08:00</updated><title type='text'>MAC &quot;fatal error: &#39;openssl/opensslconf.h&#39; file not found&quot;</title><content type='html'>




&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures}
&lt;/style&gt;


&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;Run these two command to fix it&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;export CPPFLAGS=-I/usr/local/opt/openssl/include&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;export LDFLAGS=-L/usr/local/opt/openssl/lib&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/7409433310922994261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2018/02/mac-fatal-error-opensslopensslconfh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/7409433310922994261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/7409433310922994261'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2018/02/mac-fatal-error-opensslopensslconfh.html' title='MAC &quot;fatal error: &#39;openssl/opensslconf.h&#39; file not found&quot;'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-1128216173691035853</id><published>2017-10-12T08:53:00.000-07:00</published><updated>2017-10-12T08:57:12.558-07:00</updated><title type='text'>corenlp</title><content type='html'>&lt;br /&gt;
step 1: tokenize&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; java -cp &quot;stanford-corenlp-full-2017-06-09/*&quot; edu.stanford.nlp.process.PTBTokenizer 2-malware.txt &amp;gt; 2-malware.tok&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; less 2-malware.tok&lt;br /&gt;
&lt;br /&gt;
Step 2: mark:&lt;br /&gt;
&amp;nbsp; perl -ne &#39;chomp; print &quot;$_\tO\n&quot;&#39; 2-malware.tok &amp;gt; 2-malware.tsv&lt;br /&gt;
&lt;br /&gt;
Step 3: generate tsv file using customized KEYWORD file&lt;br /&gt;
&lt;br /&gt;
generate final.tsv&lt;br /&gt;
&lt;br /&gt;
Step 4: generate customized NER using malware.prop: =&amp;gt; will create malware-ner-model.ser.gz&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;java -cp &quot;stanford-corenlp-full-2017-06-09/*&quot; edu.stanford.nlp.ie.crf.CRFClassifier -prop malware.prop&lt;br /&gt;
&lt;br /&gt;
Step 5: using custom NER to detect text&lt;br /&gt;
&lt;br /&gt;
java -cp &quot;stanford-corenlp-full-2017-06-09/*&quot; edu.stanford.nlp.ie.crf.CRFClassifier -loadClassifier&amp;nbsp; malware-ner-model.ser.gz -testFile sample.tsv.ini&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------------------------&lt;br /&gt;
java -cp &quot;stanford-corenlp-full-2017-06-09/*&quot; edu.stanford.nlp.process.PTBTokenizer jane-austen-emma-ch1.txt &amp;gt; jane-austen-emma-ch1.tok&lt;br /&gt;
&lt;br /&gt;
java -mx15g -cp &quot;stanford-corenlp-full-2017-06-09/*&quot; edu.stanford.nlp.pipeline.StanfordCoreNLP -outputFormat json -file jane-austen-emma-ch1.txt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/1128216173691035853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/10/corenlp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/1128216173691035853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/1128216173691035853'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/10/corenlp.html' title='corenlp'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-7214841481665019640</id><published>2017-07-25T10:03:00.001-07:00</published><updated>2017-07-25T10:05:06.341-07:00</updated><title type='text'>transmission 403 unauthorized ip address</title><content type='html'>&lt;b&gt;When trying to access transmission from web-browswer i got the message :
&lt;/b&gt;

&lt;pre&gt;
403: Forbidden
Unauthorized IP Address.
Either disable the IP address whitelist or add your address to it.
If you&#39;re editing settings.json, see the &#39;rpc-whitelist&#39; and &#39;rpc-whitelist-enabled&#39; entries.
If you&#39;re still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.
&lt;/pre&gt;

I setup whitelist before and it was working fine. So, it is not setting.json issue.


I check the log file: 

&lt;pre&gt;
root@ubuntu:~# less /var/log/syslog | grep trans
Jul 25 12:16:48 ubuntu transmission-daemon[26035]: [2017-07-25 12:16:48.151] Couldn&#39;t save temporary file &quot;/home/debian-transmission/.config/transmission-daemon/settings.json.tmp.0uKjqQ&quot;: No such file or directory (variant.c:1280)
Jul 25 12:16:48 ubuntu transmission-daemon[26035]: Closing transmission session... done.
Jul 25 12:16:49 ubuntu transmission-daemon[26365]: [2017-07-25 12:16:49.422] Couldn&#39;t create &quot;/home/debian-transmission&quot;: Permission denied (file-posix.c:189)
Jul 25 12:16:49 ubuntu transmission-daemon[26365]: message repeated 2 times: [ [2017-07-25 12:16:49.422] Couldn&#39;t create &quot;/home/debian-transmission&quot;: Permission denied (file-posix.c:189)]
Jul 25 12:16:49 ubuntu transmission-daemon[26365]: [2017-07-25 12:16:49.422] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:84)
Jul 25 12:16:49 ubuntu transmission-daemon[26365]: [2017-07-25 12:16:49.422] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:95)
Jul 25 12:16:49 ubuntu transmission-daemon[26365]: [2017-07-25 12:16:49.422] Couldn&#39;t save temporary file &quot;/home/debian-transmission/.config/transmission-daemon/settings.json.tmp.7GNxAD&quot;: No such file or directory (variant.c:1280)
Jul 25 12:38:04 ubuntu transmission-daemon[26365]: Closing transmission session... done.
Jul 25 12:38:10 ubuntu transmission-daemon[26698]: [2017-07-25 12:38:10.154] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:84)
Jul 25 12:38:10 ubuntu transmission-daemon[26698]: [2017-07-25 12:38:10.154] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:95)
Jul 25 12:38:48 ubuntu transmission-daemon[26698]: Closing transmission session... done.
&lt;/pre&gt;

Somehow, the system looking for /home/debian-transmission/.config/transmission-daemon/settings.json, but my file is located:  /etc/transmission-daemon/settings.json

I am not sure how this happened, looks like it is transmission bug, but I  fixed it:

&lt;pre&gt;
service transmission-daemon stop
mkdir -p /home/debian-transmission/.config/transmission-daemon
chown debian-transmission:debian-transmission /home/debian-transmission/.config/transmission-daemon
cp /etc/transmission-daemon/settings.json /home/debian-transmission/.config/transmission-daemon/settings.json
service transmission-daemon start
&lt;/pre&gt;

</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/7214841481665019640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/07/transmission-403-unauthorized-ip-address.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/7214841481665019640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/7214841481665019640'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/07/transmission-403-unauthorized-ip-address.html' title='transmission 403 unauthorized ip address'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-7691600114251454572</id><published>2017-07-17T15:54:00.000-07:00</published><updated>2017-07-17T15:54:18.076-07:00</updated><title type='text'>push docker image to ecr</title><content type='html'>aws ecr create-repository --repository-name my_lamp

docker tag my_lamp:latest 953643660.dkr.ecr.us-west-2.amazonaws.com/my_lamp:latest

docker push 953643660.dkr.ecr.us-west-2.amazonaws.com/my_lamp:latest
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/7691600114251454572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/07/push-docker-image-to-ecr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/7691600114251454572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/7691600114251454572'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/07/push-docker-image-to-ecr.html' title='push docker image to ecr'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-6193195103279996945</id><published>2017-07-17T14:17:00.001-07:00</published><updated>2017-07-17T14:17:57.942-07:00</updated><title type='text'>update ruby version</title><content type='html'>cng@ACP:/opt/newdisk/mydockers/docker-lamp$ source /usr/local/rvm/scripts/rvm
cng@ACP:/opt/newdisk/mydockers/docker-lamp$ rvm use 2.4.1
Using /home/chang/.rvm/gems/ruby-2.4.1
cng@ACP:/opt/newdisk/mydockers/docker-lamp$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/6193195103279996945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/07/update-ruby-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/6193195103279996945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/6193195103279996945'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/07/update-ruby-version.html' title='update ruby version'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-5769396681229259183</id><published>2017-05-24T11:26:00.003-07:00</published><updated>2017-05-24T11:26:28.436-07:00</updated><title type='text'>chef 12 opsworks github issue</title><content type='html'>I had some issue to checkout git repo from private repo.&lt;br /&gt;
Took couple of hours to figure it out.&lt;br /&gt;
&lt;br /&gt;
1: add application cookbook in&amp;nbsp;&quot;Berksfile&quot;&lt;br /&gt;
cookbook &#39;application&#39;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;~&amp;gt; 5.2.0&#39;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2: run&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
berks update&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3: create recipe:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
app = search(:aws_opsworks_app).first&lt;/div&gt;
&lt;div&gt;
app_path = &quot;/srv/#{app[&#39;shortname&#39;]}&quot;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
application app_path do&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; git &amp;nbsp;app[&#39;app_source&#39;][&#39;url&#39;] do&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; deploy_key &amp;nbsp;app[&#39;app_source&#39;][&#39;ssh_key&#39;]&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; end&lt;/div&gt;
&lt;div&gt;
end&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/5769396681229259183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/05/chef-12-opsworks-github-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/5769396681229259183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/5769396681229259183'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/05/chef-12-opsworks-github-issue.html' title='chef 12 opsworks github issue'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-8664687212757376078</id><published>2017-05-07T18:46:00.001-07:00</published><updated>2017-05-07T20:43:13.066-07:00</updated><title type='text'>rails binding to all ip</title><content type='html'>rails server --binding=0.0.0.0&lt;br /&gt;
&lt;br /&gt;
rails server --binding=0.0.0.0 -d&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/8664687212757376078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/05/rails-binding-to-all-ip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/8664687212757376078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/8664687212757376078'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/05/rails-binding-to-all-ip.html' title='rails binding to all ip'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-3700316183445069748</id><published>2017-05-07T14:58:00.001-07:00</published><updated>2017-07-17T13:40:26.652-07:00</updated><title type='text'>ROR Dockerfile</title><content type='html'>&lt;br /&gt;
FROM ubuntu:16.04&lt;br /&gt;
&lt;br /&gt;
# Set the working directory to /app&lt;br /&gt;
WORKDIR /ROR&lt;br /&gt;
&lt;br /&gt;
# Copy the current directory contents into the container at /app&lt;br /&gt;
ADD . /ROR&lt;br /&gt;
&lt;br /&gt;
# Install any needed packages specified in requirements.txt&lt;br /&gt;
RUN \&lt;br /&gt;
&amp;nbsp; apt-get update &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; apt-get -y upgrade &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs &amp;nbsp;&amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; mkdir /ROR &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; cd /ROR &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; git clone https://github.com/rbenv/rbenv.git ~/.rbenv &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; echo &#39;export PATH=&quot;$HOME/.rbenv/bin:$PATH&quot;&#39; &amp;gt;&amp;gt; ~/.bashrc &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; echo &#39;eval &quot;$(rbenv init -)&quot;&#39; &amp;gt;&amp;gt; ~/.bashrc &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; exec $SHELL \ &amp;amp;&amp;amp;&lt;br /&gt;
&amp;nbsp; git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; echo &#39;export PATH=&quot;$HOME/.rbenv/plugins/ruby-build/bin:$PATH&quot;&#39; &amp;gt;&amp;gt; ~/.bashrc &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; exec $SHELL &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; rbenv install 2.4.0 &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; rbenv global 2.4.0 &amp;amp;&amp;amp; \&lt;br /&gt;
&amp;nbsp; ruby -v&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;

&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;ins class=&quot;adsbygoogle&quot;
     style=&quot;display:block; text-align:center;&quot;
     data-ad-format=&quot;fluid&quot;
     data-ad-layout=&quot;in-article&quot;
     data-ad-client=&quot;ca-pub-3045566785215972&quot;
     data-ad-slot=&quot;4322579863&quot;&gt;&lt;/ins&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/3700316183445069748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/05/ror-dockerfile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/3700316183445069748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/3700316183445069748'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/05/ror-dockerfile.html' title='ROR Dockerfile'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-6678562614914473893</id><published>2017-05-04T15:18:00.002-07:00</published><updated>2017-05-04T15:18:33.150-07:00</updated><title type='text'>oozie enable extjs</title><content type='html'>&lt;br /&gt;
&amp;nbsp; 327 &amp;nbsp;locate core-site.xml&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; 330 &amp;nbsp;vim /usr/local/hadoop/etc/hadoop/core-site.xml&lt;br /&gt;
&lt;br /&gt;
&amp;lt;property&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;hadoop.proxyuser.hduser.hosts&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;value&amp;gt;localhost&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/property&amp;gt;&lt;br /&gt;
&amp;lt;property&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;hadoop.proxyuser.hduser.groups&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;value&amp;gt;hadoop&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/property&amp;gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp; 331 &amp;nbsp;bin/oozie-setup.sh prepare-war&lt;br /&gt;
&amp;nbsp; 332 &amp;nbsp;bin/oozied.sh stop&lt;br /&gt;
&amp;nbsp; 333 &amp;nbsp;bin/oozie-setup.sh prepare-war&lt;br /&gt;
&amp;nbsp; 334 &amp;nbsp;bin/oozied.sh start&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/6678562614914473893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/05/oozie-enable-extjs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/6678562614914473893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/6678562614914473893'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/05/oozie-enable-extjs.html' title='oozie enable extjs'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-4514422468402434252</id><published>2017-02-17T14:59:00.002-08:00</published><updated>2017-02-17T14:59:44.913-08:00</updated><title type='text'>clean cache</title><content type='html'>&lt;pre style=&quot;background-color: #eff0f1; border: 0px; color: #111111; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;sync; sudo echo 3 &amp;gt; /proc/sys/vm/drop_caches
&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; margin: 0px; padding: 0px; white-space: inherit;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/4514422468402434252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2017/02/clean-cache.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/4514422468402434252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/4514422468402434252'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2017/02/clean-cache.html' title='clean cache'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-9112525014762483874</id><published>2016-11-09T15:29:00.001-08:00</published><updated>2016-11-09T15:29:07.894-08:00</updated><title type='text'>load csv into mysql</title><content type='html'>cng@ACP:/opt/nwdisk/pubm$ mysqlimport --ignore-lines=1 --local -u dg &amp;nbsp;-p hem CIDCAS&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/9112525014762483874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2016/11/load-csv-into-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/9112525014762483874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/9112525014762483874'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2016/11/load-csv-into-mysql.html' title='load csv into mysql'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-5327056547881872382</id><published>2016-08-23T10:48:00.004-07:00</published><updated>2016-08-24T19:43:17.800-07:00</updated><title type='text'>snort install</title><content type='html'>1:&amp;nbsp;&lt;span style=&quot;background-color: #fdfdfd; color: #606060; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 13px; line-height: 20.8px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #606060; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 13px; line-height: 20.8px;&quot;&gt;install all the prerequisites&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #606060; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fdfdfd; font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;sudo apt-get install -y build-essential libpcap-dev libpcre3-dev libdumbnet-dev bison flex zlib1g-dev&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
apt-get install pkg-config&lt;br /&gt;
apt-get install luajit*&lt;br /&gt;
apt-get install libluajit*&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
apt-get install libssl-dev&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
ldconfig&lt;br /&gt;
&lt;br /&gt;
ldconfig -v&lt;br /&gt;
&lt;br /&gt;
2: Install DAO (2.1.0 failed for me)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background: none white; border-radius: 0px; border: 0px; bottom: auto; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; height: auto; left: auto; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; right: auto; top: auto; vertical-align: baseline; width: auto;&quot;&gt;
&lt;span style=&quot;color: deeppink; font-family: monospace;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 14.3px; white-space: pre;&quot;&gt;   wget https://www.snort.org/downloads/snortplus/daq-2.1.0.tar.gz
   tar zxvf daq-2.1.0.tar.gz
   cd daq-2.1.0/
   ./configure
   make
   make install&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #606060; font-family: monaco, consolas, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 13px; line-height: 14.3px; white-space: pre;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
3: Install Snort&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background: none white; border-radius: 0px; border: 0px; bottom: auto; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; height: auto; left: auto; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; right: auto; top: auto; vertical-align: baseline; width: auto;&quot;&gt;
&lt;span style=&quot;color: deeppink; font-family: monospace;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 14.3px; white-space: pre;&quot;&gt;  28  wget https://www.snort.org/downloads/snortdev/snort-2.9.9_beta.tar.gz
   29  tar zxvf snort-2.9.9_beta.tar.gz
   30  cd snort-2.9.9_beta/
   32  apt-get install luajit*
   33  apt-get install libluajit*
   34  ldconfig
   35  pkg-config
   37  apt-get install libssl-dev
   38  ldconfig
   39  ./configure  --enable-file-inspect --enable-open-appid --enable-sourcefire
   41  make
   42  make install&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #606060; font-family: monaco, consolas, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, courier, monospace; font-size: 13px; line-height: 14.3px; white-space: pre;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: #606060; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13px; height: auto !important; left: auto !important; line-height: 14.3px; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
4:&lt;span style=&quot;background-color: #fdfdfd; color: #606060; font-family: &amp;quot;helvetica neue&amp;quot;, arial, helvetica, geneva, sans-serif; font-size: 13px; line-height: 20.8px;&quot;&gt;Run the following command to update shared libraries:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fdfdfd; border: 0px; color: #606060; font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, Helvetica, Geneva, sans-serif; font-size: 13px; line-height: 20.8px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  bash&quot; id=&quot;highlighter_57715&quot; style=&quot;background-color: white !important; border: 0px; font-family: inherit; font-size: 1em !important; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; vertical-align: baseline; width: 902.563px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 902px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 872px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; max-width: 1024px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;sudo&lt;/code&gt; &lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;ldconfig&lt;/code&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=&quot;background-color: #fdfdfd; border: 0px; color: #606060; font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, Helvetica, Geneva, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 2em; margin-top: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Since the Snort installation places the Snort binary at&amp;nbsp;&lt;tt style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/usr/local/bin/snort&lt;/tt&gt;, it is a&amp;nbsp;good policy&amp;nbsp;to create a symlink to&amp;nbsp;&lt;tt style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/usr/sbin/snort&lt;/tt&gt;:&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfd; border: 0px; color: #606060; font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, Helvetica, Geneva, sans-serif; font-size: 13px; line-height: 20.8px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  bash&quot; id=&quot;highlighter_979009&quot; style=&quot;background-color: white !important; border: 0px; font-family: inherit; font-size: 1em !important; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; vertical-align: baseline; width: 902.563px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 902px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 872px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; max-width: 1024px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;sudo&lt;/code&gt; &lt;code class=&quot;bash functions&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;ln&lt;/code&gt; &lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-s &lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;/usr/local/bin/snort&lt;/code&gt; &lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;/usr/sbin/snort&lt;/code&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=&quot;background-color: #fdfdfd; border: 0px; color: #606060; font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, Helvetica, Geneva, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 2em; margin-top: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The last step of our Snort installation is to test that the Snort Binary runs. Execute Snort with the&amp;nbsp;&lt;tt style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-V&lt;/tt&gt;&amp;nbsp;flag, which causes Snort to show the version number:&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfd; border: 0px; color: #606060; font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, Helvetica, Geneva, sans-serif; font-size: 13px; line-height: 20.8px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  bash&quot; id=&quot;highlighter_473576&quot; style=&quot;background-color: white !important; border: 0px; font-family: inherit; font-size: 1em !important; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; vertical-align: baseline; width: 902.563px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 902px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 872px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; max-width: 1024px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;/usr/sbin/snort&lt;/code&gt; &lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-V&lt;/code&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=&quot;background-color: #fdfdfd; border: 0px; color: #606060; font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, Helvetica, Geneva, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 2em; margin-top: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
and you should see output similar to the following:&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfd; border: 0px; color: #606060; font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, Helvetica, Geneva, sans-serif; font-size: 13px; line-height: 20.8px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  bash&quot; id=&quot;highlighter_181700&quot; style=&quot;background-color: white !important; border: 0px; font-family: inherit; font-size: 1em !important; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px; overflow-x: auto !important; overflow-y: hidden !important; padding: 0px; position: relative !important; vertical-align: baseline; width: 902.563px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; table-layout: auto !important; top: auto !important; vertical-align: baseline !important; width: 902px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
12&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 865px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; max-width: 1024px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;user@snortserver:~$ &lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;/usr/sbin/snort&lt;/code&gt; &lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-V&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;,,_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -*&amp;amp;gt; Snort! &amp;amp;lt;*-&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;o&amp;amp;quot;&amp;nbsp; )~&amp;nbsp;&amp;nbsp; Version 2.9.7.6 GRE (Build 285)&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&#39;&lt;/code&gt;&lt;code class=&quot;bash string&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&#39;&#39;&lt;/code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;By Martin Roesch &amp;amp;amp; The Snort Team: http:&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;//www&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;.snort.org&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;/contact&lt;/code&gt;&lt;code class=&quot;bash comments&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;#team&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Copyright (C) 2014 Cisco and&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;/or&lt;/code&gt; &lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;its affiliates. All rights reserved.&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Copyright (C) 1998-2013 Sourcefire, Inc., et al.&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Using libpcap version 1.1.1&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Using PCRE version: 8.12 2011-01-15&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash spaces&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Using ZLIB version: 1.2.3.4&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;bash plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;user@snortserver:~$&lt;/code&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=&quot;background-color: #fdfdfd; border: 0px; margin-bottom: 2em; margin-top: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;5:# Create the snort user and group:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo groupadd snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo useradd snort -r -s /sbin/nologin -c SNORT_IDS -g snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;# Create the Snort directories:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo mkdir /etc/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo mkdir /etc/snort/rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo mkdir /etc/snort/rules/iplists&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo mkdir /etc/snort/preproc_rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo mkdir /usr/local/lib/snort_dynamicrules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo mkdir /etc/snort/so_rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;# Create some files that stores rules and ip lists&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo touch /etc/snort/rules/iplists/black_list.rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo touch /etc/snort/rules/iplists/white_list.rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo touch /etc/snort/rules/local.rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo touch /etc/snort/sid-msg.map&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;# Create our logging directories:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo mkdir /var/log/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo mkdir /var/log/snort/archived_logs&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;# Adjust permissions:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo chmod -R 5775 /etc/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo chmod -R 5775 /var/log/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo chmod -R 5775 /var/log/snort/archived_logs&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo chmod -R 5775 /etc/snort/so_rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo chmod -R 5775 /usr/local/lib/snort_dynamicrules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;# Change Ownership on folders:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo chown -R snort:snort /etc/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo chown -R snort:snort /var/log/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo chown -R snort:snort /usr/local/lib/snort_dynamicrules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;cd snort-2.9.9_beta/etc&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo cp *.conf* /etc/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo cp *.map /etc/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo cp *.dtd /etc/snort&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;cd ../src/dynamic-preprocessors/build/usr/local/lib/snort_dynamicpreprocessor/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: &amp;quot;helvetica neue&amp;quot;, arial, helvetica, geneva, sans-serif; font-size: 13px; line-height: 20.8px;&quot;&gt;sudo cp * /usr/local/lib/snort_dynamicpreprocessor/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo sed -i &quot;s/include \$RULE\_PATH/#include \$RULE\_PATH/&quot; /etc/snort/snort.conf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;sudo vi /etc/snort/snort.conf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;ipvar HOME_NET 10.0.0.0/24&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;Set the following file paths in snort.conf, beginning at line 104:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;var RULE_PATH /etc/snort/rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;var SO_RULE_PATH /etc/snort/so_rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;var PREPROC_RULE_PATH /etc/snort/preproc_rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;var WHITE_LIST_PATH /etc/snort/rules/iplists&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;var BLACK_LIST_PATH /etc/snort/rules/iplists&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;In order to make testing Snort easy, we want to enable the local.rules file, where we can add rules that&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;Snort can alert on. Un-comment (remove the hash symbol) from line 545 so it looks like this:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;include $RULE_PATH/local.rules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;Once the configuration file is ready, we will have Snort verify that it is a valid file, and all necessary files&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;it references are correct. We use the -T flag to test the configuration file, the -c flag to tell Snort which&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;configuration file to use, and -i to specify the interface that Snort will listen on (this is a new requirement&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;for the 2.9.8.x version of snort). Run sudo snort -T -c /etc/snort/snort.conf -i eth0. Run this&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;command as shown below and look for the following output (only the last few lines of the output are shown&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;for clarity):&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;user@snortserver:~✩ sudo snort -T -i eth0 -c /etc/snort/snort.conf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;(...)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;Snort successfully validated the configuration!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;Snort exiting&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;user@snortserver:~✩&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;Paste the following single line into the empty local rules file: /etc/snort/rules/local.rules:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #606060; font-family: helvetica neue, arial, helvetica, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20.8px;&quot;&gt;alert icmp any any -&amp;gt; $HOME_NET any (msg:&quot;ICMP test detected&quot;; GID:1; sid:10000001; rev:001; classtype:icmp-event;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/5327056547881872382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2016/08/snort-install_23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/5327056547881872382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/5327056547881872382'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2016/08/snort-install_23.html' title='snort install'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-864562836692693681</id><published>2016-06-01T15:34:00.002-07:00</published><updated>2016-06-01T15:54:55.080-07:00</updated><title type='text'>install oracle client on ubuntu 64</title><content type='html'>1: download oracle packages&lt;br /&gt;
oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm &lt;br /&gt;
oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm&lt;br /&gt;
oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
2, install:&lt;br /&gt;
&amp;nbsp;alien -i oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm&lt;br /&gt;
&amp;nbsp;alien -i oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm&lt;br /&gt;
&amp;nbsp;alien -i oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
3: install libaio1&lt;br /&gt;
&amp;nbsp; apt-get install libaio1&lt;br /&gt;
&lt;br /&gt;
4:&lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}&lt;br /&gt;
&lt;br /&gt;
5: test:&lt;br /&gt;
sqlplus64 anacs/tkat@//analycsjus-west-2.rds.amazonaws.com:1521/IX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SQL*Plus: Release 12.1.0.2.0 Production on Wed Jun 1 22:34:01 2016&lt;br /&gt;
&lt;br /&gt;
Copyright (c) 1982, 2014, Oracle. &amp;nbsp;All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Last Successful login time: Wed Jun 01 2016 22:33:40 +00:00&lt;br /&gt;
&lt;br /&gt;
Connected to:&lt;br /&gt;
Oracle Database 12c Release 12.1.0.1.0 - 64bit Production&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/864562836692693681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2016/06/install-oracle-client-on-ubuntu-64.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/864562836692693681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/864562836692693681'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2016/06/install-oracle-client-on-ubuntu-64.html' title='install oracle client on ubuntu 64'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-6674498027981599027</id><published>2015-12-05T21:25:00.003-08:00</published><updated>2015-12-05T21:25:43.770-08:00</updated><title type='text'>node.js app enable cors</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
app.configure(function(){&lt;br /&gt;&amp;nbsp; app.use(app.router);&lt;br /&gt;&amp;nbsp; // the following middlewares are only necessary for the mounted &#39;dashboard&#39; app,&lt;br /&gt;&amp;nbsp; // but express needs it on the parent app (?) and it therefore pollutes the api&lt;br /&gt;&amp;nbsp; app.use(express.bodyParser());&lt;br /&gt;&amp;nbsp; app.use(express.methodOverride());&lt;br /&gt;&amp;nbsp; app.use(express.cookieParser(&#39;Z5V45V6B5U56B7J5N67J5VTH345GC4G5V4&#39;));&lt;br /&gt;&amp;nbsp; app.use(express.cookieSession({&lt;br /&gt;&amp;nbsp; &amp;nbsp; key: &amp;nbsp; &amp;nbsp;&#39;uptime&#39;,&lt;br /&gt;&amp;nbsp; &amp;nbsp; secret: &#39;FZ5HEE5YHD3E566756234C45BY4DSFZ4&#39;,&lt;br /&gt;&amp;nbsp; &amp;nbsp; proxy: &amp;nbsp;true,&lt;br /&gt;&amp;nbsp; &amp;nbsp; cookie: { maxAge: 60 * 60 * 1000 }&lt;br /&gt;&amp;nbsp; }));&lt;br /&gt;&amp;nbsp; app.use(function (req, res, next) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Website you wish to allow to connect&lt;br /&gt;&amp;nbsp; &amp;nbsp; res.setHeader(&#39;Access-Control-Allow-Origin&#39;, &#39;*&#39;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Request methods you wish to allow&lt;br /&gt;&amp;nbsp; &amp;nbsp; res.setHeader(&#39;Access-Control-Allow-Methods&#39;, &#39;GET, POST, OPTIONS, PUT, PATCH, DELETE&#39;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Request headers you wish to allow&lt;br /&gt;&amp;nbsp; &amp;nbsp; res.setHeader(&#39;Access-Control-Allow-Headers&#39;, &#39;X-Requested-With,content-type&#39;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Set to true if you need the website to include cookies in the requests sent&lt;br /&gt;&amp;nbsp; &amp;nbsp; // to the API (e.g. in case you use sessions)&lt;br /&gt;&amp;nbsp; &amp;nbsp; res.setHeader(&#39;Access-Control-Allow-Credentials&#39;, true);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Pass to next layer of middleware&lt;br /&gt;&amp;nbsp; &amp;nbsp; next();&lt;br /&gt;&amp;nbsp; });&lt;br /&gt;&amp;nbsp; app.set(&#39;pollerCollection&#39;, new PollerCollection());&lt;br /&gt;});&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/6674498027981599027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2015/12/nodejs-app-enable-cors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/6674498027981599027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/6674498027981599027'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2015/12/nodejs-app-enable-cors.html' title='node.js app enable cors'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-2618395874273435587</id><published>2015-11-25T19:19:00.002-08:00</published><updated>2015-11-25T19:19:29.213-08:00</updated><title type='text'>systemctl daemon-reload</title><content type='html'>&amp;nbsp; 562 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 563 &amp;nbsp;systemctl daemon-reload&lt;br /&gt;
&amp;nbsp; 564 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 565 &amp;nbsp;vim &amp;nbsp;/etc/systemd/system/multi-user.target.wants/elasticsearch.service&lt;br /&gt;
&amp;nbsp; 566 &amp;nbsp;systemctl daemon-reload&lt;br /&gt;
&amp;nbsp; 567 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 568 &amp;nbsp;service &amp;nbsp;elasticsearch start&lt;br /&gt;
&amp;nbsp; 569 &amp;nbsp;history&lt;br /&gt;
&amp;nbsp; 570 &amp;nbsp;systemctl disable elasticsearch&lt;br /&gt;
&amp;nbsp; 571 &amp;nbsp;systemctl enable elasticsearch&lt;br /&gt;
&amp;nbsp; 572 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 573 &amp;nbsp;less /usr/lib/systemd/system/elasticsearch.service&lt;br /&gt;
&amp;nbsp; 574 &amp;nbsp;vim &amp;nbsp;/etc/systemd/system/multi-user.target.wants/elasticsearch.service&lt;br /&gt;
&amp;nbsp; 575 &amp;nbsp;vim /etc/init.d/elasticsearch&lt;br /&gt;
&amp;nbsp; 576 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 577 &amp;nbsp;systemctl daemon-reload&lt;br /&gt;
&amp;nbsp; 578 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 579 &amp;nbsp;vim /etc/init.d/elasticsearch&lt;br /&gt;
&amp;nbsp; 580 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 581 &amp;nbsp;systemctl daemon-reload&lt;br /&gt;
&amp;nbsp; 582 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 583 &amp;nbsp;history&lt;br /&gt;
&amp;nbsp; 584 &amp;nbsp;systemctl disable elasticsearch&lt;br /&gt;
&amp;nbsp; 585 &amp;nbsp;systemctl enable elasticsearch&lt;br /&gt;
&amp;nbsp; 586 &amp;nbsp;systemctl status elasticsearch.service&lt;br /&gt;
&amp;nbsp; 587 &amp;nbsp;ps -ef | grep el&lt;br /&gt;
&amp;nbsp; 588 &amp;nbsp;service &amp;nbsp;elasticsearch start&lt;br /&gt;
&amp;nbsp; 589 &amp;nbsp;service &amp;nbsp;elasticsearch status&lt;br /&gt;
&amp;nbsp; 590 &amp;nbsp;ps -ef | grep el&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/2618395874273435587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2015/11/systemctl-daemon-reload.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/2618395874273435587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/2618395874273435587'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2015/11/systemctl-daemon-reload.html' title='systemctl daemon-reload'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-8327873336581482421</id><published>2015-11-16T13:11:00.000-08:00</published><updated>2015-11-16T13:11:47.997-08:00</updated><title type='text'>hadoop 2.7.1 single node cluster</title><content type='html'>root@hadoop-master:/myhadoop# export JAVA_HOME=/usr/lib/jvm/java-8-oracle/&lt;br /&gt;
root@hadoop-master:/myhadoop# export HADOOP\_PREFIX=/myhadoop/hadoop-2.7.1&lt;br /&gt;
root@hadoop-master:/myhadoop# export HADOOP_CONF_DIR=$HADOOP_PREFIX/etc/hadoop&lt;br /&gt;
&lt;br /&gt;
root@hadoop-master:~# vim /myhadoop/hadoop-2.7.1/etc/hadoop/hadoop-env.sh&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
#export JAVA_HOME=${JAVA_HOME}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;If you want to change it globally and at system level;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;root@hadoop-master:~# vim /etc/environment&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
PATH=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games&quot;&lt;/div&gt;
&lt;div&gt;
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/8327873336581482421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2015/11/hadoop-271-single-node-cluster.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/8327873336581482421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/8327873336581482421'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2015/11/hadoop-271-single-node-cluster.html' title='hadoop 2.7.1 single node cluster'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-3909549010517400805</id><published>2015-11-12T14:00:00.001-08:00</published><updated>2015-11-12T14:00:21.529-08:00</updated><title type='text'>hadoop on ubunte with java 8</title><content type='html'>1, install java 8&lt;br /&gt;
&amp;nbsp;sudo add-apt-repository ppa:webupd8team/java&lt;br /&gt;
&amp;nbsp;sudo apt-get update&lt;br /&gt;
&amp;nbsp;sudo apt-get install oracle-java8-installer&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2, export java&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3, download hadoop&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
wget http://apache.arvixe.com/hadoop/common/stable/hadoop-2.7.1.tar.gz&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4, copy xml file&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
cp hadoop-2.7.1/etc/hadoop/*.xml input/&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5, run hadoop&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
hadoop-2.7.1/bin/hadoop jar hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar grep input output &#39;dfs[a-z.]+&#39;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/3909549010517400805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2015/11/hadoop-on-ubunte-with-java-8.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/3909549010517400805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/3909549010517400805'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2015/11/hadoop-on-ubunte-with-java-8.html' title='hadoop on ubunte with java 8'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-4646425539258531751</id><published>2015-09-23T16:41:00.000-07:00</published><updated>2015-09-23T16:41:00.694-07:00</updated><title type='text'>docket rabbitmq</title><content type='html'>root@sam-clm2:~# docker exec 7931dc7e8611 /usr/sbin/rabbitmq-plugins enable rabbitmq_management&lt;br /&gt;
The following plugins have been enabled:&lt;br /&gt;
&amp;nbsp; mochiweb&lt;br /&gt;
&amp;nbsp; webmachine&lt;br /&gt;
&amp;nbsp; rabbitmq_web_dispatch&lt;br /&gt;
&amp;nbsp; amqp_client&lt;br /&gt;
&amp;nbsp; rabbitmq_management_agent&lt;br /&gt;
&amp;nbsp; rabbitmq_management&lt;br /&gt;
&lt;br /&gt;
Applying plugin configuration to rabbit@ms-rabbit... started 6 plugins.&lt;br /&gt;
root@sam-clm2:~#&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; wget http://guest:guest@localhost:15672/cli/rabbitmqadmin&lt;br /&gt;
&amp;nbsp; mv rabbitmqadmin.2 /usr/local/bin/rabbitmqadmin&lt;br /&gt;
&amp;nbsp; chmod +x /usr/local/bin/rabbitmqadmin&lt;br /&gt;
&amp;nbsp; rabbitmqadmin list exchanges&lt;br /&gt;
&lt;br /&gt;
root@sam-clm2:~# rabbitmqadmin declare exchange name=exchange_Office type=direct&lt;br /&gt;
exchange declared&lt;br /&gt;
root@sam-clm2:~# rabbitmqadmin declare exchange name=exchange_PE type=direct&lt;br /&gt;
exchange declared&lt;br /&gt;
root@sam-clm2:~# rabbitmqadmin declare exchange name=exchange_JS type=direct&lt;br /&gt;
exchange declared&lt;br /&gt;
root@sam-clm2:~# rabbitmqadmin declare exchange name=exchange_ALL type=direct&lt;br /&gt;
exchange declared&lt;br /&gt;
root@sam-clm2:~# rabbitmqadmin declare exchange name=exchange_PDF type=direct&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
root@sam-clm2:~# docker exec 7931dc7e8611 /usr/sbin/rabbitmq-plugins list&lt;br /&gt;
&amp;nbsp;Configured: E = explicitly enabled; e = implicitly enabled&lt;br /&gt;
&amp;nbsp;| Status: &amp;nbsp; * = running on rabbit@ms-rabbit&lt;br /&gt;
&amp;nbsp;|/&lt;br /&gt;
[e*] amqp_client &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] cowboy &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;0.5.0-rmq3.5.4-git4b93c2d&lt;br /&gt;
[e*] mochiweb &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;2.7.0-rmq3.5.4-git680dba8&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_amqp1_0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_auth_backend_ldap &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_auth_mechanism_ssl &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_consistent_hash_exchange 3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_federation &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_federation_management &amp;nbsp; &amp;nbsp;3.5.4&lt;br /&gt;
[E*] rabbitmq_management &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[e*] rabbitmq_management_agent &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_management_visualiser &amp;nbsp; &amp;nbsp;3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_mqtt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_shovel &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_shovel_management &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_stomp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_tracing &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.5.4&lt;br /&gt;
[e*] rabbitmq_web_dispatch &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_web_stomp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.5.4&lt;br /&gt;
[ &amp;nbsp;] rabbitmq_web_stomp_examples &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.5.4&lt;br /&gt;
[ &amp;nbsp;] sockjs &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;0.3.4-rmq3.5.4-git3132eb9&lt;br /&gt;
[e*] webmachine &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.10.3-rmq3.5.4-gite9359c7&lt;br /&gt;
&lt;br /&gt;
ang@sam-clm2:~$ rabbitmqadmin list exchanges&lt;br /&gt;
+--------------------+---------+&lt;br /&gt;
| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp;type &amp;nbsp; |&lt;br /&gt;
+--------------------+---------+&lt;br /&gt;
| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| direct &amp;nbsp;|&lt;br /&gt;
| amq.direct &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | direct &amp;nbsp;|&lt;br /&gt;
| amq.fanout &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | fanout &amp;nbsp;|&lt;br /&gt;
| amq.headers &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| headers |&lt;br /&gt;
| amq.match &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| headers |&lt;br /&gt;
| amq.rabbitmq.log &amp;nbsp; | topic &amp;nbsp; |&lt;br /&gt;
| amq.rabbitmq.trace | topic &amp;nbsp; |&lt;br /&gt;
| amq.topic &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| topic &amp;nbsp; |&lt;br /&gt;
| exchange_ALL &amp;nbsp; &amp;nbsp; &amp;nbsp; | direct &amp;nbsp;|&lt;br /&gt;
| exchange_JS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| direct &amp;nbsp;|&lt;br /&gt;
| exchange_Office &amp;nbsp; &amp;nbsp;| direct &amp;nbsp;|&lt;br /&gt;
| exchange_PDF &amp;nbsp; &amp;nbsp; &amp;nbsp; | direct &amp;nbsp;|&lt;br /&gt;
| exchange_PE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| direct &amp;nbsp;|&lt;br /&gt;
+--------------------+---------+&lt;br /&gt;
&lt;br /&gt;
ang@sam-clm2:~$ rabbitmqadmin list queues&lt;br /&gt;
+------------------+----------+&lt;br /&gt;
| &amp;nbsp; &amp;nbsp; &amp;nbsp; name &amp;nbsp; &amp;nbsp; &amp;nbsp; | messages |&lt;br /&gt;
+------------------+----------+&lt;br /&gt;
| queue_ALL_new &amp;nbsp; &amp;nbsp;| 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;br /&gt;
| queue_JS_new &amp;nbsp; &amp;nbsp; | 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;br /&gt;
| queue_Office_new | 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;br /&gt;
| queue_PDF_new &amp;nbsp; &amp;nbsp;| 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;br /&gt;
| queue_PE_new &amp;nbsp; &amp;nbsp; | 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;br /&gt;
+------------------+----------+&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/4646425539258531751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2015/09/docket-rabbitmq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/4646425539258531751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/4646425539258531751'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2015/09/docket-rabbitmq.html' title='docket rabbitmq'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-3826342611144924783</id><published>2015-09-23T16:18:00.002-07:00</published><updated>2015-09-23T16:41:19.277-07:00</updated><title type='text'>install rabbit-mq in ubuntu</title><content type='html'>1, vim /etc/apt/sources.list&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #555555; font-family: Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #555555; font-family: Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Add the following line to your&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;code &quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px; white-space: nowrap;&quot;&gt;/etc/apt/sources.list&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #555555; font-family: Verdana, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;sourcecode&quot; style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px; padding: 5px;&quot;&gt;deb http://www.rabbitmq.com/debian/ testing main&lt;/pre&gt;
&lt;pre class=&quot;sourcecode&quot; style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px; padding: 5px;&quot;&gt;&lt;/pre&gt;
&lt;br /&gt;
&amp;nbsp;2, &amp;nbsp; &amp;nbsp;wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
3, &amp;nbsp;apt-key add rabbitmq-signing-key-public.asc&lt;br /&gt;
&lt;br /&gt;
4, &amp;nbsp; &amp;nbsp;apt-get update&lt;br /&gt;
&lt;br /&gt;
5, &amp;nbsp;apt-get install rabbitmq-server&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
6, &amp;nbsp;apt-get -f install&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; 61 &amp;nbsp;rabbitmqadmin list exchanges&lt;br /&gt;
&amp;nbsp; &amp;nbsp;62 &amp;nbsp;rabbitmqadmin list exchanges -u guest -p guest&lt;br /&gt;
&amp;nbsp; &amp;nbsp;63 &amp;nbsp;rabbitmq-plugins list&lt;br /&gt;
&amp;nbsp; &amp;nbsp;64 &amp;nbsp;rabbitmq-plugins enable rabbitmq_management&lt;br /&gt;
&amp;nbsp; &amp;nbsp;65 &amp;nbsp;rabbitmq-plugins list&lt;br /&gt;
&amp;nbsp; &amp;nbsp;66 &amp;nbsp;rabbitmqadmin list exchanges -u guest -p guest&lt;br /&gt;
&amp;nbsp; &amp;nbsp;67 &amp;nbsp;rabbitmqadmin list exchanges&lt;br /&gt;
&amp;nbsp; &amp;nbsp;68 &amp;nbsp;rabbitmqadmin list queues&lt;br /&gt;
&amp;nbsp; &amp;nbsp;69 &amp;nbsp;history&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/3826342611144924783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2015/09/install-rabbit-mq-in-buntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/3826342611144924783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/3826342611144924783'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2015/09/install-rabbit-mq-in-buntu.html' title='install rabbit-mq in ubuntu'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5859857419694953092.post-6017139548073125936</id><published>2015-08-11T13:10:00.002-07:00</published><updated>2015-08-11T13:10:51.517-07:00</updated><title type='text'>install qpid on ubuntu 14</title><content type='html'># install qpid&lt;br /&gt;
apt-get install qpidd qpid-doc qpid-client python-qpid-extras-qmf python-qpid python-cqpid&lt;br /&gt;
&lt;br /&gt;
wget http://apache.mirrors.tds.net/qpid/0.32/qpid-tools-0.32.tar.gz&lt;br /&gt;
tar zxvf qpid-tools-0.32.tar.gz&lt;br /&gt;
cd qpid-tools-0.32/&lt;br /&gt;
./setup.py build&lt;br /&gt;
./setup.py install</content><link rel='replies' type='application/atom+xml' href='http://lanswer.blogspot.com/feeds/6017139548073125936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lanswer.blogspot.com/2015/08/install-qpid-on-ubuntu-14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/6017139548073125936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5859857419694953092/posts/default/6017139548073125936'/><link rel='alternate' type='text/html' href='http://lanswer.blogspot.com/2015/08/install-qpid-on-ubuntu-14.html' title='install qpid on ubuntu 14'/><author><name>Tech Notes</name><uri>http://www.blogger.com/profile/06685493840075255023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZx55QQd0jufhYc2wh24iVxkXOTMyqtvPhtb9Pq3qPUUJRi8XW0fxBNSg3rkN1VSe_36gR53CYRH8Kc9fFkKpaegfXAzn07GEo27_mY9c9_AiWHOH_7x2gwonHUpR0crY/s220/g1.JPG'/></author><thr:total>0</thr:total></entry></feed>