wget http://dl.dropbox.com/u/4170695/scripts/install.netbeans.sh -O - | bash -
#!/bin/bash
#if [ "$(lsb_release -cs)" == "lucid" ]; then
# # install netbeans from repository
# apt-get install -y netbeans
#else
# download and install netbeans from homepage
URL=http://download.netbeans.org/netbeans/6.9.1/final/bundles/netbeans-6.9.1-ml-java-linux.sh
wget ${URL} -O /tmp/netbeans-linux.sh
sudo bash /tmp/netbeans-linux.sh --silent
#fi
# install Java JDK
http://www.panticz.de/ubuntu_install_java_jdk
OPTIONAL: install MySQL driver
apt-get install libmysql-java
# old# sudo cp Desktop/netbeans/mysql-connector-java-5.0.6-bin.jar /usr/local/SUNWappserver/lib/
# OLD
# fix ubuntu locale settings for german
#sed -i 's|en_US.UTF-8|de_DE.UTF-8|g' /etc/scim/global
# disable compiz effects (Visual Effects (System > Preferences > Appearance > Visual Effects => none)
metacity --replace &
# HowTo 1. install Netbeans: http://www.panticz.de/install_netbeans 1.1 install http://www.panticz.de/install-GWT4NB 2. install GWT: http://www.panticz.de/install_gwt 3. install MySQL driver: http://www.panticz.de/install_mysql_driver 4.
# INFO url : jdbc:mysql://localhost:3306/Bible user: gwt-examples pass: password # create database and user mysql -u root -p create database Bible; CREATE USER 'gwt-examples' IDENTIFIED BY 'password'; grant all on Bible.* to 'gwt-examples'@'%' identified by "password"; #grant all on Bible.* to 'gwt-examples'@'192.168.1.10' identified by "password"; #grant all on Bible.* to 'gwt-examples'@'localhost' identified by "password"; commit; quit; # get gwt examples cd ${HOME} svn checkout http://gwt-examples.googlecode.com/svn/trunk/ gwt-examples # fill database wget http://ken
Configure Oracle DB access
1. Services > Databases > Drivers > New Driver...
add
~/.netbeans/6.1/config/Databases/Driver/ojdbc14.jar
ok
2. Services > Databases > Drivers > Oracle > Connect using
Database URL: jdbc:oracle:thin:@192.168.0.1:1521:XE
Username: USER
Password: PASS
Copy config files
mkdir -p ~/.netbeans/6.1/config/Databases/Driver
cp ojdbc14.jar ~/.netbeans/6.1/config/Databases/Driver/
cp jdbc_oracle_thin__192_168_1_1_15.xml ~/.netbeans/6.1/config/Databases/Connections/jdbc_oracle_thin__192_168_1_1_15.xml
Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!