Tag Archive for ubuntu

Install «android-tools» package (adb and fastboot) in Ubuntu 12.04, 11.10 or 11.04

A package called «android-tools», which comes with «adb» and «fastboot» command line utilities, has been uploaded to the Ubuntu 12.10 Quantal Quetzal repositories recently. I’ve got a request to upload this package in a PPA for older Ubuntu releases, so I’ve backported it to Ubuntu 12.04, 11.10 and 11.04.

«adb» (Android Debug Bridge) is a command line tool you can use to access the file system from an Android device; it can be used to send commands, transfer or receive files, install or uninstall applications and more.

«fastboot» is a command line tools that you can use to flash the filesystem on Android devices over USB.

These tools can be found in the Android SDK too; using the official package in Ubuntu 12.10 or the packages in our PPA is just an alternative and easier way I’d say, to install them in Ubuntu. Also, the packages in the PPA are available for both 32bit and 64bit, while the Android SDK provided by Google is only available for 32bit.
Read more

Востановление mdraid на переустановленной системе

apt-get install mdadm
mdadm --detail --scan --verbose | awk '/ARRAY/ {print}' >> /etc/mdadm/mdadm.conf

И поправить fstab

/dev/md1p1      /media/2TB      xfs     defaults        0 0

How to solve the «unknown filesystem type exfat» problem

If you are getting the following dialog:
Unable to mount XX GB Filesystem Error mounting: mount: unknown filesystem type exfat.

You need to install ExFat support in Ubuntu.
Read more

NFSv4Howto

Installation
The required packages are different depending on if the system is a client or a server. In this Howto, the server is the host that has the files you want to share and the client is the host that will be mounting the NFS share.

NFSv4 client

apt-get install nfs-common 

NFSv4 server

apt-get install nfs-kernel-server 

After you finish installing nfs-kernel-server, you might see failure to start nfs-kernel-server due to missing entries in /etc/exports. Remember to restart the service when you finish configuring.
Read more

Install Firefox 4 In Ubuntu via PPA repository — The Proper Way

Install Firefox 4 In Ubuntu 10.04 / 10.10 Via PPA Repository — The Proper Way.

 

Firefox 4 (stable) will be released soon and I though I’d let you know how to install it in Ubuntu 10.10 Maverick or 10.04 Lucid from a PPA — the proper way (from the semi-official Firefox 4 PPA).
No, using Ubuntuzilla or the Mozilla Daily PPA (well, this PPA is relatively ok but you’ll never get stable builds so you might start receiving Firefox 4.1 alpha updates — or whatever the next Firefox version will be called -, as soon as Firefox 4 is released) is not the proper way to install Firefox 4. Why?
Read more

Install Java for Firefox and Chrome on Ubuntu

Usually ubuntu-restricted-extras should work for you, like phunehehe mentioned.

Since Ubuntu 10.4 the sun-java* packages have moved from the «Multiverse Repository» to the «Partner Repositories».

Add the partner repositories to your package sources and you should be able install sun-java6-jreand sun-java6-plugin.

See «Adding Canonical Partner Repositories» int the ubuntu wiki.

To install Java you will have to decide if you want the OpenJDK or the Sun/Oracle Version. Java by itself is platform independent, but sometimes developers write applications which have dependencies to com.sun.* packages. These packages are only available in the HotSpot VM, which is the virtual machine of the Sun/Oracle Java distribution. To be on the safe side, you should use the Sun/Oracle Java version.
Read more

Фикс падения производительности при копировании/закачке файлов в Ubuntu

Уже не помню, когда начились проблемы с производительностью при копировании файлов, но тогда я этому не придал большого значения так, как копировал файлы редко. Относительно недавно в моем распоряжении появилось высокоскоростное подключение к сети Интернет и теперь я часто копирую/качаю большие файлы и проблема падения производительности для меня стала очень актуальной.

Поверхностный гуглеж не дал результатов и я начал копать глубже, оказалось, что проблемы высокой нагрузки CPU есть у многих убунтоводов, если не у всех, а решение данной проблемы быстрым поиском не находится, поэтому я решил написать небольшой how-to по устранению высокой нагрузки на процессор при копировании файлов.
Read more

Installing FUSE + s3fs and sshfs on Ubuntu

Важно:
через s3fs не видно папки созданные через вэб интерфейс S3 или при помощи других программ!
папки созданные при помощи s3fs видно при помощи других программ.

Вот не плохая программа для Windows http://s3browser.com/

Installing FUSE + s3fs and sshfs on Ubuntu

Fuse is a program to mount «foreign» filesystems to your computer. This is how I got an Amazon S3 (simple storage service) bucket mounted on my Ubuntu server as if it were a local folder.

Install the necessary libraries:

sudo aptitude install build-essential libcurl4-openssl-dev libxml2-dev libfuse-dev comerr-dev libfuse2 libidn11-dev libkadm55 libkrb5-dev libldap2-dev libselinux1-dev libsepol1-dev pkg-config fuse-utils sshfs

We also installed the sshfs (SSH File System) in order to test out FUSE. Go ahead and create a mount folder and mount a remote drive to it:

sudo mkdir -p /mnt/sshfs

sudo chown user:fuse /mnt/sshfs

sudo sshfs user@hostname:/path/on/remote/server /mnt/sshfs

You should now be able to browse files on /path/on/remote/server, locally from /mnt/sshfs. Please note that you will need to set the ownership of the mount before you’ll be able to use it. The fuse group was created automatically and is a good place to start.
Read more