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
[general]
anon-access = none
auth-access = write
password-db = passwd
# authz-db = authz
realm = Fox Client Repository
#vi passwd
paste this text
[users]
beer=password
save=password
#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 libgd.so 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]
Connecting to serial modem (FC9)
http://spalinux.com/2008/08/configuring_serial_port_for_console_redirection_on_linux
Burning dvd+rw with command line (FC9)
no need to make iso file first
growisofs -Z /dev/dvd -R -J `cat file`
growisofs -M /dev/dvd -R -J `cat file`
require pakages
1. dvd+rw-tools-7.0-11.fc9.i386
2. genisoimage-1.1.6-11.fc9.i386
cupsenable for Fedora Core 2
lpadmin -p printername -E
Options -E will toggle enable/disble printer
Printing to Windows’s share printer
Software Requirement
- epson-lq-2090-ppd-1.0-1.fc5.i386.rpm
- epson-lq-2090.ppd
Installation
On Windows
- Connect Epson LQ-2090 and install the driver
- Share this printer
On Linux
- login as root
- #rpm -ivh epson-lq-2090-ppd-1.0-1.fc5.i386.rpm
- copy epson-lq-2090.ppd to /usr/share/cups/model/
- edit /etc/cups/mime.types by uncomment the following line
application/octet-stream
- edit /etc/cups/mime.convs by uncomment the following line
application/octet-stream application/vnd.cups-raw 0 -
- #service cups restart
- cups log is locate at /var/log/cups/
- #smbclient -L Toooon –N
- the printer share name will appear like this -> EPSONLQ-2090
- #lpadmin -p lq2090 -v smb://Toooon/EPSONLQ-2090 -P /usr/share/cups/model/epson-lq-2090.ppd
- #cupsenable lq2090
- #accept lq2090
- edit /etc/samba/smb.conf (the [printers] section) by uncomment the following line)
public = yes
- #service smb restart