Screenshot from 2015-09-28 17:41:53

Creating localhost in Linux systems is very easy, you can install apache2, php, mysql separately and then integrate them or you can use ready packages for this(such as LAMP).

What if you have already one localhost under 127.0.0.1 IP and you want to create second one? In this case you don’t need to install additional software. You just need to dublicate some files and configure them. Let’s get started how to do it. Continue reading →

create-wifi-hotspot (1)

In 14.04 and 14.10 versions there is such problem in some devices. The solution can be different. But in 99% cases the problem appears due to one of these two reasons: wpa_suplicant bug, wifi sleep bug. Let’s go: 1. Try to restart network manager via terminal:

sudo restart network-manager

If it helps and after this command wifi started working, then add this command to autorun file. Run this command: Continue reading →

ffmpeg app helps us to convert videos through terminal in Ubuntu. It contains multimedia player, streaming server and audio&video converter. But in this post we are interested just about video converting.

Installing ffmpeg is ordinary:

sudo apt-get install ffmpeg

So, let’s write simple example: You have some big-sized mpg video, and we must convert it to flv. Open terminal and type this:

ffmpeg -i video.mpg  -ab 56 -ar 22050 -s 320×240 video.flv

After it we get video.flv. Resized and in flv type.

Let’s describe what command parameters mean:

-ab: bit rate of audio;

-ar: Rate(Hz);

-s – result file dimension;

That’s all. Good luck.

Few days ago Skype stopped working normally in my laptop. Each time after starting the window opened, then signing in… then crash. It was not solven even after remove-install. I investigated the problem and quickly found a simple solution. And this simple solution is also available for other OS-es. So if your Skype craches during signing process, you can solve it easily with removing shared.xml file. Location of shared.xml: Ubuntu: ~/.Skype folder. Windows XP: C:\Documents and Settings\_username_\Application Data\Skype folder Mac OS: ~/Library/Application\ Support/Skype/ folder Windows 7: C:\Users\_username_\AppData\Roaming\Skype folder

That’s all. Good luck.

You have a laptop which RAM is higher than 3 GB and you use Ubuntu 32bit OS? So go to System Monitor (System->Administration->System Monitor) and select Resource tab. You will see that your RAM is shown less than computer’s RAM. For example my laptop has 4 GB RAM, and it showed me 2.3 GB. I have researched problem and found a solution. 32bit systems can not take all RAM in default. You must install 64 bit or you can stay in your current OS with installing something. This something is Physical Address Extension (PAE). It solves a problem clearly.

For installing PAE go to Terminal and type:

sudo apt-get install linux-generic-pae linux-headers-generic-pae

Now reboot system. Go to System Monitor and you will see that RAM is nearly 4 GB, yeah.

That’s all. Good luck.

When we use different internet connection in one laptop, and if one of those connections is proxy server network connection, then we may have a problem with accessing internet in Ubuntu Software Center and in Terminal. I don’t know it is a bug or just settings reset, but problem exists. I am describing a problem:

In direct connection we haven’t any problem with internet access. But when we switch to proxy connection, at first everything is ok, internet works in Gnome.(and all applications can take access from GNOME). But Terminal and Software Center gives connection error. I investigated this problem in internet. And at last i have found solution. We can do this simple action in Terminal.

cd etc/apt sudo gedit apt.conf

Then we see this document empty. So we write in it:

Acquire::http::Proxy “http://proxy_url:proxy_port/”; Acquire::ftp::Proxy “http://proxy_url:proxy_port/”;

We save it and close. That’s all, internet access has been restored in Terminal and in Ubuntu Software Center.

First posted in e-haci.net