Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Monday, July 22, 2013

Install Android SDK on Eclipse On Linux Distributions

To start developing Android apps we need to first choose an IDE platform or environment. I recommend Eclipse. It is really good and efficient to develop android apps. I will give the step by step installation of Eclipse and set up it to develop android apps.

Reqired Steps:

1. Open a terminal by typing Ctrl+F2
2. Type 'sudo apt-get install eclipse' enter, enter your password , this will install Eclipse platform.
3.  After installation open Eclipse from installed apps. When it is opening it will ask you workspace folder which is contains the application folders, choose or create as you want.

Now it is time to get Android SDK:

4. There are versions for linux distributions get the latest and convenient version for your system from: http://developer.android.com/sdk/index.html
The Android SDK is a compressed folder. Download and extract the contents of this
file to a convenient place on your computer. You should install the SDK where you usually put your
development tools. Open SDK file you will see a file as tools, in that file click android script and click run to run it. This will install Android SDK.

Both Eclipse and the Android SDK are installed. It's time to install the Eclipse plug-in
to take advantage of the Eclipse environment.

Obtaining and Installing the Eclipse plug-in

1. Run the "Find and Install" feature in Eclipse, found under the Help >Software Updates menu.
2. Select the Search for new features to install option.
3. Select New Remote Site. Give this site a name, such as "Android Developer Tools," for example. Use the following URL in the dialog:
https://dl-ssl.google.com/android/eclipse. Please note the HTTPS in the URL. This is a secure download.

4. A new entry is added to the list and is checked by default. Click Finish. The search results display the Android Developer Tools. Select the Developer Tools and click Next.
5. After reviewing and accepting the license agreement, click Next. Note that the license agreement includes a special requirement for use of the Google Maps API.
6. Review and accept the installation location, then click Finish.

The plug-in is now downloaded and installed. The plug-in is not signed (at the time
of writing), so proceed at your own comfort level by clicking on Install All, then
restart Eclipse.

If you have any question, or need some help, leave a comment below.
Read More

Sunday, July 21, 2013

Linux Mint 1.14 Nadia Wireless Problem

I installed Linux Mint 1.14 Nadia a few months ago. Wireless  wasn't working because of the driver was not installed. In some linux mint distributions you can have this problem, nadia is one of them.
Also, in some ubuntu distributions you can have the wireless problem too.
To solve this problem you need to install wireless driver and reboot your computer or restart network services. To doing this there is several methods. Methods are given as follows:

Method 1:

1. Open a terminal by typing ctrl+F2
2. Type lspci and press enter, to specify your chipset, in my pc it is Broadcom
3. Open Software Manager, type 'your chipset' into search box
4. Install wireless driver
5. type sudo service network-manager restart into terminal to restart your network service Problem is solved have fun with your wireless..

-->

Method 2:

1. Open Additional Drivers
2. Select your chipset driver
3. Click apply changes
4. open terminal
5. type 'sudo service network-manager restart' to restart your network service
Problem is solved have fun..

Note: Both of methods are tested, working correctly.

If you have any guestion, or need some help, leave a comment below. 
Read More

Saturday, July 20, 2013

Ubuntu 11.10 waiting up to 60 more seconds for network configuration 'problem'

-->
I upgaded my ubuntu 11.04 Natty to ubuntu 11.10 Oneiric Ocelot a few weeks ago. To handle some issues I have needed to modify /etc/network/interfaces file. After some modifations I get the message:"waiting up to 60 more seconds for network configuration" when booting.
I have found the reason of this is to have any interfaces in /etc/network/interface file as auto. To correct the problem just remove all rows and leave it as default like:



Another solution can be modify the script /etc/init/failsafe.conf>>This script is the script that control configuration of network interfaces when booting and if they are not all configured send the message above to the screen.. So let's take a look at that script:



As we see and understood from the scripts commands: that script is controlling the waiting duration when booting.. The script keeps waiting us totally 111 seconds.. If your system doesn't need to wait  just insert a # character at the beginning of sleep calls or remove these rows. If your system needs to wait, but you don't wanna be wait this much, just change the values as you want.. Problem solved in either ways, but I recommend the first one..

Note: The values of sleep calls in your script may be different than my script, that is because of I have made a modification before in that script..
In my case, I solved my problem with two ways. In the second way the final look of my failsafe.conf script is given in the following:



-->

If you have any question, or need some help leave a comment below..
Read More

