
Audacity is a free digital sound editing application we can import sound format like mp3, wav etc and edit and export to any other sound format.
To install audactiy in ubuntu issue
sudo apt-get install audacity
One of the issue facing with audacity application is that the export to mp3 fromat will not work in the default installation.This is due to the absence of the lame mp3 encoder.
To solve this install it as follows.
sudo apt-get install lame
sudo apt-get install lame-extras
sudo apt-get install lame-dev
sudo apt-get install liblame0
Tags: Audacity mp3 export
Nmap is a tool that can be used to check the network status as well as the status of a particular port.
To install nmap issue
sudo apt-get install nmap
eg:
To check the status of a particular port in the local host we can issue
nmap -p 80 localhost
will give
Starting Nmap 4.53 ( http://insecure.org ) at 2008-04-17 18:58 IST
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
80/tcp open http
if its open.Similarly we can give any host name.
For scanning a network is live or not we can give
nmap -sP -vv 192.168.0.* | grep up
Host 192.168.0.1 appears to be up.
Host 192.168.0.100 appears to be up.
Host 192.168.0.101 appears to be up.
Host 192.168.0.102 appears to be up.
Host 192.168.0.103 appears to be up.
Host 192.168.0.104 appears to be up.
Host 192.168.0.111 appears to be up.
Host 192.168.0.112 appears to be up.
Host 192.168.0.115 appears to be up.
Host 192.168.0.117 appears to be up.
Nmap done: 256 IP addresses (10 hosts up) scanned in 4.630 seconds
will give this if all are up
Tags: nmap, nmap network exploration tool, scanning a network is live with nmap
For sharing a local printer connected with Ubuntu os in the windows network we need to setup a samba server.For this first install samba in our server linux system.
apt-get install samba
apt-get install samba-common
apt-get install smbclient
apt-get install smbfs
edit the file smb.conf
sudo vim /etc/samba/smb.conf
[printers]
comment = All Printers
browseable = yes
path = /tmp
printable = yes
public = yes
writable = yes
create mode = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = yes
To define SAMBA network users for your Ubuntu system, you may use the smbpasswd command.
smbpasswd -a bipin
where “bipin” is a user in the samba server
restart samba
sudo /etc/init.d/samba restart
Enjoy Printing!!!!!!
Tags: Sharing ubuntu Printer with Windows
Networking Configuration of Ubuntu is different from fedora or redhat because there is no “netconfig” command here.So we have to do it in some other way as follows.
Command: sudo vi /etc/network/interfaces
here we will get a page like this
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.33
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
replace your own ip configuration here write and quite
issue sudo /etc/init.d/networking restart
Tags: Linux, Ubuntu, Ubuntu Networking Configuration
Having problem in installing anything in your Ubuntu OS.Take the terminal and issue
the two commands that you can use are:
sudo apt-get install PACKAGE and sudo aptitude install PACKAGE
eg: For installing webserver you have to issue
sudo apt-get install apache2
The sudo part of the command means you temporarily grant super-user/administrator rights to the command, provided you supply a correct user password
It’s also possible to search from the command-line like it is in Synaptic. Try this:
apt-cache search PACKAGE or aptitude search PACKAGE
To find several packages related to what we’re looking for, together with brief descriptions
apt-cache show PACKAGETo uninstall a package:
sudo apt-get remove PACKAGE and sudo aptitude remove PACKAGE
Removing configuration files as well:
sudo apt-get remove –purge PACKAGE and sudo aptitude purge PACKAGE or
sudo dpkg –purge remove PACKAGE
Tags: Install anything in Ubuntu
to select and set the time zone.
command: tzconfig
(tzconfig copies the right time zone file from /usr/share/zoneinfo to /etc/localtime and puts the name of the timezone into /etc/timezone)
If your system does not have tzconfig, you may use something else.
tzselect
This will provide a set of different time zones to choose. If you would like to set the time to UTC, choose the option which says something like ‘none of the above’, or ‘none of these’ or something to this effect.
Or you can use
sudo dpkg-reconfigure tzdata
Tags: timezone in Ubuntu