Tonton MyTV dilengkapi intisari rancangan pada smart TV bermula RM4.99 sebulan. Selanjutnya →

Disember 2010

SSH Public Key Auth

7 November 2010, 4:59 pm

Ahad, 7 November 2010, 4:59 pm0 This setup enable users to log in to remote machine without having to enter their password. On local machine, generate public/private key pair: ssh-keygen -t rsa or use PuTTYgen Send to remote machine: cat ~/.ssh/id_rsa.pub | ssh user@domain "cat - >> ~/.ssh/authorized_keys" or scp ~/.ssh/id_rsa.pub user@domain:~/.ssh/authorized_keys or use WinSCP […]

Trac on Fedora

6 November 2010, 11:10 pm

Sabtu, 6 November 2010, 11:10 pm0 This is multiple projects installation, a continuation from previous posts. Install required packages: yum install trac mod_wsgi Software: Trac 0.11.7, mod_wsgi 2.3 Trac folder: /var/svn/trac Python eggs cache dir: /tmp/egg-cache Create new trac environment trac-admin /var/svn/trac/testproj initenv Project Name > Test Project Database connection string > [sqlite:db/trac.db] Repository type […]

Apache + SVN on Fedora

6 November 2010, 9:32 am

Sabtu, 6 November 2010, 9:32 am0 Create SVN repo, accessible from network, all users can read & checkout, certain users can write / commit Software: Apache 2.2.11, Subversion 1.6.6, mod_dav_svn 1.6.6 File & folder: /var/svn/ /var/svn/auth – authentication file /var/svn/repos/ – project repositories Install mod_dav_svn yum install mod_dav_svn svn Create SVN repo (refer previous post) […]

Using SVN

6 November 2010, 12:50 am

Sabtu, 6 November 2010, 12:50 am0 My notes on how to use subversion from command line. Assumptions: Project dir: ~/Projects/myproj SVN temp layout dir: /tmp/svn SVN repos: /var/svn/repos Create repo mkdir -p /var/svn/repos svnadmin create --fs-type fsfs /var/svn/repos/myproj Import project svn import <local dir> <repo> mkdir -p /tmp/svn/trunk /tmp/svn/tags /tmp/svn/branches svn import /tmp/svn file:///var/svn/repos/myproj -m […]