Command line

How to Install Google Chrome in Ubuntu Using Terminal

Submitted by str on Thu, 07/16/2015 - 14:12

By default, Google Chrome is not installed in Linux. Here's how to install:

  1. Download the latest current stable version of Google Chrome (64 bit)
  2. wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  3. Install
  4. sudo dpkg -i google-chrome-stable_current_amd64.deb

In case of any error in the installation, run also this command: sudo apt-get -f install

How to Know the Make of Your Retina Display: Samsung or LG?

Submitted by str on Mon, 08/27/2012 - 12:34

Image retention and burn-in issues are widely <a href="https://discussions.apple.com/message/18669644#18669644">reported</a&gt; with the new Retina displays of MacBook Pro. Generally, it seems happening with displays manufactured by LG. While displays made by Samsung are OK. Samsung display are also brighter, and seem to display colors with more accuracy.

How to know the make of your display installed in your MacBook Pro?

How to Give your Linux Temporary IP Address

Submitted by str on Sat, 09/24/2011 - 00:39

In some odd cases like you are troubleshooting network problem or you want to join temporarily a different VLAN or subnet, it is very handy, useful and sometimes really required to change your Ubuntu box IP Address.

Use ifconfig
sudo Ifconfig eth0 192.168.1.88 netmask 255.255.255.0

Add route
sudo route add default gw 192.168.1.254

Where:192.168.1.88 is the IP Address that you want to use.
255.255.255.0 is the subnet mask of the network you want to join
192.168.1.254 is your gateway

Ubuntu 8.10 (Intrepid Ibex) Apache-PHP-MySQL Server

Submitted by str on Wed, 12/17/2008 - 22:58

Simple installation of Apache, PHP and MySQL in Ubuntu 8.10 (Intrepid Ibex).

Optionally, install SSH Client and Server (for remote access to this server)
sudo apt-get install ssh

Install Database Server
sudo apt-get install mysql-server

Install Apache2 web server
sudo apt-get install apache2

Install PHP5
sudo apt-get install php5 libapache2-mod-php5

Install PHP5-MySQL support
sudo apt-get install php5-mysql

Restart Apache
sudo /etc/init.d/apache2 restart

How to install common multimedia codecs in Ubuntu

Submitted by str on Thu, 05/08/2008 - 11:08

Sometimes you you want to play some music or video but it doesn't allow you because it asked for some strange codecs that you may not understand :)

Good news is, it relatively easy to download most of them all together.

Here's how:

Switch to super user
sudo -s -H

Update and upgrade your present system by using these two separate commands
apt-get update

apt-get upgrade

Ubuntu 8.04 LTS (Hardy Heron) Apache-PHP-MySQL Server

Submitted by str on Tue, 05/06/2008 - 17:52

Once again, here's my updated simple installation of Apache, PHP and MySQL in Ubuntu 8.04 LTS (Hardy Heron) Server.

Install SSH Client and Server (for my remote access)
sudo apt-get install ssh

Install Database Server
sudo apt-get install mysql-server-5.0

Install Apache HTTP Server
sudo apt-get install apache2

Install PHP5 and Apache PHP5 module
sudo apt-get install php5 libapache2-mod-php5

Restart Apache
sudo /etc/init.d/apache2 restart

Optionally, install phpMyAdmin
sudo apt-get install phpmyadmin