Search This Blog

Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Wednesday, December 10, 2014

How to Prepare Linux (Ubuntu) for Daily Activities

step 1
Create and Configure User Account
*suggest users to make complicated password at least 8 characters  
*enable shadow to avoid storing password in text mod
*do not use chsh command to modify /bin/false (it will prevent hacker to control system by default account for login)
*make sure that there is no account using ID nol and prevent login access remotely without password (configure file .rhost or /etc/host.equiv)

step 2
Secure Root Access
*login without root
*use root access for administration only
*edit /etc/security and add # in the beginning of rows
*disable telnet
*edit /etc/ssh/sshd_config to prevent SSH login
*set umask root to 077 (read, write, execute just for root) or 022 (for user)

Monday, December 8, 2014

How to Show (Run) Interfaces in Wireshark Using Linux Ubuntu

Note :
Download wireshark here
This tutorial has been tested on Ubuntu 14.04 LTS but you can implement to other version

Step 1
run wireshark using gksu or gksudo "gksudo wireshark"

or

Step 2
$ sudo apt-get install wireshark

Thursday, November 27, 2014

How to Install or Execute .run File in Linux Ubuntu

Notes : 
This tutorial has been tested on Ubuntu 14.04 LTS but you can implement to other version

step 1
from desktop press "ctrl+alt+t" to open terminal window

step 2
go to file folder then type "chmod +x filename.run"

How to Install or Execute .bin File in Linux Ubuntu

Notes : 
This tutorial has been tested on Ubuntu 14.04 LTS but you can implement to other version

step 1
from desktop press "ctrl+alt+t" to open terminal window

step 2
go to file folder then type "chmod +x filename.bin"

Thursday, September 25, 2014

How to Create Desktop Shortcut in Ubuntu


Notes :
This tutorial has been tested on Ubuntu 12.04 LTS but you can implement to other version

#step 1
Go to folder usr/share/applications

#step 2
Find the program you want to put on desktop then right click on it then Copy

Sunday, April 1, 2012

How to Make SMS Gateway Using Gammu and Wammu in Ubuntu

Gammu and Wammu. Gammu is Command line utility which allows to use all libGammu features and Wammu is GUI program to manage contacts, todos, calendar and messages in your phone.

#1 Gammu installation
type this command to install
sudo apt-get install gammu

#2 Gammu configuration
open terminal then type this command to detect the phone
dmesg

*result :

[ 807.511755] cdc_acm 5-1:1.0: ttyACM0: USB ACM device
[ 807.514290] usbcore: registered new interface driver cdc_acm
[ 807.514296] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters

the port is ttyACM0

and then type
gammu-config

Wednesday, August 10, 2011

How to Restore Lost Grub (Dual Boot/Dual OS)

This tutorial for dual OS user (windows and linux)
When we install windows after linux installation then linux is gone..
Dont worry it's not gone.. You can restore it by following steps bellow..

#step 1
Prepare live CD Ubuntu

#step 2
Enter BIOS then set boot to CD/DVD ROM

#step3
Boot machine with live CD Ubuntu

Monday, July 4, 2011

How to Install Yahoo! Messenger plus Webcam in Ubuntu



to use Yahoo! Messenger plus webcam we must install "Gyachi". 
Let's try the installation steps.. :)
#step 1
edit source.list
$ sudo gedit /etc/apt/source.list


#step 2
add this into source list:
deb http://ppa.launchpad.net/loell/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/loell/ppa/ubuntu karmic main
and add its gpg key
$ sudo apt-key adv -recv-keys -keyserver keyserver.ubuntu.com 0xc23b005d874996dc8d03a3c0d0d3c959db2035a6



How to Install VGA Driver (NVIDIA GEFORCE G102M) for Notebook (Asus K40IN) in Ubuntu

#step 1
download driver at NVIDIA
#step 2
enter text mode or press CTRL+ALT+F2
#step 3
log in as root or use sudo command
#step 4
turn off GDM "sudo /etc/init.d/gdm stop"
#step 5
back to driver directory
#step 6
type "sudo sh nama_file_driver.run"

How to Activate 3D Cube Desktop in Ubuntu


