Wednesday, November 14, 2012

Joomla 3 on Debian 6.0.6: install new language package

We have Joomla 3.0.2 over a Debian 6.0.6.
We need to install another language packge.
Steps(Mandatory):
- Ensure you have turned-off the FTP Layer(directly on configuration.php or by web under Global Configuration --> Server --> FTP Layer)
- Ensure you have all needed permissions over the folder you have installed joomla(the necessary are these two path declared into configuration.php: $log_path and $tmp_path
- Upload your zip file with your language package from web by the administration page, under menu Extensions > Extension Manager > Install
- Go into System > Control Panel > Language Manager and select your just uploaded language.
- Remember you have 2 kinds(in the left menu) of settings to do: Site and Administration

Bye...

Monday, November 12, 2012

Installing VirtualBox OSE on Debian Squeeze 2.6.32-5-686

I report my installation over Debian 6.0.6 kernel 2.6.32-5-686 version.

Open a terminal and give
uname -r
to recognize your kernel version.

Suppose(as in my case you have this version...as terminal output)(but the procedure is the same, also for the others)
2.6.32-5-686

Give this command:
apt-get install linux-headers-2.6.32-5-686 virtualbox-ose

Installation is done.
Give the command
virtualbox &
from terminal to launch the application(or into System Tools, into KDE menu).

Bye..

AIRCRACK 1.1 easy installation from source, under Debian with 2.6.32-5-amd64 kernel version

First of all I need some resources
apt-get install build-essential devscripts dpkg-dev debhelper sqlite libssl-dev

After we get and install

wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz
tar -zxvf aircrack-ng-1.1.tar.gz
cd aircrack-ng-1.1
make 
make install


Here you find the airctrack-ng home page

Bye...


Mounting windows remote folder(already shared in the network))

Suppose you have a directory on a windows machine, shared in the network.

We want to point, and mount, this folder, in read/write mode, on our Debain system.

We need the smbfs and samba-common packages.

apt-get install smbfs samba-common
 
echo 'smbfs' >> /etc/modules
 
mkdir /home/pippo/empty_directory
mount -t smbfs -o username=pippo //windows_machine_ip/remote_and_shared_folder /home/pippo/empty_directory 
or
mount -t smbfs -o username=pippo,password=pluto //windows_machine_ip/remote_and_shared_folder /home/pippo/empty_directory
 
If you want that the folder should be mounted automatically at the system startup edit the /etc/fstab file and
insert the below line:
 
//windows_machine_ip/remote_and_shared_folder /home/pippo/empty_directory smbfs defaults,user,noauto,username=pippo,password=pluto 0 0
 
For a most detailed guide refer to this page

Wednesday, October 17, 2012

Debian, upgrading to 2.6.30 kernel: rt2879sta firmaware, support for Ralink rt2800U and rt3000U chipsets

If you have a wifi device based on Ralink RT2000U or RT3000U chipset, and you have upgraded your kernel to 2.6.30 version, surely you will get an error on the rt2800(or some among those rt2070, rt2770, rt2870, rt3070, rt3071, rt3072) firmware, no more loaded.
Something like this:

rt2800 firmware not loaded
SIOCSIFFLAGS: Operation not permitted

The raison is that on the firmware has been removed from the 2.6.30 kernel image.

So, ensure you have in /etc/apt/sources.list the following line:

deb http://ftp.us.debian.org/debian squeeze main contrib non-free 

If you have not it, insert and give aptitude update...

After give the following:

aptitude install firmware-ralink
 
This will solve your problem.

Bye.

PS.: refer to this page to the official page.








 

Thursday, October 11, 2012

Debian repositories.... at 6.0.6 version....

You are find something about debian repositories?

I found it.

This is the link with all possible repositories for the current debian version...

Bye

Thursday, September 27, 2012

Developing an Android application with Eclipse.... Step 1 - Install the develop environment

After the never ended post of some months ago... here....
now we re-try to write a more complete article on starting to develop an app for Android using Eclipse, on a Debian distribution.

Well, we are on a Debian 6.0.4 squeeze, and we ensure to have a sun java installed and ready to use, please refer here.

After we provide to download and install eclipse, from eclipse downloads page, the "Eclipse IDE for Java EE Developers" version is good.
At the moment we have downloaded the "Juno (4.2) Packages".

From developer.android.com site download the right sdk for your operative system.
In this case we have a linux system, so we have downloaded(from http://developer.android.com/sdk/index.html) the archive file with our sdk:
http://dl.google.com/android/android-sdk_r20.0.3-linux.tgz

Provides to explode the two archive files.

Now we go under Android Sdk Installation folder, go into tools and opening a terminal,
launch the command:
./android sdk 
 
A window will prompted to you for show what the available packages to download. 
We suggest to flag Tools, Android API(currently the latest is the 4.1)and Extras.
At the end of the installation close the window.
Start Eclipse application, and go to.....:
Help > Install New Software
and add one between the following lines
http://dl-ssl.google.com/android/eclipse/
https://dl-ssl.google.com/android/eclipse/
 
Flag the checkbox with "Development Tools"....
 
..and install them(...the tools.....).
 
At the end of Development tools installation you need to restart eclispe.

When eclipse restart it will ask to you where is android sdk installation path
or to proceed to a new installation,
well you now can browse and point to our Android sdk installation.
Fine!!! You have completed the development environment installation.
In the next step we see how to starts to write an android application!!!
Bye...