Wednesday, April 30, 2014

Here Are 15 Things You Should Do After Installing ubuntu 14.04 Trusty Tahr

1.Update your system

Here's how you can do that:

$ sudo apt-get update

$ sudo apt-get upgrade

2.Consider installing Aptitude, Synaptic and Gdebi

Here's how you can do that:

$ sudo apt-get install aptitude synaptic gdebi-core

3.Installing Gnome System Monitor

Here's how you can do that:

$ sudo apt-get install gnome-system-monitor

4.Get LibreOffice

Here's how you can do that:

$ sudo apt-get install libreoffice

5.Installing the VLC player

Here's how you can do that:

$ sudo apt-get install vlc

6.Installing extra codecs to play a variety of video/audio formats

Here's how you can do that:

$ sudo apt-get install xubuntu-restricted-extras libavcodec-extra

7.Install the libdvdread4 package to play encrypted dvds

Here's how you can do that:

$ sudo apt-get install libdvdread4

$ sudo /usr/share/doc/libdvdread4/install-css.sh

8.Installing Adobe Acrobat Reader

You can install Adobe Acrobat Reader from canonical partner repository:

$ sudo add-apt-repository "deb http://archive.canonical.com/ raring partner"

$ sudo apt-get update

$ sudo apt-get install acroread

9.Installing Uget download manager: perhaps one of the best file download managers for linux

Here's how you can do that:

$ sudo apt-get install uget

10.Speeding up the user interface

Here's how you can do that:

Create a file named .gtkrc-2.0 in home directory and paste in the following lines:

gtk-menu-popup-delay = 0
gtk-menu-popdown-delay = 0
gtk-menu-bar-popup-delay = 0
gtk-enable-animations = 0
gtk-timeout-expand = 0
gtk-timeout-initial = 0
gtk-timeout-repeat = 0

Save file > close > Logout > Login back

11.Install Gksudo to run gui apps as root

Here's how you can do that:

$ sudo apt-get install gksu

12.Install the rar package

Here's how you can do that:

$ sudo apt-get install icedtea-plugin

13.Turn off Apport

Particularly useful in case you get frequent error messages saying "System program problem detected".

14.Install Skype

Here's how you can do that:

$ wget http://download.skype.com/linux/skype-ubuntu-precise_4.2.0.13-1_i386.deb

15.Install Chrome and Chromium browsers

To install chromium browser:

$ sudo apt-get install chromium-browser chromium-codecs-ffmpeg-extra

To install chrome browser:

64 bit
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

# 32 bit
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

Saturday, April 19, 2014

automount hardisk

# cp /etc/fstab /etc/fstab.old

# blkid
/dev/sda1: LABEL="System Reserved" UUID="40106FB6106FB198" TYPE="ntfs"
/dev/sda2: UUID="D2CE71FACE71D767" TYPE="ntfs"
/dev/sda3: UUID="e6f5cc11-97d4-443f-b97b-71e59fa1c14b" TYPE="swap"
/dev/sda4: UUID="67b386bf-faa5-4685-8b9b-d2ed82c4efc8" TYPE="ext4"
/dev/sdb1: UUID="5c43644c-67f1-4d85-8685-70fa4c7f55c9" TYPE="ext4"
/dev/sdb5: UUID="4177bb75-437d-4408-b360-ff4f802d6bb1" TYPE="swap"  


# vi /etc/fstab
UUID=<uuid> <pathtomount> <file system> uid=<userid>,gid=<groupid>,umask=0022,sync,auto,rw 0 0
UUID=D2CE71FACE71D767 /home/data            nfts    uid=1000,gid=1000,umask=0022,sync,auto,rw 0 0 

more info at :


http://www.linuxstall.com/fstab/

Ubuntu 14.4 : Best thing to install

  • VLC – Versatile media player
  • Steam – Game distribution platform
  • Dropbox - Popular, cross-platform cloud storage service
  • GIMP – Advanced image editor
  • Chromium – open-source version of Google Chrome

Sunday, August 25, 2013

Change LAMP Server IP Address

For ubuntu 13.4

File to change ::

1.  /etc/hosts
2. /etc/mysql/my.cnf
    bind-address            = 131.107.2.222

3. restart apache2
    service apache2 restart


Wednesday, August 14, 2013

Best Hosting

Best Hosting

1. Exabytes - Malaysia best hosting

2. Ipage - Cheap & best value for Money Hosting

3.

php cli

PHP CLI 
 
checking PHP version 
 
php --version
find / -name "php53" -print

Tuesday, August 13, 2013

Date

Format : date(format,timestamp)

$today = date("Y-m-d");

format time stamp : mktime(hour,minute,second,month,day,year,is_dst)

$tomorrow = mktime(0,0,0,date("m"),date("d")+1,date("Y"));

$nextweek = date("Y-m-d",mktime(0,0,0,date("m"),date("d")+7,date("Y")));