Friday, July 19, 2013

Vodafone Mobile Connect Software in Ubuntu

To install vodafone mobile connect software enter the following commands into terminal:
wget https://forge.betavine.net/frs/download.php/626/vodafone-mobile-connect_2.25.01-1_all.deb
sudo dpkg -i vodafone-mobile-connect_2.25.01-1_all.deb
After the installation you can run the software from Applications->Internet Category. The picture of the program is in the following. Have fun..
See the picture below:

Read More

Sunday, May 26, 2013

How to Encrypt Files in Linux

To encrypt a file we are going to use gpg software. That software is a command line executable software. First you need to install it if it is not installed before in your pc. To do this open a terminal and type:

sudo apt-get install gpg

After that compress the file you want to encyrpt. And type in the terminal

gpg -c fodername.tar.gz

and then type your password twice. It's done :). Delete the file you encrypted. Use foldername.tar.gz.gpg file to access your files.
To pass the password and reach your files again type:

gpg foldername.tar.gz.gpg

Read More

How to shutdown the Linux PC automatically at a specific time

Linux has a beautiful code which provides the PC can close itself at a specific time which is determine by the user. :)
To do this use the command given the next line:

sudo shutdown -h x

here x is the time with unit of minutes.
Read More

Sunday, March 17, 2013

Linux Dağıtımlarına Matlab Kurmak



Kuruluma başlamadan önce matlab2012a iso dosyasını aşağıdaki torrent linkinden indiriyoruz.
İndirdiğimiz iso dosyasını /home/kullanıcı-isminiz/Matlab dizinine çıkartıyoruz. Çıkarma işlemi bazı bilgisayarlarda 10 dakikayı bulabilir malum iso dosyası 5GB.. :)
Bu adımı hallettikten sonra kuruluma başlayabiliriz. Terminali açıp şu kodu giriyoruz:

sudo /home/kullanıcı-isminiz/Matlab/install

Bu adımdan sonra kurulum windowstaki gibidir. Yine de anlatayım. Karşımıza gelen pencerede "install without using internet" seçeneğini seçip next e tıklıyoruz. Daha sonraki pencerede lisans anlaşması kurallarını kabul etmek için "yes" seçeneğini seçip next e tıklıyoruz. Daha sonraki pencerede "I have the file installation key" seçeneğini seçip alt kısma şu lisans anahtarını yapıştırıyoruz:38699-60149-36808-21840-05491. Next e tıklıyoruz gelen pencerede "typical" seçeneği seçilidir onu değiştirmeden tekrar next e tıklıyoruz. Sonraki pencerede matlabi kurmak istediğiniz dosyanın yolu istenecektir. Size tavsiyem /MATLAB diye direk kökün altında bir dosyaya kurmanızdır. Buraya /MATLAB yazdıktan sonra next e tıklıyoruz gelen pencerede "yes" seçeneğine tıklıyoruz. Ve daha sonra install seçeneğine tıklayıp kurulumun tamamlanmasını bekliyoruz. Kurulum tamamlandıktan sonra sırasıyla next e ve finish e tıklayıp bitiriyoruz. Aslında daha bitmedi yapıcalacak birşey daha var. Terminale şu kodları giriyoruz:

sudo sh /MATLAB/bin/matlab

Gelen pencerede "activate manually without the internet" seçeneğini seçip next diyoruz. Sonra gelen pencerede ilk boşluğa lisans dosyamızın yolunu giriyoruz. Lisans dosyamızı çıkarttığınız iso dosyasında n bulabilirsiniz crack dosyasının içinde "lic_standalone.dat" ismindeki dosyadır. Buraya dosya yolunu girdikten sonra sırasıyla next e ve finish e tıklıyoruz.
Matlab i açmak için /MATLAB/bin/matlab scriptini çalıştırmanız gerekir. Her defasında bu dosyaya girmek için matlab-bin vs. yapmak istemiyorum diyorsanız bu scripte bir link oluşturmanız gerekir.
Diyelim ki bu linki masaüstüne oluşturmak istiyorsunuz o zaman terminali açıp şu kodları girin:


cd /home/kullanıcı-isminiz/Desktop
ln -s /MATLAB/bin/matlab matlab 

Ve linkiniz hazır artık masaüstünüzdeki matlab dosyasına iki kez tıklayarak matlabi açabilirsiniz iyi günlerde kullanın... :)





Read More