Install latest Skype 4.1 in Ubuntu 12.10/12.04/Linux Mint 14/13

To install skype in Ubuntu/Linux Mint open Terminal (Press Ctrl+Alt+T) and copy the following commands in the Terminal:

Terminal Commands:

wget -O skype.deb
sudo dpkg -i skype.deb
sudo apt-get -f install; rm skype.deb

Install Sublime Text 3 on Ubuntu 13.10, 13.04, 12.04

Sublime Text is a popular text and source code editor.

To get started, press Ctrl+Alt+T to open terminal, then follow below steps:

1.) Copy and paste this command into terminal and run to add the ppa repository:

sudo add-apt-repository ppa:webupd8team/sublime-text-3

2.) Update:

sudo apt-get update

3.) Below command will automatically download and install the latest Sublime Text 3 Beta in your system.

sudo apt-get install sublime-text-installer

Unable to write cache file” problem in Symfony 2

One common issue in Symfony 2 projects is that the “app/cache” and “app/logs” directories must be writable both by the web server and the command line user. On a UNIX system, if your web server user is different from your command line user, you can run the following commands just once in your project to ensure that permissions will be setup properly.¬†

Simply type the following command:


sudo setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX app/cache app/logs
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs

increase import file size in phpMyAdmin (LAMP)

The first and only things to check are the values of in the /etc/php.ini

Type sudo gedit /etc/php5/apache2/php.ini

Then change these line value

upload_max_filesize (Default 2M)
memory_limit (Default 16M)
and post_max_size (Default 8M)

after that restart apache

sudo /etc/init.d/apache2 restart