[ install maven on windows 7 64bit ]

1. download maven (link: http://maven.apache.org/download.html)

2. extract and paste to drive C:\ (rename to maven)

3. right click on Computer and choose Properties > Advanced system settings > Environment Variables


4. click on button New

————————————————————–

Variable Name: JAVA_HOME

Variable Value: C:\Program Files\Java\jdk1.6.0_30

————————————————————–

Variable Name: M2_HOME

Variable Value: C:\maven

————————————————————–

Variable Name: M2

Variable Value: %M2_HOME%\bin

5. edit Path (add %JAVA_HOME%\bin;%M2%;)

*remove spaces

6. Start > cmd and enter

type mvn -version

[ business objects enterprise server (BOE) installation ]

Follow the below steps:

This slideshow requires JavaScript.

[ ubuntu: start apache2 ]

Please refer below:

apache2-ubuntu

[ crystal reports designer 10 error ]

Pop-up error such below:

Crystal Reports: Application Error
Couldn’t load keycode.dll

Solution: OpenĀ  command prompt > type regsvr32 “c:\Program Files\Common Files\Crystal Decisions\2.5\bin\keycode.dll”

CrystalReports

[ ubuntu: nmap ]

Open terminal and type:

# nmap -sP 10.69.20.*

[ celcom broadband on ubuntu ]

Follow these steps in order to setup CELCOM broadband on ubuntu 10.04 (Lucid Lynx):

1. Set up a Mobile Broadband Connection

2. Choose your Provider’s Country

3. Choose your Provider

4. Choose your Billing Plan

5. Confirm Mobile Broadband Settings

6. Save Settings

7. System > Administration > Synaptic Package Manager

Tick on usb-modeswitch (internet connection is needed to install this package)

8. Connection ACTIVE

9. Done

[ read disk info ]

#!/bin/sh
DISC=$1
PARTITION=`df -h |grep $DISC |awk ‘{print $1}’`
SIZE=`df -h|grep $DISC|awk ‘{print $2}’`
USED=`df -h|grep $DISC|awk ‘{print $3}’`
FREE=`df -h|grep $DISC|awk ‘{print $4}’`
echo “Partition: $PARTITION”
echo “Total size: $SIZE”
echo “Used space: $USED”
echo “Free space: $FREE”

credit: http://www.forevergeek.com/2005/10/check_disk_space_in_linux/

[ ubuntu: refresh panel ]

  1. gconftool-2 –shutdown
  2. rm -rf ~/.gconf/apps/panel
  3. pkill gnome-panel

[ joining split rar files ]

  1. sudo apt-get install rar
  2. cd ~/target location
  3. rar x -y <filename01.rar>

[ cron: mysql backup ]

It is easy to automate your scripts. Follow these steps:

crontab

directories

credit: http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/

Follow

Get every new post delivered to your Inbox.