HowTo Ubuntu 8.10 64bit and Areca 6.2 (6.1) java Backup Utility

1) Go to Synaptic and install

libswt-cairo-gtk-3.4-jni
libswt-gnome-gtk-3.4-jni
libswt-gtk-3.4-java
libswt-gtk-3.4-jni
libswt-mozilla-gtk-3.4-jni

2) cd /usr/lib/jni

cp the files:

libswt-atk-gtk-3448.so
libswt-cairo-gtk-3448.so
libswt-gtk-3448.so
libswt-pi-gtk-3448.so
libswt-awt-gtk-3448.so
libswt-gnome-gtk-3448.so
libswt-mozilla-gtk-3448.so

to the areca/lib folder with names in order of appearance:

libswt-atk-gtk-3232.so
libswt-cairo-gtk-3232.so
libswt-gtk-3232.so
libswt-pi-gtk-3232.so
libswt-awt-gtk-3232.so
libswt-gnome-gtk-3232.so
libswt-mozilla-gtk-3232.so

overwriting the original ones ;) .

3) the files:

org.eclipse.swt.gtk.linux.x86_3.2.0.v3232m.jar
org.eclipse.jface_3.2.0.I20060605-1400.jar

come from an eclipse installation actually, so if you don’t have eclipse,
download it and:

cd eclipse/plugins

and cp the org.eclipse.swt.gtk.linux.x86_64_3.4.1.v3449c.jar
into areca/lib org.eclipse.swt.gtk.linux.x86_3.2.0.v3232m.jar

and cp org.eclipse.jface_3.4.1.M20080827-2000.jar to areca/lib
org.eclipse.jface_3.2.0.I20060605-1400.jar

overwriting the original ones.

Now, the file libarecafs.so surprise, surprise is a 32 bit one, so I compiled the 64bit one.
With the 32bit one, you’ll get a couple of warnings:

09-01-22 20:44 – WARNING – com.myJava.file.metadata.posix.jni.JNIMetaDataAccessor cannot be used on this system. Got the following error : “java.lang.UnsatisfiedLinkError : /home/jordilin/areca/lib/libarecafs.so: /home/jordilin/areca/lib/libarecafs.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)”
09-01-22 20:44 – WARNING – [com.myJava.file.metadata.posix.jni.JNIMetaDataAccessor] not validated. The default metadata accessor will be used instead.

4) ./areca.sh
5) done

Note. I tested this using 6.2 pre-release, but using 6.1 should be the same.

Posted in Linux, Open Source, Tips - Tricks, Ubuntu | Tagged , , , | Leave a comment

Ubuntu Linux: How to Install Flash Player for firefox

Install Flash Player For Ubuntu Linux

Type the following command to install flash player:

$ sudo apt-get install flashplugin-nonfree

Now flash player should be working. Visit youtube or any other site to view flash content.

Posted in Firefox, Linux, Open Source, Tips - Tricks, Ubuntu | Tagged , | Leave a comment

add delete and switch user in ubuntu by command lines

First, I want to add a user. So how to do it?

+ To add user:

sudo adduser <username>

to add password for your user

sudo passwd <username>

+ How can i switch from one user to another one? In this example, i want to switch from one user to another one.

su <username>

and type in your password to login

after that, you will be at a ‘$’ prompt. type:

bash

to get to a normal prompt.

+ How can I delete a user?

sudo userdel <username>

Posted in Linux, Open Source, Tips - Tricks, Ubuntu | Tagged , , , , , , | Leave a comment

Terminal or shell command to shutdown or reboot Ubuntu Linux

So how do you shutdown or reboot Ubuntu Linux from a terminal or a shell prompt? If GUI is working you can always click on a Quit button. If GUI is not working or if you are working remotely over ssh type the following command:


To shutdown / poweroff Ubuntu Linux

Type the command:

sudo halt

OR

sudo shutdown -h now

OR

sudo shutdown -r now

OR

sudo init 6

To reboot Ubuntu Linux

Type the command:

sudo reboot

More information can be found about these two commands by typing following commands (man page):

man reboot
man shutdown

Posted in Linux, Open Source, Software, Ubuntu | Tagged , , , , , , | 1 Comment

Ubuntu Linux enable telnet service

What is telnet?

Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers. Through Telnet, an administrator or another user can access someone else’s computer remotely. On the Web, HTTP and FTP protocols allow you to request specific files from remote computers, but not to actually be logged on as a user of that computer. With Telnet, you log on as a regular user with whatever privileges you may have been granted to the specific application and data on that computer.

A Telnet command request looks like this (the computer name is made-up):

telnet namhuy.org

The result of this request would be an invitation to log on with a userid and a prompt for a password. If accepted, you would be logged on like any user who used this computer every day.

Telnet is most likely to be used by program developers and anyone who has a need to use specific applications or data located at a particular host computer.

Install telnetd server

$ sudo apt-get install telnetd

Restart inetd service:

$ sudo /etc/init.d/openbsd-inetd restart

You should now be able to telnet to the server from Windows or Linux desktop system to Ubentu Linux telnet server. Type the following command to connect to Telnet server:

$ telnet ubentu-linux-server-ip
$ telnet 192.168.1.200
$ telnet ubentu.mydomain.com

Posted in Linux, Open Source, Tips - Tricks, Ubuntu | Tagged , , | Leave a comment