<?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-8946695783939626306</id><updated>2024-12-19T20:36:06.071+01:00</updated><category term="http://doc.pfsense.org/index.php/PPTP_VPN"/><title type='text'>Opensource Tech. Stuffs</title><subtitle type='html'>Technologies from the opensource world</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-8643293212985422797</id><published>2019-09-14T14:52:00.006+01:00</published><updated>2023-10-22T17:08:44.580+01:00</updated><title type='text'>How-to merge or consolidate many excel worksheets into one</title><content type='html'>&lt;head&gt;
  &lt;!-- Google tag (gtag.js) --&gt;
&lt;script async src=&quot;https://www.googletagmanager.com/gtag/js?id=G-EPC1GM384F&quot;&gt;&lt;/script&gt;
&lt;script&gt;
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag(&#39;js&#39;, new Date());

  gtag(&#39;config&#39;, &#39;G-EPC1GM384F&#39;);
&lt;/script&gt;
&lt;script async src=&quot;https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9219846471242282&quot;
     crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
  &lt;/head&gt;
Insert in MS Excel VBA the code below and run. It will combine all worksheets in one called &quot;Combined_worksheet&quot;&lt;br /&gt;
==&lt;br /&gt;
Sub Combine()&lt;br /&gt;
&#39;UpdatebyExtendoffice&lt;br /&gt;
Dim J As Integer&lt;br /&gt;
On Error Resume Next&lt;br /&gt;
Sheets(1).Select&lt;br /&gt;
Worksheets.Add&lt;br /&gt;
Sheets(1).Name = &quot;Combined_worksheet&quot;&lt;br /&gt;
Sheets(2).Activate&lt;br /&gt;
Range(&quot;A1&quot;).EntireRow.Select&lt;br /&gt;
Selection.Copy Destination:=Sheets(1).Range(&quot;A1&quot;)&lt;br /&gt;
For J = 2 To Sheets.Count&lt;br /&gt;
Sheets(J).Activate&lt;br /&gt;
Range(&quot;A1&quot;).Select&lt;br /&gt;
Selection.CurrentRegion.Select&lt;br /&gt;
Selection.Offset(1, 0).Resize(Selection.Rows.Count - 1).Select&lt;br /&gt;
Selection.Copy Destination:=Sheets(1).Range(&quot;A65536&quot;).End(xlUp)(2)&lt;br /&gt;
Next&lt;br /&gt;
End Sub&lt;br /&gt;
&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;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/8643293212985422797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2019/09/how-to-merge-or-consolidate-many-excel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/8643293212985422797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/8643293212985422797'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2019/09/how-to-merge-or-consolidate-many-excel.html' title='How-to merge or consolidate many excel worksheets into one'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-6032442669087564093</id><published>2018-05-02T08:46:00.003+01:00</published><updated>2023-10-22T17:09:00.669+01:00</updated><title type='text'></title><content type='html'>&lt;head&gt;&lt;script async src=&quot;https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9219846471242282&quot;
     crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
&lt;/head
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  &lt;!-- Google tag (gtag.js) --&gt;
&lt;script async src=&quot;https://www.googletagmanager.com/gtag/js?id=G-EPC1GM384F&quot;&gt;&lt;/script&gt;
&lt;script&gt;
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag(&#39;js&#39;, new Date());

  gtag(&#39;config&#39;, &#39;G-EPC1GM384F&#39;);
&lt;/script&gt;
&lt;h1 class=&quot;title entry-title&quot; itemprop=&quot;name&quot;&gt;
  
  
  



Guide for installing DHIS2 on Ubuntu 16.04 LTS&amp;nbsp;
  
  




&lt;/h1&gt;
&lt;div class=&quot;article-content entry-content&quot; itemprop=&quot;articleBody&quot;&gt;
&lt;b&gt;Thanks to https://dhis-2.blogspot.com.ng/&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;article-content entry-content&quot; itemprop=&quot;articleBody&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;article-content entry-content&quot; itemprop=&quot;articleBody&quot;&gt;
&lt;b&gt;Works up to DHIS 2.28&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This guide assumes Ubuntu 16.04 LTS is installed on a local machine/VPS 
with 4GB of RAM and DHIS2 is used for testing purposes. This is based on
 the &lt;a href=&quot;https://docs.dhis2.org/2.28/en/implementer/html/install_server_setup.html&quot;&gt;official DHIS2 documentation&lt;/a&gt;, correcting some of it&#39;s mistakes in the commands.&lt;br /&gt;
&lt;br /&gt;
Login with the Ubuntu &#39;root&#39; account or any account in the Ubuntu sudoers list.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;Setting server time zone&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo dpkg-reconfigure tzdata&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Creating an Ubuntu user to run DHIS2&lt;/b&gt;&lt;br /&gt;Create a new user called &#39;dhis&#39; by invoking:&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo useradd -d /home/dhis -m dhis -s /bin/false&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then set the password for the account by invoking:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo passwd dhis&lt;/span&gt;&lt;br /&gt;&lt;i&gt;Make sure you set a strong password&lt;br /&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Creating the configuration directory&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo mkdir /home/dhis/config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set ownership of the directory to &#39;dhis&#39; user created above&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo chown dhis:dhis /home/dhis/config&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;PostgreSQL installation&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo apt-get install postgresql-9.5 postgresql-contrib-9.5 postgresql-9.5-postgis-2.2&lt;/span&gt;&lt;br /&gt;Create a non-privileged PostgreSQL&amp;nbsp;user called &#39;dhis&#39; by invoking:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo -u postgres createuser -SDRP dhis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a database by invoking:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo -u postgres createdb -O dhis dhis2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create the PostGIS extension&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo -u postgres psql -c &quot;create extension postgis;&quot; dhis2&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Creating DHIS2 configuration file&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo -u dhis nano /home/dhis/config/dhis.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Insert following lines to the file&amp;nbsp;&lt;span style=&quot;color: #666666;&quot;&gt;(update PostgreSQL&amp;nbsp;&lt;/span&gt;dhis&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp;user password&amp;nbsp;&lt;/span&gt;according&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp;what you set above)&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;# Hibernate SQL dialect&lt;br /&gt;connection.dialect = org.hibernate.dialect.PostgreSQLDialect&lt;br /&gt;&lt;br /&gt;# JDBC driver class&lt;br /&gt;connection.driver_class = org.postgresql.Driver&lt;br /&gt;&lt;br /&gt;# Database connection URL&lt;br /&gt;connection.url = jdbc:postgresql:dhis2&lt;br /&gt;&lt;br /&gt;# Database username&lt;br /&gt;connection.username = dhis&lt;br /&gt;&lt;br /&gt;# Database password&lt;br /&gt;connection.password =&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;xxxx&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;# Database schema behavior, can be validate, update, create, create-drop&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;connection.schema = update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;# Encryption password (sensitive)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;encryption.password = xxxx&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Java installation&lt;/b&gt;&lt;br /&gt;Oracle Java will need to be installed manually because it no longer supports installation via apt-get.&lt;br /&gt;&lt;br /&gt;Create a directory to install Java&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;mkdir /usr/java/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;cd /usr/java/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;wget -O java-linux-x64.tar.gz &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;http://oracle-java-download-link&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;(You need to replace &lt;span style=&quot;color: red;&quot;&gt;http://oracle-java-download-link&lt;/span&gt; with &quot;Linux x64&quot; download link from this page:&amp;nbsp;&lt;a href=&quot;https://www.java.com/en/download/linux_manual.jsp&quot;&gt;https://www.java.com/en/download/linux_manual.jsp&lt;/a&gt;&lt;br /&gt;&lt;i&gt;It will be something like:&amp;nbsp;http://javadl.oracle.com/webapps/download/AutoDL?BundleId=233162_512cd62ec5174c3487ac17c61aaa89e8&lt;/i&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;tar zxvf&amp;nbsp;java-linux-x64.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Tomcat and DHIS2 installation&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo apt-get install tomcat7-user&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To create a Tomcat instance for DHIS2 move to the dhis folder created above:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;cd /home/dhis/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create Tomcat instance:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo tomcat7-instance-create tomcat-dhis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set ownership of the created folder to dhis user&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo chown -R dhis:dhis /home/dhis/tomcat-dhis/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Edit setenv.sh:&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo nano&amp;nbsp;/home/dhis/tomcat-dhis/bin/setenv.sh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add the following lines to the bottom of the file:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;export JAVA_HOME=&#39;/usr/lib/jvm/java-8-oracle/&#39;&lt;br /&gt;export JAVA_OPTS=&#39;-Xmx2000m -Xms1000m&#39;&lt;br /&gt;export DHIS2_HOME=&#39;/home/dhis/config&#39;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The next step is to download the DHIS2 WAR file and place it into the webapps directory of Tomcat:&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;wget https://www.dhis2.org/download/releases/2.28/dhis.war&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Move
 the WAR file into the Tomcat webapps directory. We want to call the WAR
 file ROOT.war in order to make it available at localhost directly 
without a context path:&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo mv dhis.war tomcat-dhis/webapps/ROOT.war&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;DHIS2 should never be run as a privileged user, so edit the startup.sh:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo nano /home/dhis/tomcat-dhis/bin/startup.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Replace everything in the file with the following lines:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;#!/bin/sh&lt;br /&gt;set -e&lt;br /&gt;&lt;br /&gt;if [ &quot;$(id -u)&quot; -eq &quot;0&quot; ]; then&lt;br /&gt;&amp;nbsp; &amp;nbsp;echo &quot;This script must NOT be run as root&quot; 1&amp;gt;&amp;amp;2&lt;br /&gt;&amp;nbsp; &amp;nbsp;exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;export CATALINA_BASE=&quot;/home/dhis/tomcat-dhis&quot;&lt;br /&gt;/usr/share/tomcat7/bin/startup.sh&lt;br /&gt;echo &quot;Tomcat started&quot;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Running DHIS2&lt;/b&gt;&lt;br /&gt;DHIS2 can now be started by invoking:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo -u dhis tomcat-dhis/bin/startup.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To
 monitor the behavior of Tomcat, the log is the primary source of 
information. The log can be viewed with the following command:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;tail -f tomcat-dhis/logs/catalina.out&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;DHIS2 can be stopped by invoking:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo -u dhis tomcat-dhis/bin/shutdown.sh&lt;/span&gt;&lt;br /&gt;Assuming that the WAR file is called ROOT.war, you can now access your DHIS2 instance at:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://localhost:8080/&quot;&gt;http://localhost:8080&lt;/a&gt; or&lt;br /&gt;&lt;a href=&quot;http://your.server.ip.address:8080/&quot;&gt;http://your.server.ip.address:8080&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Default login details:&lt;br /&gt;Username: admin&lt;br /&gt;Password: district&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Starting DHIS2 at server startup&lt;/b&gt;&lt;br /&gt;Create init scripts:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo nano&amp;nbsp;tomcat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enter the following lines:&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;#Tomcat init script&lt;br /&gt;&lt;br /&gt;HOME=/home/dhis/tomcat-dhis/bin&lt;br /&gt;&lt;br /&gt;case $1 in&lt;br /&gt;start)&lt;br /&gt;&amp;nbsp; &amp;nbsp;sudo -u dhis ${HOME}/startup.sh&lt;br /&gt;&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;stop)&lt;br /&gt;&amp;nbsp; &amp;nbsp;sudo -u dhis ${HOME}/shutdown.sh&lt;br /&gt;&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;restart)&lt;br /&gt;&amp;nbsp; &amp;nbsp;sudo -u dhis ${HOME}/shutdown.sh&lt;br /&gt;&amp;nbsp; &amp;nbsp;sleep 5&lt;br /&gt;&amp;nbsp; &amp;nbsp;sudo -u dhis ${HOME}/startup.sh&lt;br /&gt;&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;esac&lt;br /&gt;exit 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Move the script to the init script directory and make it executable by invoking:&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo mv tomcat /etc/init.d&lt;br /&gt;sudo chmod +x /etc/init.d/tomcat&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next make sure the tomcat init script will be invoked during system startup and shutdown:&lt;br /&gt;&lt;span style=&quot;background-color: black; color: white;&quot;&gt;sudo /usr/sbin/update-rc.d -f tomcat defaults 81&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/6032442669087564093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2018/05/guide-for-installing-dhis2-on-ubuntu-16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/6032442669087564093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/6032442669087564093'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2018/05/guide-for-installing-dhis2-on-ubuntu-16.html' title=''/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-6582485713376283749</id><published>2017-01-22T21:27:00.002+01:00</published><updated>2022-04-13T20:13:21.192+01:00</updated><title type='text'>DIY Easiest Way To Repair a MacBook Pro Charger</title><content type='html'>&lt;head&gt;
&lt;script async src=&quot;https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9219846471242282&quot;
     crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
  &lt;/head&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/cjX2NyIxtCk&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/6582485713376283749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2017/01/diy-easiest-way-to-repair-macbook-pro.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/6582485713376283749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/6582485713376283749'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2017/01/diy-easiest-way-to-repair-macbook-pro.html' title='DIY Easiest Way To Repair a MacBook Pro Charger'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/cjX2NyIxtCk/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-561151156251561503</id><published>2017-01-20T10:09:00.002+01:00</published><updated>2022-04-13T20:13:47.172+01:00</updated><title type='text'>Warning Messages in &quot;R&quot; on Mac.</title><content type='html'>&lt;head&gt;
&lt;script async src=&quot;https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9219846471242282&quot;
     crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
  &lt;/head&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;https://www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-KWV7Z56&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;When starting R (or using any IDE like RStudio), the following warning messages are displayed:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;During startup - Warning messages:&lt;br /&gt;
  1: Setting LC_CTYPE failed, using &quot;C&quot;&lt;br /&gt;
  2: Setting LC_COLLATE failed, using &quot;C&quot;&lt;br /&gt;
  3: Setting LC_TIME failed, using &quot;C&quot;&lt;br /&gt;
  4: Setting LC_MESSAGES failed, using &quot;C&quot;&lt;br /&gt;
  5: Setting LC_PAPER failed, using &quot;C&quot;&lt;/span&gt; &lt;/blockquote&gt;
&amp;nbsp;To clear this error message, following the steps below:&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Open terminal and enter:&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;code&gt;defaults write org.R-project.R force.LANG en_US.UTF-8&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/blockquote&gt;
&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Restart R or R-studio.&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;!-- Google Tag Manager (noscript) --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;https://www.googletagmanager.com/ns.html?id=GTM-KWV7Z56&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;!-- End Google Tag Manager (noscript) --&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/561151156251561503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2017/01/warning-messages-in-r-on-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/561151156251561503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/561151156251561503'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2017/01/warning-messages-in-r-on-mac.html' title='Warning Messages in &quot;R&quot; on Mac.'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-6255709166975561783</id><published>2015-12-30T06:37:00.002+01:00</published><updated>2022-04-13T20:14:02.827+01:00</updated><title type='text'>How to backup multiple Mysql databases and automatically delete</title><content type='html'>&lt;head&gt;
&lt;script async src=&quot;https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9219846471242282&quot;
     crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
  &lt;/head&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The script below was adapted from iHRIS Backups (http://wiki.ihris.org/wiki/Backups) which was designed to backup one database.&amp;nbsp;&lt;/span&gt;The script below will backup all databases in Mysql.&lt;br /&gt;
&lt;br /&gt;
There is the option to remove database backup files older than 7days except from the first day of the month.&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#!/bin/sh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;MHOST=localhost&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;MUSER=db_username&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;MPASS=db_password&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;BACKUPDIR=/db/backup/dir&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;MYSQL=&quot;$(which mysql)&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;MYSQLDUMP=&quot;$(which mysqldump)&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SUFFIX=`date +%F`&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd $BACKUPDIR&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;echo &quot;Run MySQL backup&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;DBS=&quot;$($MYSQL -u $MUSER -h $MHOST -p$MPASS -Bse &#39;show databases&#39;)&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;for db in $DBS&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;do&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; $MYSQLDUMP -u $MUSER -h $MHOST -p$MPASS $db &amp;gt; backup_${db}_${SUFFIX}.sql&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; bzip2 -f backup_${db}_${SUFFIX}.sql&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;done&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;co0&quot; style=&quot;background-color: #f9f9f9; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;







&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;i&gt;## Uncomment the following line to remove backup files older than 7 days except&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;f&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&lt;i&gt;rom the first day of the month.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;#find $BACKUPDIR -name &quot;backup_*.sql.bz2&quot; -mtime &lt;/span&gt;&lt;b style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;+7&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; -not -name &quot;backup_*-01.sql.bz2&quot; -exec rm {} \;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Save the file, and ensure the script is executable using the command &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chmod a+x newfile.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/6255709166975561783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2015/12/mysql-database-backup-script-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/6255709166975561783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/6255709166975561783'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2015/12/mysql-database-backup-script-with.html' title='How to backup multiple Mysql databases and automatically delete'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-7471910243693470112</id><published>2015-02-28T00:26:00.002+01:00</published><updated>2015-02-28T00:26:47.793+01:00</updated><title type='text'>MySQL Databases - Commandline Backup and Restore</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Backup A Single Database&lt;br /&gt; &lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mysqldump&amp;nbsp;-u root -p dbname &amp;gt; dbname.sql&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Where: &lt;br /&gt;dbname&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = is the name of the database to backup&lt;br /&gt;dbname.sql = is the name of the backup file, can also be location of backup file&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Restore A Single Database&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mysqldump&amp;nbsp;-u root -p dbname &amp;lt; dbname.sql&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Backup All Databases&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mysqldump -u root -p --all-databases &amp;gt; All-dbname.sql&lt;/span&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Restore Single Database from All Database Backup&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;&lt;/code&gt;mysql -u root -p --one-database dbname &amp;lt; All-dbname.sql&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/7471910243693470112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2015/02/mysql-databases-commandline-backup-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/7471910243693470112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/7471910243693470112'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2015/02/mysql-databases-commandline-backup-and.html' title='MySQL Databases - Commandline Backup and Restore'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-4209787134075249246</id><published>2014-10-28T10:15:00.000+01:00</published><updated>2014-10-28T10:15:11.902+01:00</updated><title type='text'>Perl warning Setting locale failed in Ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;u&gt;&lt;b&gt;Perl Locale Warning.&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
The warnings could be irritating, especially when installing any application. The warnings are also visible when some commands are run &lt;br /&gt;
&lt;br /&gt;
The warnings look like: &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;perl: warning: Falling back to the standard locale (&quot;C&quot;).&lt;br /&gt;locale: Cannot set LC_ALL to default locale: No such file or directory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
and when you run Run locale from the commandline&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;bonkhi@sparda-coven:$ &lt;b&gt;locale&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;locale: Cannot set LC_ALL to default locale: No such file or directory&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LANG=en_US.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LANGUAGE=&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_CTYPE=&quot;en_US.UTF-8&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_NUMERIC=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_TIME=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_COLLATE=&quot;en_US.UTF-8&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_MONETARY=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_MESSAGES=&quot;en_US.UTF-8&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_PAPER=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_NAME=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_ADDRESS=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_TELEPHONE=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_MEASUREMENT=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_IDENTIFICATION=en_NG.UTF-8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LC_ALL=&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;To solve this, generate the missing locale&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;locale-gen en_US.UTF-8&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Set the missing locale &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;export LANGUAGE=en_US.UTF-8&lt;br /&gt;export LANG=en_US.UTF-8&lt;br /&gt;export LC_ALL=en_US.UTF-8&lt;br /&gt;locale-gen en_US.UTF-8&lt;br /&gt;dpkg-reconfigure locales&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/4209787134075249246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2014/10/perl-warning-setting-locale-failed-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/4209787134075249246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/4209787134075249246'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2014/10/perl-warning-setting-locale-failed-in.html' title='Perl warning Setting locale failed in Ubuntu'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-212085901627880315</id><published>2014-10-03T13:52:00.002+01:00</published><updated>2016-10-25T04:41:29.862+01:00</updated><title type='text'>How do you reset the circuit protection on Yamaha RX-v373?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Yamaha RX-V373 AV receiver&#39;s protection circuity is activated when there is fluctuation in power &lt;b&gt;three (3) consecutive times&lt;/b&gt;. This protection mode disables the capability to &quot;&lt;b&gt;turn on&quot;&lt;/b&gt; the device.&lt;br /&gt;
&lt;br /&gt;
To disable this:&lt;br /&gt;
&lt;br /&gt;
Hold &quot;&lt;b&gt;Info&lt;/b&gt; + &lt;b&gt;Tone Control&lt;/b&gt; + &lt;b&gt;Straight&lt;/b&gt;&quot; for at least five seconds, while still holding, press the &quot;&lt;b&gt;Power&lt;/b&gt;&quot; button.&lt;br /&gt;
&lt;br /&gt;
Manually reboot the AVR for normal operation.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/212085901627880315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2014/10/how-do-you-reset-circuit-protection-on.html#comment-form' title='38 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/212085901627880315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/212085901627880315'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2014/10/how-do-you-reset-circuit-protection-on.html' title='How do you reset the circuit protection on Yamaha RX-v373?'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>38</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-558875282572941757</id><published>2013-05-15T14:55:00.002+01:00</published><updated>2013-05-15T15:10:01.410+01:00</updated><title type='text'>Using Php 5.3 on Cpanel platform</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To install applications that require a higher PHP version, create a &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;.htaccess&lt;/span&gt; file inside the application directory and specify which version of php you want used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# Use PHP 5.3&lt;br /&gt;AddType application/x-httpd-php53 .php&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/558875282572941757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2013/05/using-php-53-on-cpanel-platform.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/558875282572941757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/558875282572941757'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2013/05/using-php-53-on-cpanel-platform.html' title='Using Php 5.3 on Cpanel platform'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-478757496901710657</id><published>2013-04-29T11:11:00.004+01:00</published><updated>2013-04-29T11:21:07.993+01:00</updated><title type='text'>SSH permission issue - failed to add host to known hosts (/home/username/.ssh/known_hosts)</title><content type='html'>&amp;nbsp;The permission set on the &lt;b&gt;.ssh&lt;/b&gt; folder, the private keys and public keys matter. To solve the problem of -&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Failed to add the host to the list of known hosts (/home/username/.ssh/known_hosts)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;.ssh&lt;/b&gt; folder - permission set to 700&lt;br /&gt;
public keys (id_rsa.pub or id_dsa.pub)- permission set to 644&lt;br /&gt;
private keys (id_rsa or id_dsa)- permission set to 600</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/478757496901710657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2013/04/ssh-permission-issue-failed-to-add-host.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/478757496901710657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/478757496901710657'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2013/04/ssh-permission-issue-failed-to-add-host.html' title='SSH permission issue - failed to add host to known hosts (/home/username/.ssh/known_hosts)'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-3805664660323115407</id><published>2012-11-23T18:10:00.000+01:00</published><updated>2012-11-23T18:12:01.093+01:00</updated><title type='text'>Restore crashed Windows 7 (with no recovery image) after installing Ubuntu</title><content type='html'>Have you tried dual booting Ubuntu and Windows 7 and windows fails?&lt;br /&gt;
&lt;br /&gt;
Did the Ubuntu installation complete successfully, and grub was properly installed but you still get the blue screen of death when you try booting windows?&lt;br /&gt;
&lt;br /&gt;
Well, this is simple.&amp;nbsp;The answer is with the file type of the windows partition.&lt;br /&gt;
&lt;br /&gt;
I am assuming &lt;b&gt;you have set up Ubuntu and grub is correctly installed&lt;/b&gt;. If not, please see&amp;nbsp;&lt;a href=&quot;https://help.ubuntu.com/community/Boot-Repair#A1st_option_:_get_a_CD_including_Boot-Repair&quot;&gt;https://help.ubuntu.com/community/Boot-Repair#A1st_option_:_get_a_CD_including_Boot-Repair&lt;/a&gt;&amp;nbsp;for more information.&lt;br /&gt;
&lt;br /&gt;
To correct this, boot your system to the Linux&amp;nbsp;installation&amp;nbsp;and run in root:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;fdisk -l /dev/xxx&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHRS9u5SXwkbvJxYB13A2fwgyMj3M-1keWTT_m-mvPB1G_DRhS2mLLTchbUp4U4lJnlc1q9b9I2hCmFDE8wGa_O-Qseg8E5mbodfQaCsDegZGgxF0Vye4n4gqbP1SoEMypOGTcZndAus4/s1600/Screenshot+from+2012-11-23+17:40:57.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHRS9u5SXwkbvJxYB13A2fwgyMj3M-1keWTT_m-mvPB1G_DRhS2mLLTchbUp4U4lJnlc1q9b9I2hCmFDE8wGa_O-Qseg8E5mbodfQaCsDegZGgxF0Vye4n4gqbP1SoEMypOGTcZndAus4/s1600/Screenshot+from+2012-11-23+17:40:57.png&quot; height=&quot;105&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The Id for the windows partition (sda1 &amp;amp; sda2) is &lt;b&gt;42&lt;/b&gt; which is the code for&amp;nbsp;&lt;b&gt;SFS&lt;/b&gt;. Change the file type Id to &lt;b&gt;7&lt;/b&gt;, which corresponds to&amp;nbsp;HPFS/NTFS/exFAT, save and reboot.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;fdisk /dev/xxx&lt;/span&gt;&lt;br /&gt;
In the prompt, type&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;p&lt;/span&gt;&amp;nbsp;to print the current partition table&lt;br /&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/AVvXsEjT5cizJWE4tU7DSrdB7Wayik1ST5ydLA5ZFdGwpq8j96ZtV7JLjigJZCqHr_ase832H0nyWw0A1iiZCQIvehqIzksV9uYIxijTtaM4XMG09QivYJamBrVD2qt-lyIzopYJ-NCyxvY8uvA/s1600/Screenshot+from+2012-11-23+17:56:30.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT5cizJWE4tU7DSrdB7Wayik1ST5ydLA5ZFdGwpq8j96ZtV7JLjigJZCqHr_ase832H0nyWw0A1iiZCQIvehqIzksV9uYIxijTtaM4XMG09QivYJamBrVD2qt-lyIzopYJ-NCyxvY8uvA/s1600/Screenshot+from+2012-11-23+17:56:30.png&quot; height=&quot;188&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
To change the file type, type &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;t&lt;/span&gt; in the prompt and enter the partition to change.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-1T244Ug8Rc_NWyy-nyvlOmzASgs5B7B-KDQiMt9aONG-WeTFasAtESae7Vt1Eq0VZLHPK1vkNiBaybSuJAjsEu7aJ-p-zrVXSTkztP1hwoqwY7zhyphenhyphen__SifN4d5j4z4Ybne336gyz5VE/s1600/Screenshot+from+2012-11-23+17:56:41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-1T244Ug8Rc_NWyy-nyvlOmzASgs5B7B-KDQiMt9aONG-WeTFasAtESae7Vt1Eq0VZLHPK1vkNiBaybSuJAjsEu7aJ-p-zrVXSTkztP1hwoqwY7zhyphenhyphen__SifN4d5j4z4Ybne336gyz5VE/s1600/Screenshot+from+2012-11-23+17:56:41.png&quot; height=&quot;48&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
In my case, I will enter 1.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9QMpgvhyphenhypheniQ_EwzxqlMjTgvAZXbm6w0afmh1f0GI-4uSDzsNZVJ_VLt-NwuyuKSMEDZRJiOVmadKzVURA8sk_QxHmSSJhyix2h75iHGyiiCw6UOkxElRK43njOHc1_ao3pZZq0dEPKX9g/s1600/Screenshot+from+2012-11-23+17:56:47.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9QMpgvhyphenhypheniQ_EwzxqlMjTgvAZXbm6w0afmh1f0GI-4uSDzsNZVJ_VLt-NwuyuKSMEDZRJiOVmadKzVURA8sk_QxHmSSJhyix2h75iHGyiiCw6UOkxElRK43njOHc1_ao3pZZq0dEPKX9g/s1600/Screenshot+from+2012-11-23+17:56:47.png&quot; height=&quot;63&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
For a list of the Hex code list of the file types, enter &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;L&lt;/span&gt; in the prompt.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAg4COdDfbx8l4yVOqSUKPkkav46fG88UyVu81bxoezvGT4-nPsQIjp6P1AnMbVCyPP-gMlpzCNimZiEZiw3I46mk9XixgFNligmhzHSQtOWWAbOOisVZ8ms2GAw5IMGxmCD4UU19RYjo/s1600/Screenshot+from+2012-11-23+17:56:57.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAg4COdDfbx8l4yVOqSUKPkkav46fG88UyVu81bxoezvGT4-nPsQIjp6P1AnMbVCyPP-gMlpzCNimZiEZiw3I46mk9XixgFNligmhzHSQtOWWAbOOisVZ8ms2GAw5IMGxmCD4UU19RYjo/s1600/Screenshot+from+2012-11-23+17:56:57.png&quot; height=&quot;305&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Enter &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;7&lt;/span&gt; in the prompt, which corresponds to the HPFS/NTFS/exFAT file system.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Repeat the process for the second or third windows partition, and when done enter &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;w&lt;/span&gt; in to save.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Reboot your system, and grub will load windows ! ! &amp;nbsp;!&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/3805664660323115407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2012/11/restore-crashed-windows-7-with-no.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/3805664660323115407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/3805664660323115407'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2012/11/restore-crashed-windows-7-with-no.html' title='Restore crashed Windows 7 (with no recovery image) after installing Ubuntu'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHRS9u5SXwkbvJxYB13A2fwgyMj3M-1keWTT_m-mvPB1G_DRhS2mLLTchbUp4U4lJnlc1q9b9I2hCmFDE8wGa_O-Qseg8E5mbodfQaCsDegZGgxF0Vye4n4gqbP1SoEMypOGTcZndAus4/s72-c/Screenshot+from+2012-11-23+17:40:57.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-5940170930191323021</id><published>2011-10-18T17:37:00.001+01:00</published><updated>2011-10-18T17:38:58.031+01:00</updated><title type='text'>Install Solaris, Apache, Mysql &amp; Php (SAMP)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You may be conversant with the terms LAMP and WAMP. This means a stack of applications. &lt;br /&gt;
&lt;br /&gt;
For LAMP = Linux, Apache, Mysql and Php/Perl/Python.&lt;br /&gt;
For WAMP = Windows, Apache, Mysql and Php/Perl/Python.&lt;br /&gt;
&lt;br /&gt;
To get your new Solaris 11 installation SAMP ready, we need to install Apache, Mysql and Php.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;kilo@kilo:~$ sudo -s&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Password: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@kilo:/home/kilo# &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@kilo:/home/kilo# pkg refresh&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@kilo:/home/kilo# pkg install amp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Packages to install:&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create boot environment:&amp;nbsp;&amp;nbsp;&amp;nbsp; No&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Services to restart:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;DOWNLOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PKGS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILES&amp;nbsp;&amp;nbsp;&amp;nbsp; XFER (MB)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;database/mysql-51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 554/729&amp;nbsp;&amp;nbsp;&amp;nbsp; 59.0/75.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When done, enable the apache and mysql service.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@kilo:/home/kilo#svcadm enable apache22&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@kilo:/home/kilo#svcadm enable mysql&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
By default, the mysql root user has no password. &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@kilo:/home/kilo# mysql -u root&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Welcome to the MySQL monitor.&amp;nbsp; Commands end with ; or \g.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Your MySQL connection id is 4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Server version: 5.1.37 Source distribution&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the current input statement.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mysql&amp;gt;; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can set the password for the root user in mysql using&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
root@kilo:/home/kilo#mysqladmin -u root password &quot;PASSWORD&quot;&lt;/div&gt;
&lt;br /&gt;
If you get the error -&amp;nbsp; &lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
bash: mysqladmin: command not found&lt;/div&gt;
&lt;br /&gt;
It means that the command &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mysqladmin&lt;/span&gt; is not in the path.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@kilo:/home/kilo# which mysqladmin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
which: no mysqladmin in (/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin)&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;
&lt;br /&gt;
To solve this, use the full path for the command.&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@kilo:/home/kilo# find / -name mysqladmin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/usr/mysql/5.1/bin/sparcv9/mysqladmin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/usr/mysql/5.1/bin/mysqladmin&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/usr/mysql/5.1/bin/mysqladmin -u root password &quot;PASSWORD&quot;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/5940170930191323021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/10/install-solaris-apache-mysql-php-samp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/5940170930191323021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/5940170930191323021'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/10/install-solaris-apache-mysql-php-samp.html' title='Install Solaris, Apache, Mysql &amp; Php (SAMP)'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-445588747493039360</id><published>2011-10-18T17:36:00.000+01:00</published><updated>2011-10-18T17:36:42.682+01:00</updated><title type='text'>Configure pkg in Solaris to use proxy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To configure your Solaris image packaging retrieval client (pkg) to use proxy -&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
kilo@kilo:~$ sudo -s&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-family: inherit;&quot;&gt;(I am using solaris 11. &lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;su - root&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; can also be used)&lt;/span&gt;&lt;br /&gt;
Password: &lt;br /&gt;
root@kilo:/home/kilo#&amp;nbsp; &lt;br /&gt;
root@kilo:/home/kilo#&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;export http_proxy=”http://&lt;b&gt;proxyusername&lt;/b&gt;:&lt;b&gt;proxypassword&lt;/b&gt;@&lt;b&gt;proxyservername&lt;/b&gt;:&lt;b&gt;port&lt;/b&gt;”&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
Replace the following -&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;proxyusername&lt;/span&gt;&lt;/b&gt; = your proxy account username&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;proxypassword&lt;/span&gt;&lt;/b&gt; = your proxy account password&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;proxyservername&lt;/span&gt;&lt;/b&gt; = your proxy server address&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;port&lt;/span&gt;&lt;/b&gt; = proxy port number&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/445588747493039360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/10/configure-pkg-in-solaris-to-use-proxy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/445588747493039360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/445588747493039360'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/10/configure-pkg-in-solaris-to-use-proxy.html' title='Configure pkg in Solaris to use proxy'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-4293510580450567972</id><published>2011-10-11T13:24:00.000+01:00</published><updated>2011-10-11T13:29:13.290+01:00</updated><title type='text'>Access scanner from LTSP server and thin clients</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There seem to be a permission issue with accessing usb scanners from LTSP server and connected thin clients. Logging in as normal users, you cannot access the connected scanner. &lt;br /&gt;
&lt;br /&gt;
Running the scanimage command as a normal user&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ltsp@ltsp-ProLiant-DL380-G4:~$ scanimage -L&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;device `hp3900:libusb:001:011&#39; is a Unknown RTS8822 chipset based flatbed scanner&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
while logging in as the root user, running the scanimage command gives the parameter of the connected scanner.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@ltsp-ProLiant-DL380-G4:~# scanimage -L&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;device `hp3900:libusb:001:011&#39; is a Hewlett-Packard Scanjet 3800 flatbed scanner&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
You can however use any scan utility, but you will need root access to do this. To correct this - Looking at the permission for the usb character file&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ltsp@ltsp-ProLiant-DL380-G4:~$ lsusb &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bus 004 Device 005: ID 1c4f:0002 SiGma Micro &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bus 001 Device 011: ID 03f0:2605 Hewlett-Packard ScanJet 3800c&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bus 001 Device 009: ID 03f0:5c17 Hewlett-Packard &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
The user/group permission to the usb character device responsible for the connected usb device has read &amp;amp; write for the root user and group.&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;ltsp@ltsp-ProLiant-DL380-G4:~$ ls -l /dev/bus/usb/001&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;total 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;crw-rw-r--&amp;nbsp; 1 root root 189,&amp;nbsp; 0 2011-10-11 00:28 001&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;crw-rw-r--+ 1 root lp&amp;nbsp;&amp;nbsp; 189,&amp;nbsp; 8 2011-10-11 13:03 009&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;crw-rw-r--+ 1 root root 189, 10 2011-10-11 09:17 011&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Change the group from &lt;b&gt;root&lt;/b&gt; to &lt;b&gt;users. (In my case, the group users has all ltsp client users in that group)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt; &lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@ltsp-ProLiant-DL380-G4:/dev/bus/usb/001# chgrp users 011 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;root@ltsp-ProLiant-DL380-G4:/dev/bus/usb/001# ls -al&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;total 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;drwxr-xr-x&amp;nbsp; 2 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100 2011-10-11 09:10 .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;drwxr-xr-x&amp;nbsp; 7 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 140 2011-10-11 00:28 ..&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;crw-rw-r--&amp;nbsp; 1 root root&amp;nbsp; 189,&amp;nbsp; 0 2011-10-11 00:28 001&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;crw-rw-r--+ 1 root lp&amp;nbsp;&amp;nbsp;&amp;nbsp; 189,&amp;nbsp; 8 2011-10-11 13:03 009&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;crw-rw-r--+ 1 root users 189, 10 2011-10-11 09:17 011&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
And now.......&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ltsp@ltsp-ProLiant-DL380-G4:~$ scanimage -L&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;device `hp3900:libusb:001:011&#39; is a Hewlett-Packard Scanjet 3800 flatbed scanner&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ltsp@ltsp-ProLiant-DL380-G4:~$ &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/4293510580450567972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/10/access-scanner-from-ltsp-server-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/4293510580450567972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/4293510580450567972'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/10/access-scanner-from-ltsp-server-and.html' title='Access scanner from LTSP server and thin clients'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-2212308467221891337</id><published>2011-10-11T10:19:00.000+01:00</published><updated>2011-10-11T10:19:57.832+01:00</updated><title type='text'>Ubuntu 11.04 installation hangs on timezone selection</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When installing Ubuntu 11.04, the installation process &lt;u&gt;&lt;b&gt;hangs&lt;/b&gt;&lt;/u&gt; on &lt;u&gt;&lt;b&gt;time zone selection&lt;/b&gt;&lt;/u&gt;.&amp;nbsp; The installation hangs because of your network (Internet) connection. &lt;br /&gt;
&lt;br /&gt;
The trick in dealing with this is &lt;u&gt;&lt;b&gt;disable your network connection&lt;/b&gt;&lt;/u&gt; and restart the installation. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/2212308467221891337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/10/ubuntu-1104-installation-hangs-on-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/2212308467221891337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/2212308467221891337'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/10/ubuntu-1104-installation-hangs-on-time.html' title='Ubuntu 11.04 installation hangs on timezone selection'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-5698942297274152006</id><published>2011-09-12T14:08:00.000+01:00</published><updated>2012-07-18T14:43:21.433+01:00</updated><title type='text'>Drupal Internal links don&#39;t work after migration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
In some cases, after migrating all internal links in drupal defaults to the homepage.&amp;nbsp;If you&amp;nbsp;encounter&amp;nbsp;this issue, enable &lt;b&gt;mod_rewrite&lt;/b&gt; in Apache.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
For Ubuntu users,&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;sudo a2enmod rewrite&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;Restart Apache&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;sudo /etc/init.d/apache2 restart&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
 You can also.......&lt;br /&gt;
(a) make sure that you 
have Drupal&#39;s .htaccess file&lt;br /&gt;
(b) make sure that the apache vhost 
which controls your site does not contain an &lt;code&gt;AllowOverrides None&lt;/code&gt; which disables .htaccess files in your site&#39;s directory. Change it to &lt;code&gt;AllowOverrides All&lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/5698942297274152006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/09/drupal-internal-links-dont-work-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/5698942297274152006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/5698942297274152006'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/09/drupal-internal-links-dont-work-after.html' title='Drupal Internal links don&#39;t work after migration'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-8182066269119543984</id><published>2011-08-15T01:19:00.000+01:00</published><updated>2011-08-15T01:19:13.163+01:00</updated><title type='text'>Moodle 2.1.1 - Redirect to &#39;My Moodle&#39; page after user logon</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;To redirect users to their course page referred to as &#39;My Moodle&#39; page after login in moodle 2.1.1,&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4882673326417362379&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Click on Site administrator -&amp;gt; Appearance -&amp;gt; Navigation -&amp;gt; Default home page for users -&amp;gt; My Moodle  &lt;/div&gt;&lt;span class=&quot;post-author vcard&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/8182066269119543984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/08/moodle-211-redirect-to-my-moodle-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/8182066269119543984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/8182066269119543984'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/08/moodle-211-redirect-to-my-moodle-page.html' title='Moodle 2.1.1 - Redirect to &#39;My Moodle&#39; page after user logon'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-7097926200236332148</id><published>2011-08-11T18:32:00.008+01:00</published><updated>2011-08-11T18:37:34.851+01:00</updated><title type='text'>Moodle 2.0 - Convert database engine from MyISAM to InnoDB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This scenario usually occurs when you upgrade moodle. If upgrading from moodle-1.9 to moodle-2.1.1, there is a database engine compatibility issue. &lt;br /&gt;
&lt;br /&gt;
In the moodle notification page, the message below usually pops up:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Database tables are using MyISAM database engine, it is recommended to use ACID compliant engine with full transaction support such as InnoDB.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To convert your database engine to InnoDB, run the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;innodb.php &lt;/span&gt;script in the directory of the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;admin &lt;/span&gt;directory which is resident in the moodle directory.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;http://moodlesite.domain/admin/innodb.php&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
Replace &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;moodlesite.domain&lt;/span&gt; with you moodle path or IP address.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/7097926200236332148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/08/moodle-20-convert-database-engine-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/7097926200236332148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/7097926200236332148'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/08/moodle-20-convert-database-engine-from.html' title='Moodle 2.0 - Convert database engine from MyISAM to InnoDB'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-7349225489205745695</id><published>2011-08-11T03:47:00.001+01:00</published><updated>2011-08-11T04:09:41.126+01:00</updated><title type='text'>Enable Apache &quot;public_html&quot; for users in Ubuntu 10.04</title><content type='html'>Enable mod_userdir, which is installed by default with Apache2.&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sudo a2enmod userdir&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Create &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;public_html&lt;/span&gt; directory with the user&#39;s permissions&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mkdir public_html&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
I don&#39;t know if that is a bug or a feature. Edit file /etc/apache2/mods-available/php5.conf  and comment out lines&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...IfModule mod_userdir.c...&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...Directory /home/*/public_html..&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...php_admin_value engine Off&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .../Directory&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .../IfModule...&lt;/div&gt;&lt;br /&gt;
Restart Apache Finally, you should restart Apache.&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sudo /etc/init.d/apache2 restart&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
You can test with http://localhost/~username&amp;nbsp; or http://ip-address-of-system/~username</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/7349225489205745695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/08/enable-apache-publichtml-for-users-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/7349225489205745695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/7349225489205745695'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/08/enable-apache-publichtml-for-users-in.html' title='Enable Apache &quot;public_html&quot; for users in Ubuntu 10.04'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-1588570550614825594</id><published>2011-07-25T13:07:00.000+01:00</published><updated>2011-07-25T13:07:23.156+01:00</updated><title type='text'>How to configure rpm/debian package manager to use proxy</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;To configure package manager to use proxy in fedora, CentOS, ubuntu or generally any rpm/debian based linux, you will need to enter your proxy login details in apt.conf (for debian based) and yum.conf (for rpm based). &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;For RPM Based&lt;/u&gt;&lt;br /&gt;
Create or edit /etc/yum.conf and add the details below, replacing proxy-server, port, username and password with your own login details.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;# The proxy server - proxy server:port number&lt;br /&gt;
proxy=http://&lt;b&gt;proxy-server&lt;/b&gt;:&lt;b&gt;port&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;# The proxy account details&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;proxy_username=&lt;b&gt;username&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;proxy_password=&lt;b&gt;password&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;u&gt;For DEBIAN Based&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create  or edit /etc/apt/apt.conf and add the details below, replacing  proxy-server, port, username and password with your own login details.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;ACQUIRE {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;http::proxy &quot;http://&lt;b&gt;username&lt;/b&gt;:&lt;b&gt;password&lt;/b&gt;@&lt;b&gt;proxy-server&lt;/b&gt;:&lt;b&gt;port&lt;/b&gt;/&quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/1588570550614825594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/how-to-configure-rpmdebian-package.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/1588570550614825594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/1588570550614825594'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/how-to-configure-rpmdebian-package.html' title='How to configure rpm/debian package manager to use proxy'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-6825369398954655514</id><published>2011-07-18T19:49:00.000+01:00</published><updated>2011-07-18T19:49:40.851+01:00</updated><title type='text'>How to disable Reverse Proxy Filter on Bifrost during startup</title><content type='html'>Bifrost is an operating system modified, minimal and optimized Linux distribution, with the kernel  configured for firewalling and routing. The filter which controls the  firewall security policy, is part of the kernel code and can be  configured via ipfwadm, ipchains or iptables. The Bifrost Network Project aims to find stability, performance, filter  capabilities, administration, computer security, scalability and  development possibilities of a Linux based streamlined router/firewall  system. The hardware is basically a standard PC with two or more  network interfaces or fiber ports (using preferably the Intel Tulip chip or an e1000  Gigabit card) and a flash disk. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Reverse_proxy&quot;&gt;Reverse proxy&lt;/a&gt; Filtering seems to be enabled by default on this OS. Even after disabling (setting value to 0) this in the rp_filter file,&amp;nbsp; a system reboot enables it back.&lt;br /&gt;
&lt;br /&gt;
To disable reverse proxy filtering even at start-up, a script must be placed in the /etc/rc.d/rc.inet.local file to automatically set the value in rp_filter to 0 for all interfaces. To do this, follow the steps below:&lt;br /&gt;
&lt;br /&gt;
remount disk in writeable mode&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;remount w&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/div&gt;Edit the /etc/rc.d/rc.inet.local file and add the run script &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#This script disables Reverse Proxy Filter during startup&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;for a in /proc/sys/net/ipv4/conf/*/rp_filter;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;do&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;echo 0 &amp;gt; $a&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;done&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;To take effect, restart inet&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/etc/rc.d/rc.inet.local &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/6825369398954655514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/how-to-disable-reverse-proxy-filter-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/6825369398954655514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/6825369398954655514'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/how-to-disable-reverse-proxy-filter-on.html' title='How to disable Reverse Proxy Filter on Bifrost during startup'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-902034277800925653</id><published>2011-07-18T00:18:00.000+01:00</published><updated>2011-07-18T00:18:36.468+01:00</updated><title type='text'>How to install Google Reader Indicator on ubuntu using PPA</title><content type='html'>&lt;p&gt;Google Reader Indicator displays the number of unread items in your  Reader account along with article title and excerpt. Click on an article  will open it in your default browser.&lt;br /&gt;&lt;span id=&quot;more-12201&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Install Google Reader Indicator on ubuntu using PPA&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Open the terminal and run the following commands&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;sudo add-apt-repository ppa:atareao/atareao&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install google-reader-indicator&lt;/p&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/902034277800925653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/how-to-install-google-reader-indicator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/902034277800925653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/902034277800925653'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/how-to-install-google-reader-indicator.html' title='How to install Google Reader Indicator on ubuntu using PPA'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-5038099655309011075</id><published>2011-07-18T00:10:00.000+01:00</published><updated>2011-07-18T00:10:06.339+01:00</updated><title type='text'>Cloned moodle site log in problem</title><content type='html'>&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;&lt;u&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/h2&gt;&lt;h2&gt;&lt;u&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;I can&#39;t log in - I just stay stuck on the  login screen (Extracted from Moodle)&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/h2&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This may also apply if you are seeing  “Your session has timed out.  Please login again” and cannot log in. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The following are possible causes and actions you can take (in no  particular order): &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Check first that your main admin account (which will be a  manual account) is also a problem. If your users are using an external  authentication method (e.g. LDAP) that could be the problem. Isolate the  fault and make sure it really is Moodle before going any further. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Sessions may not be configured properly on the server. You can  test this by calling the script  http://yourserver/moodle/lib/session-test.php. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; If your server is on shared hosting check that you have not  reached your disk space quota. This will prevent new sessions being  created and nobody will be able to log in.  &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Carefully check the permissions in your &#39;moodledata&#39; area. The  web server needs to be able to write to the &#39;sessions&#39; subdirectory. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Your own computer (not your Moodle server) may have a firewall  that is stripping referrer information from the browser. Here are some  instructions for fixing &lt;a class=&quot;external text&quot; href=&quot;http://service1.symantec.com/SUPPORT/nip.nsf/46f26a2d6dafb0a788256bc7005c3fa3/b9b47ad7eddd343b88256c6b006a85a8?OpenDocument&amp;amp;src=bar_sch_nam&quot; rel=&quot;nofollow&quot; title=&quot;http://service1.symantec.com/SUPPORT/nip.nsf/46f26a2d6dafb0a788256bc7005c3fa3/b9b47ad7eddd343b88256c6b006a85a8?OpenDocument&amp;amp;src=bar_sch_nam&quot;&gt;Norton firewall products&lt;/a&gt;. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Try deleting the &lt;i&gt;sessions&lt;/i&gt; folder in your moodledata  directory (anybody currently logged in will be thrown out) &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Try deleting cookies on your computer and/or try another  browser or another client computer &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; In Site Administration &amp;gt; Server &amp;gt; Session handling, try  setting a value for &#39;Cookie prefix&#39;. You can also do this by setting &lt;code&gt;$CFG-&amp;gt;sessioncookie=&#39;something&#39;;&lt;/code&gt;  in config.php. This is especially true if you are using multiple  Moodles on the same browser.  &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Make sure you have not removed or changed the &lt;a href=&quot;http://docs.moodle.org/en/Password_salting&quot; title=&quot;Password 
salting&quot;&gt;Password Salt&lt;/a&gt; value(s) in config.php. If passwords were  created using a salt the correct salt must be in config.php for those  passwords to continue to work. This feature was optional since Moodle  1.6 but has been applied by default since 1.9.7.  &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Do you have a .htaccess file in your Moodle folder (or its  parent directories). If so, is there anything in there that might be  causing trouble (strange redirects, access restrictions etc.)? &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt; You are using the correct username and password, yes? &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/5038099655309011075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/cloned-moodle-site-log-in-problem.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/5038099655309011075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/5038099655309011075'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/cloned-moodle-site-log-in-problem.html' title='Cloned moodle site log in problem'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-4489894226739286208</id><published>2011-07-18T00:08:00.000+01:00</published><updated>2011-07-18T00:08:04.447+01:00</updated><title type='text'>Planned Changes to Next Ubuntu Version 10.04 (Lucid Lynx)</title><content type='html'>&lt;a href=&quot;http://www.ubuntugeek.com/planned-changes-to-next-ubuntu-version-10-04-lucid-lynx.html&quot;&gt;Planned Changes to Next Ubuntu Version 10.04 (Lucid Lynx)&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/4489894226739286208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/planned-changes-to-next-ubuntu-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/4489894226739286208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/4489894226739286208'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2011/07/planned-changes-to-next-ubuntu-version.html' title='Planned Changes to Next Ubuntu Version 10.04 (Lucid Lynx)'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8946695783939626306.post-3730382122238534686</id><published>2010-02-23T20:12:00.001+01:00</published><updated>2010-02-23T20:13:52.097+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="http://doc.pfsense.org/index.php/PPTP_VPN"/><title type='text'>pfsense PPTP VPN setup</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;Setting up a PPTP VPN server in pfsense is easy. Before doing this, you need to ask your self a few questions.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;What is the external interface (public IP) at which users can terminate their PPTP connections on.&lt;/li&gt;
&lt;li&gt;An address range (/28) perferably in your LAN that the remote systems will acquire.&lt;/li&gt;
&lt;/ol&gt;When this two issues are sorted, we can continue setting up the server.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Log into your pfsense gateway, click on VPN------PPTP&lt;/li&gt;
&lt;/ul&gt;&lt;ol&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqhOJjWlGquPmnxZPPEiN6XhVEBj-VBJF87Ec-5HCrSGwD9Lt0BDIjpLMJAJffJ3tFEie13onSQlOAyC1wsGxgtkHTj7Jad6i6E8OsYColIGQtgHf_8eqpEbGL0IMeh9P_GOO0n3kPiOc/s1600-h/pptp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqhOJjWlGquPmnxZPPEiN6XhVEBj-VBJF87Ec-5HCrSGwD9Lt0BDIjpLMJAJffJ3tFEie13onSQlOAyC1wsGxgtkHTj7Jad6i6E8OsYColIGQtgHf_8eqpEbGL0IMeh9P_GOO0n3kPiOc/s400/pptp.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&amp;nbsp;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Enable PPTP server, specify the external interface IP address or public address, and the remote address (a subnet of the LAN address) and SAVE.&lt;/li&gt;
&lt;/ul&gt;&lt;ol&gt;&lt;/ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&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/AVvXsEipoc5wY0f4R3I8-Tps_PfcasOnN8Wm6JLHLUWiO-WuzemQzj856sz03DVs5UPWGFpneohmlvBQZm3UwZu9y7VuPUfCKv9tUkVpx-7FEYry7wQD81RqK3oCqk3TKnsV-Ai7MuTi_z1lZTQ/s1600-h/pptp2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipoc5wY0f4R3I8-Tps_PfcasOnN8Wm6JLHLUWiO-WuzemQzj856sz03DVs5UPWGFpneohmlvBQZm3UwZu9y7VuPUfCKv9tUkVpx-7FEYry7wQD81RqK3oCqk3TKnsV-Ai7MuTi_z1lZTQ/s400/pptp2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;To create PPTP users, click on the user tab, then click on the add user sign. Enter username and password and SAVE.&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&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/AVvXsEgnP9nyoDgJnmeSqomDxQZmJ9b0WFxAHS74LOfqaUzwzFyWD2Jg4oujkLBWImhcJXol0et26KvECpRAbcZ-tNuyYrKs_eU2cKQ1hj5KyMOy3x58YtFoIq71wGebjJp452A1qeKB4MZX7cg/s1600-h/pptp4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP9nyoDgJnmeSqomDxQZmJ9b0WFxAHS74LOfqaUzwzFyWD2Jg4oujkLBWImhcJXol0et26KvECpRAbcZ-tNuyYrKs_eU2cKQ1hj5KyMOy3x58YtFoIq71wGebjJp452A1qeKB4MZX7cg/s320/pptp4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&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/AVvXsEiSubKoraY6xJMjQguCwygtGSJNxRzx2y5vAwlQ3k3b-QQhK5TiXdy8_u3TirvrBXoXdTo8CXoaUWjBZoGnN2ppKXcFdV0zWWr_3BymFhxt5nUOxFCzL3SCA8oCpXFvrcM_Ki4QBP3PkTk/s1600-h/pptp3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSubKoraY6xJMjQguCwygtGSJNxRzx2y5vAwlQ3k3b-QQhK5TiXdy8_u3TirvrBXoXdTo8CXoaUWjBZoGnN2ppKXcFdV0zWWr_3BymFhxt5nUOxFCzL3SCA8oCpXFvrcM_Ki4QBP3PkTk/s400/pptp3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;PPTP will automatically create a rule allowing traffic to the interface.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Configure PPTP client under windows &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Start --&amp;gt; Control Panel --&amp;gt; Network Connections &lt;br /&gt;
File --&amp;gt; New Connection --&amp;gt; Next &lt;br /&gt;
Connect to the network at my workplace --&amp;gt; Next &lt;br /&gt;
Select VPN connection --&amp;gt; Next &lt;br /&gt;
Enter descriptive name for connection --&amp;gt; Next &lt;br /&gt;
Do not dial the initial connection --&amp;gt; Next &lt;br /&gt;
Enter hostname or PUBLIC IP address of the PPTP server --&amp;gt; Next &lt;br /&gt;
&lt;i&gt;Note that in this example the IP here is RFC1918 private, however that’s only because in my lab environment the WAN IP is on a private segment.&lt;/i&gt; &lt;br /&gt;
Select do not use smart card --&amp;gt; Next  &lt;fixme: at=&quot;&quot; auth=&quot;&quot; based=&quot;&quot; for=&quot;&quot; pki=&quot;&quot; point=&quot;&quot; pptp=&quot;&quot; should=&quot;&quot; some=&quot;&quot; support=&quot;&quot; vpn=&quot;&quot; we=&quot;&quot;&gt; &lt;/fixme:&gt;&lt;br /&gt;
Click on Finish &lt;br /&gt;
That is all that is required. Now, if you will be accessing resources on the VPN network that are not directly connected to the firewall itself, you will probably want to skip this step. &lt;br /&gt;
If you do skip this step when you connect to the PPTP server, your default gateway for ALL traffic will be via the PPTP VPN. With the current ruleset I’ve created in this example, this means that you will be unable to reach any resources outside the LAN or DMZ subnets. &lt;br /&gt;
To remedy the situation, click on Properties &lt;br /&gt;
Click on Networking --&amp;gt; Internet Protocol &lt;br /&gt;
Properties --&amp;gt; Advanced &lt;br /&gt;
Uncheck “use default gateway on remote network” &lt;br /&gt;
Click OK, OK, OK &lt;br /&gt;
Now enter your username and password (configured during the PPTP User Setup process) &lt;br /&gt;
Click on Connect &lt;br /&gt;
Should get Connecting --&amp;gt; Verifying username &amp;amp; password --&amp;gt; Authenticated &lt;br /&gt;
Now right click on the tray icon for the VPN connection --&amp;gt; Properties --&amp;gt; Details &lt;br /&gt;
Ensure that we are using MSCHAP v2 and MPPE 128 &lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-opensource.blogspot.com/feeds/3730382122238534686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-opensource.blogspot.com/2010/02/pfsense-pptp-vpn-setup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/3730382122238534686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8946695783939626306/posts/default/3730382122238534686'/><link rel='alternate' type='text/html' href='http://tech-opensource.blogspot.com/2010/02/pfsense-pptp-vpn-setup.html' title='pfsense PPTP VPN setup'/><author><name>Tech-Opensource</name><uri>http://www.blogger.com/profile/02255802162046510134</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqhOJjWlGquPmnxZPPEiN6XhVEBj-VBJF87Ec-5HCrSGwD9Lt0BDIjpLMJAJffJ3tFEie13onSQlOAyC1wsGxgtkHTj7Jad6i6E8OsYColIGQtgHf_8eqpEbGL0IMeh9P_GOO0n3kPiOc/s72-c/pptp.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>