Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Saturday, June 2, 2012

Unable to connect: Access denied: HTTP proxy server forbids port 6667 tunneling

if you are using Pidgin IRC client behind a proxy and getting this error
"Unable to connect: Access denied: HTTP proxy server forbids port 6667 tunneling"

Select
Account --> (select your account) --> Edit Account

GoTo proxy tab and change proxy type to "No Proxy"

Tuesday, May 29, 2012

Install GRASS GIS 7.0 svn


Download GRASS GIS. you need an SVN client to checkout the source
cd ~/code

svn checkout https://svn.osgeo.org/grass/grass/trunk grass7



cd grass7

./configure --with-tcltk-includes=/usr/include/tcl8.5
--with-proj-share=/usr/share/proj --with-python
--with-gdal=/usr/local/bin/gdal-config --with-ffmpeg=yes
--with-ffmpeg-includes="/usr/include/libavcodec/
/usr/include/libavformat/ /usr/include/libswscale" --with-sqlite
--with-postgres --with-postgres-includes=/usr/include/postgresql/
--with-wxwidgets=/usr/bin/wx-config
--with-mysql-includes=/usr/include/mysql --with-opengl-libs=/usr/lib/

Compile using GNU Make
make
Install grass7. Default install location will be /usr/local/grass-7.0.svn
sudo make install
start GRASS GIS 7 using terminal. #$grass70

Tuesday, August 30, 2011

HowTo Install Redmine on linux

Install redmine on linux
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_using_Debian_package

HowTo GRASS GIS Install

./configure
--with-tcltk-includes=/usr/include/tcl8.5
--with-proj-share=/usr/share/proj --with-python
--with-gdal=/usr/local/bin/gdal-config --with-ffmpeg=yes
--with-ffmpeg-includes="/usr/include/libavcodec/
/usr/include/libavformat/ /usr/include/libswscale" --with-sqlite
--with-postgres --with-postgres-includes=/usr/include/postgresql/
--with-wxwidgets=/usr/bin/wx-config
--with-mysql-includes=/usr/include/mysql --with-opengl-libs=/usr/lib/

make && sudo make install

How To setup svn server on ubuntu

Create new SVN repo

svnadmin create wgrass

Import files to SVN repo

svn import /home/rashad/code/wgrass/ file:///home/rashad/svn/wgrass


Create User - newuser for svn repo

sudo htpasswd -cm /etc/apache2/pass.passwd newuser
Enter Password:
Re-Enter Password:

Add user to svn Repo

nano wgrass/conf/passwd

### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
### example below it contains one section labelled [users].
### The name and password for each user follow, one account per line.

[users]
newuser = pass


nano wgrass/conf/svnserve.conf

[general]
### These options control access to the repository for unauthenticated
### and authenticated users.  Valid values are "write", "read",
### and "none".  The sample settings below are the defaults.
anon-access = none
auth-access = write
### The password-db option controls the location of the password
### database file.  Unless you specify a path starting with a /,
### the file's location is relative to the directory containing
### this configuration file.
### If SASL is enabled (see below), this file will NOT be used.
### Uncomment the line below to use the default password file.
password-db = passwd

Setting up dav access
Allow Anonymous checkout


  DAV svn
  SVNPath /home/rashad/svn/wgrass
  AuthType Basic
  AuthName "wgrass"
  AuthUserFile /etc/apache2/pass.passwd
    Order deny,allow
    
      Require valid-user
    

Disable Anonymous checkout


  DAV svn
  SVNPath /home/rashad/svn/wgrass
  AuthType Basic
  AuthName "wgrass"
  AuthUserFile /etc/apache2/dav_svn.passwd
  Require valid-user

now you can access svn on yourhos.com/svn/wgrass

Happy Hacking :)