-
Recent Posts
Recent Comments
sassygirl on DB2 index design articles Victor on Automated HTTP GET (with cooki… Victor on Automated HTTP GET (with cooki… Asian Chick on Automated HTTP GET (with cooki… Victor on Automated HTTP GET (with cooki… Archives
- September 2016
- August 2016
- July 2016
- June 2015
- May 2015
- February 2015
- December 2014
- November 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- April 2012
- March 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- January 2011
- December 2010
- November 2010
- October 2010
- August 2010
- March 2010
- January 2010
- December 2009
- April 2009
- March 2009
- February 2009
- January 2009
- May 2008
- June 2007
- November 2005
- October 2005
- July 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
Categories
- alfresco
- android
- apache2
- apt-get
- archive
- boot
- centos
- chkconfig
- chrome
- cifs
- cpio
- csv
- curl
- DB2
- dd
- dig
- diskmon
- dns
- dnsmasq
- drupal
- ec2
- eclipse
- Entertainment
- erlang
- eventlet
- ffmpeg
- firewall
- generator
- gevent
- gpg
- hdiutil
- ICMP
- iptables
- iso
- java
- json
- jython
- k8s
- kerberos
- kivy
- lamp
- ldap
- libpcap
- linux
- lookit
- lsof
- mod_jk
- mongodb
- monit
- mount
- mssql
- mtr
- multimedia
- Music
- mysql
- netcat
- netstat
- network
- nfs
- nginx
- nmcli
- ntpd
- oracle
- osx
- pelican
- ping
- plone
- postfix
- postgres
- programmer
- pydev
- pymssql
- python
- python wsgi
- QA tools
- rsync
- ruby
- sensu
- smb
- smtp
- snmp
- socat
- solaris
- sproutcore
- sqsh
- ssh
- sshfs
- ssl
- sso
- strace
- stunnel
- sublime
- svn
- sybase
- system
- TCP
- tivoli
- tmux
- traceroute
- ubuntu
- ucm
- Uncategorized
- UNIX
- upstart
- urlrewrite
- visualvm
- weblogic
- websphere
- winpcap
- wireshark
- wowza
- xml
Meta
Monthly Archives: March 2012
iptables
Reference http://www.cyberciti.biz/tips/linux-iptables-examples.html http://www.thegeekstuff.com/category/iptables/ Display rules sudo iptables -L -v -n –line-numbers Deleting all the rules sudo iptables -F Add rules blocking an IP for incoming traffic: iptables -A INPUT -s 1.2.3.4 -j DROP iptables -A INPUT -p icmp –icmp-type echo-request -j … Continue reading
Posted in iptables
Leave a comment
Configure and test CIFS with Alfresco
1. alfresco-global.properties## CIFS cifs.enabled=true cifs.serverName=server_name cifs.domain=WORKGROUP cifs.hostannounce=true cifs.sessionTimeout=500 cifs.ipv6.enabled=false #cifs.tcpipSMB.port=1445 #cifs.netBIOSSMB.namePort=1137 #cifs.netBIOSSMB.datagramPort=1138 #cifs.netBIOSSMB.sessionPort=1139 cifs.WINS.autoDetectEnabled=true 2. Run “sudo alfresco ” as root so that it can use the default ports. 3. Test From Windows Explorer to map network drive with user … Continue reading
Posted in alfresco, cifs
Leave a comment
Alfresco running as linux service
under id “alfresco” (group alfresco)ln -s $ALF_HOME/alfresco.sh /etc/init.d/alfrescoupdate-rc.d alfresco defaults Referencehttp://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10
Posted in alfresco
Leave a comment
Customize Alfresco email invite for external user
tomcat/shared/classes/alfresco/extension$ cat invite-context.xml <beans> <bean class="org.alfresco.repo.security.authentication.NameBasedUserNameGenerator" id="nameBasedUserNameGenerator"> <property name="namePattern"> <value>%emailAddress%</value> </property> <property name="userNameLength"> <value>10</value> </property> </bean> </beans> tomcat/shared/classes/alfresco/extension$ cat invite-context.xml
Posted in alfresco
Leave a comment
ffmpeg ubuntu 11.10
sudo apt-get install ffmpeg libavcodec-extra-53 http://blog.stevenreid.co.uk/2011/10/25/transcoding-video-iphone/ http://ubuntuforums.org/showthread.php?t=786095 ffmpeg -i source.avi -acodec libfaac -ab 128k -ar 44100 -vcodec mpeg4 -b 1000K -s 640×480 destination.m4v
Posted in ffmpeg
Leave a comment
install ec2 API
enable multiverse: sudo vi /etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse sudo apt-get install ec2-api-tools Generate and download AWS X.509 Certificate from AWS console vi .bashrc to add EC2 settings export EC2_PRIVATE_KEY=$HOME/.ssh/pk-dna.pem … Continue reading
Posted in ec2
Leave a comment
Alfresco LDAP
alfresco-global.properties(LDAP)authentication.chain=alfinst:alfrescoNtlm,ldap:ldap1(AD)authentication.chain=alfinst:alfrescoNtlm,ldap-ad1:ldap-ad Extension Root(LDAP)tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/ldap1(AD)tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/ldap-ad1/ldap-ad-authentication.properties Alfresco LDAP integrationAlfresco LDAP configuration
Posted in alfresco
Leave a comment
install lookit ubuntu
sudo add-apt-repository ppa:lookit/ppasudo apt-get updatesudo apt-get install lookit
Posted in lookit, ubuntu
Leave a comment
install LAMP on ubuntu
sudo apt-get install tasksel sudo tasksel install lamp-server https://help.ubuntu.com/community/Tasksel
Posted in lamp, ubuntu
Leave a comment