Tuesday, December 24, 2013

How to install Tomcat7

[this process was accomplished using Ubuntu 12.04 LTS, Tomcat 7 and Eclipse Standard Keplerr 4.3]

Follow this tutorial (from step 1 to 9):
http://gridlab.dimes.unical.it/lackovic/eclipse-tomcat-ubuntu-jersey/

Notes for the above tutorial:
Download and install eclipse manually, from:
http://www.eclipse.org/downloads/packages/eclipse-standard-43/keplerr

Before starting up the tomcat7 server:
sudo mkdir /usr/share/tomcat7/logs

Before shutting down the tomcat7 server:
sudo mkdir /usr/share/tomcat7/conf
sudo cp /etc/tomcat7/server.xml to /usr/share/tomcat7/conf

Before creating a "Dynamic Web Project", run:
cd /usr/share/tomcat7
sudo ln -s /var/lib/tomcat7/conf conf
sudo ln -s /etc/tomcat7/policy.d/03catalina.policy conf/catalina.policy
sudo chmod -R 777 /usr/share/tomcat7/conf


If you try to add the Tomcat Server v7.0, and the server name doesn't appear:
Close Eclipse
cd ~/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/   
rm org.eclipse.jst.server.tomcat.core.prefs   
rm org.eclipse.wst.server.core.prefs

Restart Eclipse


Then, to configure a servlet, follow this tutorial:
http://www.srccodes.com/p/article/3/Tomcat-Hello-World-Servlet-using-Eclipse-IDE

Wednesday, December 18, 2013

How to burn / create a dvd video on Ubuntu

[this process was accomplished using Ubuntu 12.04 LTS]

I just used a program, called "Devede". To install:
sudo apt-get install devede

Friday, December 13, 2013

How to install IntelliJ IDEA

[This process was accomplished using Ubuntu 12.04 LTS and IntelliJ IDEA 13]

Install Java:
http://lucastipss.blogspot.com.br/2013/11/how-to-installupdate-java.html

Download Android SDK:
https://developer.android.com/sdk/index.html

To download the Target devices:
"run tools/android, under android_sdk_YOUR_OS, to retrieve the targets, check the option that says “force https to be fetched using http” under settings. And finally, under “Available packages,” select the version of Android you want. ", author.

Download IntelliJ community edition:
http://www.jetbrains.com/idea/download/

Then, extract the folder where you want to be the path to the installation.

Apply the rights to run the executable:
sudo chmod +x [path to the installation]/bin/idea.sh

Do this process to increase the limit
http://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit

Done!

To run the IDE, just run:
./[path to the installation]/bin/idea.sh

If you want, you can create an icon through the application Alacarte:
http://lucastipss.blogspot.com.br/2013/11/ubuntu-how-to-add-application-to.html

SubVersion Tips

To checkout a repository (example):
svn co --username [seu_usuario] https://zurbb.codespaces.com/svn/buusapp/android/trunk android2.0
"seu_usuario" = username
"android2.0" = new folder to where the files will be downloaded

Thursday, December 12, 2013

Java Default SDK Folder

[this process was accomplished using Ubuntu 12.04 LTS]

The default java jdk folder is:
/usr/local/java

How to install KeePass

On Ubuntu 16.04 I installed KeePassXC - snap from Software Center
Install snap
https://askubuntu.com/questions/873243/hello-cannot-locate-the-core-snap-no-such-file-or-directory
Install ChromeIPass (didnt manage to make it work)
https://chrome.google.com/webstore/detail/chromeipass/ompiailgknfdndiefoaoiligalphfdae


On Ubuntu 12.04, I don't remenber.
On Ubuntu 14.04, I found the Keepass program on Software Center

Installing keeFox plugin (for firefox)
sudo apt-add-repository ppa:dlech/keepass2-plugins
sudo apt-get update
sudo apt-get install xul-ext-keefox

Then, just reopen KeePass and Firefox