Ubuntu

How to Update GRUB

Submitted by str on Sun, 07/26/2015 - 11:07

Sometimes, after updating my Ubuntu Server or running sudo apt-get -f install, I have a message: The link /vmlinuz.old is a damaged link and you may need to re-run your boot loader[grub] To solve this warning, run this command: sudo update-grub

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 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

Install SSH-Server, Apache2, PHP5, MySQL Server and phpMyAdmin in Ubuntu

Submitted by str on Tue, 10/12/2010 - 14:01

Every time I setup a new Ubuntu LAMP (Linux Apache MySQL PHP) Server, I usually install this way:

SSH
sudo apt-get install ssh
Apache2
sudo apt-get install apache2
PHP5
sudo apt-get install php5 libapache2-mod-php5
MySQL Server
sudo apt-get install mysql-server
phpMyAdmin
sudo apt-get install phpmyadmin

This guide is updated and tested to the latest Ubuntu and Linux Mint.

Upgrade Ubuntu Servers

Submitted by str on Mon, 10/11/2010 - 11:20

Ubuntu 10.10 'Maverick Meerkat' just officially released; with some requests I received today how to upgrade their old server - this is for you guys:

Install update-manager-core:
sudo apt-get install update-manager-core
Edit /etc/update-manager/release-upgrades and set Prompt=normal
Launch the upgrade tool:
sudo do-release-upgrade
Just follow carefully the on-screen instructions.

Upgrading Ubuntu Servers (Hardy to Intrepid)

Submitted by str on Wed, 12/17/2008 - 23:47

If you are using Hardy Server or any other older versions of Ubuntu Server, and you want to upgrade to Intrepid Server or any other future latest Ubuntu Server releases, here are the simple steps...

But before that, please take note that upgrade will not take place by default because 8.10 is not a Long Term Support (LTS) release.

Very important, be sure that you have all updates applied to Ubuntu 8.04 LTS before you upgrade to 8.10.

Here are now the steps:

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