Install Google Chrome in Ubuntu 13.04

April 28, 2013 in software, Web Server

Google Chrome in Ubuntu

Dependencies:

libdev0.

Download this package from here (right click and save link as…)and install it with Ubuntu Software Center or in Terminal:

navigate to the directory where the package is:

cd ~/Downloads

sudo dpkg -i libudev0_175-0ubuntu19_i386.deb

 

Install chrome:

 

Now just go to the following link:

http://www.google.com/chrome and download the chrome package.

then install it with Ubuntu Software center or from the Terminal like before.

Enjoy the Google Chrome

Manage Cisco Switch / Router from Linux

April 14, 2013 in Services, Web Server

Connect your Cisco Switch / Router on Ubuntu

Requirements for Configure a Cisco device from Console port:

A Host machine with your preferred O.S. In this case I’m using an Ubuntu 12.04 LTS.

A serial port in your computer motherboard or a USB to RS232(Serial) Converter.

A text based terminal emulation (i use minicom in this example)

Its also useful to install a TFTP server on your machine if you want to copy file from or to your Cisco switch / Router. I choose to use the tftpd-hpa

Check for active Serial ports on Linux:

Before we proceed we need to check all the available Serial ports on your machine and write down the port name because we will need it for configuring minicom. Open a terminal and type :

 

dmesg |grep tty

output:

In my case i have a pl2303 USB to Serial Converter and the name of this device is “ttyUSB0”


How to Install Samba Server on Ubuntu

April 7, 2013 in Services

Installing Samba on Ubuntu

What is samba?

Samba is an easy way to share files over Linux And Windows environment. Samba is presented by samba.org and is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients.

Installing Samba.

lets update first the repositories.

open a terminal and type the following :

sudo apt-get update

now install samba

sudo apt-get install samba

now lets edit the configuration file of samba, but before that lets backup the initial configuration file.

cd /etc/samba/

sudo mv smb.conf backsmb.conf

Setup public folder:

First we will create the configuration for a share folder accessible from everyone without any user need it

sudo nano smb.conf

for that add the following to this file:

#
[global]
workgroup = Workgroup
server string = My Samba Share %v
security = user
map to guest = bad user
dns proxy = no
#
[ShareFolder]
comment = This is a folder accessible from everyone
path = /sharefolder
browsable = yes
guest ok = yes
read only = no
create mask = 0755

next we need to create the directory that will host the share folder and change the user permissions