smbpasswd -x user

smbpasswd -x user


Create Subversion Repository with structures

$mkdir /svn/repos/myproject

$svnadmin create /svn/repos/myproject

$mkdir /tmp/myproject

$cd /tmp/myproject

$mkdir trunk branches tags

$cp -r /path/to/myproject/* ./trunk

$svn import . file:///svn/repos/myproject -m ‘initial import’

edit /svn/repos/myproject/conf/passwd & /svn/repos/myproject/conf/svnserve.conf

check out with url svn://yourip/svn/repos/myproject/trunk

Installing svn server on Fedora Core

#mkdir /svn

#mkdir /svn/repos

#mkdir /svn/users

#mkdir /svn/permissions

#svnadmin create /svn/repos/myproject

#svn import /path/to/myproject file:///svn/repos/myproject/myproject -m ‘initial import’

#vi /svn/repos/conf/svnserve.conf

paste this text

anon-access = none
auth-access = write
password-db = passwd
# authz-db = authz
realm = Fox Client Repository

#vi passwd

paste this text


#cd /svn/repos/myproject

#svnserve -d

now you can check out via url   svn:///ipaddress/svn/repos/myproject

and you will get folder ‘myproject’, happy coding!!

compile php5.2.5 to support gd (CentOS 5)

./configure –with-gd –enable-gd-native-ttf –with-zlib –with-bz2 –with-jpeg-dir –with-png-dir –with-ttf –with-freetype-dir –with-iconv –with-gettext –enable-mbstring –with-openssl –with-apxs=/usr/local/apache/bin/apxs –with-mysql –with-mysqli –enable-sockets

copy to extension_dir

edit php.ini to include them and restart apache

yum tips

Just wanted to mention that these EXACT instructions only work on an i386 install.

To make it a little easer, one can do:
yum install yum-utils
yumdownloader nautilus-sendto
rpm -Uvh –nodeps nautilus-sendto[PRESS TAB]