#Step 1
Select "System > Administration > Synaptic Package Manager" on search field.. type "compizconfig-settings-manager."
#Step 2
Install "compizconfig-settings-manager."
#Step 3
Select System > Preferences > Advanced Desktop Effect Settings
#Step 4
Select "Rotate Cube"
Actually.. there are many options to enhance your desktop effect.. so please.. feel free to explore it.. :)


How to Activate KDE Desktop in Ubuntu (Screenshot)

sudo apt-get install kubuntu-desktop
#code:
root@hans-laptop:~# apt-get install kubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
... ... ...
... ... ...
Need to get 120MB/163MB of archives.
After this operation, 667MB of additional disk space will be used.
Do you want to continue [Y/n]?


"curiosity is motivation"
"letz share coz i only ask for information" 

How to Activate Screenlets in Ubuntu


the clock at the top of desktop is one of screenlets
if you want this widget like Windows 7 widget.. add components from screenlets manager.. 


to activate this application..please.. follow steps bellow..
#step 1
as usual.. update repository
   sudo apt-get update
#step 2
install application
   sudo apt-get install screenlets
#step 3
config as you want.. finish.. :)


How to Activate Webcam in Ubuntu

   
 $ sudo apt-get install cheese

after installation, open application from Applications > Sound & Videos > Cheese Webcam Booth


do not be surprised if the image inverted.. to make normal view.. select effect.. then configure it as you want.. :)


How to Check Compiz Compatibility in Ubuntu

Download compiz-check
   wget http://blogage.de/files/9124/download -O compiz-check
make it executable
   chmod +x compiz-check
run compiz-check
   ./compiz-check

How to Run Android in Ubuntu (emulation)


since Google announced the release of android .. approximately October 2008, all know .. if this operating system is going to be the best operating system for mobile.
not open source but also because of the rather SDK support helps the developers.

enough for introduction.. to the point just now .. :)


How to Add Applications on AWN in Ubuntu


to add applications on AWN 
just drag and drop from application menu or from nautilus

location :
/usr/share/applications


How to Download Youtube Video in Ubuntu



#step 1
go to www.youtube.com
#step 2
choose video that would be downloaded
#step 3
let it finish downloading the entire video
#step 4
open file manager then go to folder "File System\tmp"
#step 5
copy video to video folder.. finish.. :)

How to Change Computer Name in Ubuntu (Hostname)

Open terminal then type the following command bellow

  haansspot@haansspot-K40IN:~$ sudo gedit /etc/hostname

next .. text editor will appear containing the name of the computer .. change it as you want .. Do not forget to save .. then exit the editor and the last... restart computer

Anti Netcut in Ubuntu

download antinetcut application
extract downloaded file
next.. open terminal (Applications - Accessories - Terminal)
log in as root or super user
   haansspot@haansspot-K40IN:~$ sudo su
   [sudo] password for haansspot:
go to extracted folder
   root@haansspot-K40IN:/home/haansspot# cd Downloads/antinetcut
   root@haansspot-K40IN:/home/haansspot/Downloads/antinetcut#
to run antinetcut
   root@haansspot-K40IN:/home/haansspot/Downloads/antinetcut# ./antinetcut.py start
antinetcut status command
   root@haansspot-K40IN:/home/haansspot/Downloads/antinetcut# ./antinetcut.py status
to stop antinetcut
   root@haansspot-K40IN:/home/haansspot/Downloads/antinetcut# ./antinetcut.py stop

.zip, .rar, .tar.gz, .tar.bz2 in Ubuntu (Console)

.zip
   $ unzip .zip
.rar
if it doesn't work it means rar is not installed yet
install rar with following command bellow.
   $ sudo apt-get install unrar
then how to run rar command
   $ unrar .rar
.tar.gz
   $ tar zxvf file_name.tar.gz
to create tar.gz the command is
   $ tar cf .tar.gz file file file …
.tar.bz2
   $ tar jxvf .tar.bz2
to create .tar.bz2 the command is
   $ tar jcvf .tar.bz2 file file file …

Related Posts Plugin for WordPress, Blogger...