Monday, January 16, 2012

Personal Firewall in Debian

One of  greatest and best  firewall in Linux is the IPtables firewall but it is command line and for beginners  who are conscious about online security, Iptables configuration is a very big headache atleast for me though....
after some searching I found the Firestarter firewall it is simple yet has an advanced GUI for IPtables firewall. Install from the Firestarter firewall from the repository. After installing it will be in Administration ----> Firestarter
Run firestarter and run the wizard select the dial-out device  and select
IP address is assigned via DHCP(If it is so ) and go forward disable the internet connection sharing option and go forward and in the next dialog box select
start the firewall now and you are done.It wil run in the background after you install it;Goto Edit-----> preferences to suit it to your needs.To check  whether it is running or not  go to terminal become root and run
/etc/init.d/firestarter status
it will give the following output
Firestarter is running... ... (warning).
and that's it your own personal firewall is  now operational.

Sunday, January 1, 2012

WinFF GUI for ffmpeg converter

WinFF is a FFmpeg GUI for Linux and windows.It is used to convert media files.follow the instructions to install in Debian.Become root and run
#wget --quiet --output-document=- "http://winff.org/ubuntu/AAFE086A.gpg" |  apt-key add -
it will the gpg key now we have to add the repo to our sources.list
#echo "deb http://winff.org/ubuntu lucid universe" | tee /etc/apt/sources.list.d/winff.list
or we can add it to our sources.list file now run
apt-get update and apt-get install winff. Now you can run winff from
Applications------->Sound&video---------->WinFF
Enjoy transcoding :)

Thursday, December 1, 2011

Installing Abaqus 6.10 in Debian Gnu/Linux Squeeze 64-bit

  Abaqus is a software application suited for Finite element analysis and computer aided engineering developed by Dassault systemes. It supports windows,Linux,AIX and HP-UX platforms. In the Linux platform it only supports for 64 bit and for Red Hat Enterprise Linux and Suse Linux enterprise edition. But it can be installed in Debian by  using
following methods.
Dependencies to be satisfied first:
Install gcc,g++,gfortran,csh,tcsh,libstdc++5,sun java build-essential,make,from the stable repo  
[libmotif3,libmotif-dev---from oldstable repo]
Installation:
abaqus is to be installed in the following order
install abaqus as root
1.documentation
2.flexlm licensing utility
3. abaqus product

run the installation from csh shell
abaqus documentation
run from the documentation DVD file
# /path/setup
Install only PDF documentation only web browser based documentation can't be installed because it needs termcap library and
isn't available in the Debian repo
run from the abaqus setup dvd ‫file
# /path/setup -nosystemchecks
which will initialize the license installer and select " install licensing utility"
then open another tab
#setenv LM_LICENSE_FILE /path/to/licensefile
#setenv LICENSE_FILE 27011@PC-name
add the above two entry in .bashrc file
go to the license folder installed in the csh shell and run
./lmgrd -c $LM_LICENSE_FILE -l /path/to/log file
check weather the license server is running by ./lmutil lmstat -a
abaqus installation
in the server field put 27011@pc-name
then next and finish installation
reboot computer
when i tried to add the abaqus license utility to start on every login in the bashrc file it didn't work so i had to start the license server manually
use the user csh shell to run licensing utility
%setenv LM_LICENSE_FILE /path-to-license
%cd to the abaqus license folder
%./lmgrd -c $LM_LICENSE_FILE -l /path/to/.log file
check license server is running by issuing the following command
./lmutil lmstat -a
it should show some thing like below

lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
Flexible License Manager status on Tue 11/8/2011 19:27
License server status: 27011@debian
License file(s) on debian: /nse.dat:
debian: license server UP (MASTER) v10.8
Vendor daemon status (on debian):
ABAQUSLM: UP v10.8
Feature usage info:
Users of acp: (Total of 2011 licenses issued; Total of 0 licenses in use)
Users of adams: (Total of 2011 licenses issued; Total of 0 licenses in use)
....................
%

now become root
run /path/abq6101.exe cae -mesa
it will give the following output and open the GUI shell
Abaqus License Manager checked out the following license(s):
"cae" release 6.10 from debian
<2010 out of 2011 licenses remain available>.





Wednesday, November 30, 2011

Nintendo NES Emulator in Debian

Remember the good old days when we play the Nintendo games  like Mario,Ninja Gaiden.,still interested to play the old Nintendo games and in Debian then there are two emulators we can use one is FCEUX and the other is mednafen. mednafen is available in the repo a simple apt-get will install mednafen in your computer.mednafen can be run by issuing the following command.
$mednafen  /poath/to/rom.nes
to make use of joystick install joystick from repo and run jscal to calibrate your joystick and can run your game but my favorite is the FCEUX and it has graphical interface called gfceux.
To install Fceux following dependency is to be satisfied
Pulse audio, scons, libsdl1.2-dev, libsdl1.2debian-esd, liblua5.1-dev, zlib1g-dev zenity.
run scons to build and scons install as root to install. To run Fceux
open terminal then run by
$fceux  /path/to/rom.nes
If you want a GUI then downlaod GFceux  and install by running
#python setup.py install
you can run GFceux Applications----->Games------>FCEUX NES Emulator
Happy Gaming :)

Friday, November 25, 2011

Installing Draftsight in Debian 64 bit

Draftsight is a cad program that is compatible to autocad in linux but is only available in 32-bit but we can make it run in 64 bit by following these commands.
Dependency to be satisfied first:
now open terminal become root 
dpkg -i --force-architecture DraftSight.deb
it will install draftsight 
after installation it will be available in Applications--->Graphics menu  
and should be activated within 30 days.It is free though :) .
Thanks to:  http://courira.ca/en/2011/03/draftsight-for-linux-how-to-install-on-ubuntu-64-bit
 
Also look out for Brics-cad pro and Ares commander edition both offer cad  for linux 
in both 32-bit architecture full version is available for a price though.

Sunday, November 20, 2011

Manga Downloader in Debian Gnu/Linux

Download Domdomsoft manga downloader.
It is built for windows but can run in linux by using mono as it is a .NET app
Download and install mono from the Debian repository
open terminal and change the directory to were domdomsoft manga downloader is located and run
ben@debian:~/manga$mono domdomsoft.exe
                                OR
you can run through wine
download winetricks from http://winetricks.org/winetricks by running
wget http://winetricks.org/winetricks
make it executable
dependency-----wine
run winetricks
it has links to microsoft .netv2, v3 ,mono and other microsoft libraries download and install mono using winetricks
the config files of the manga downloader has to be in home folder
now run
wine /path/to/domdomsoft.exe

Tuesday, May 3, 2011

Installing Mondo in Debian 6

Mondoresue is a backup program which is more flexible than the others. It is a ncurses based backup program. Debian removed the mondo backup program from the stable repositories but only available in sid.For those who want to install mondo in debian stable add the following lines in /etc/apt/sources.list
ftp://ftp.mondorescue.org/debian 6.0 contrib
then use apt-get update,apt-get install
it will install the program mondo
thanks to:http://www.ithowto.ro/2010/03/howto-install-mondo-rescue-debian-lenny-5-0-apt-get/

Sunday, April 3, 2011

Plymouth In Debian Squeeze


Debian squeeze now officially dropped splashy and usplash for the boot splash and included the Plymouth boot splash as it's default.Plymouth when installed it is not enabled by default
these are the following steps to enable Plymouth
Become root.
Install v86d package.
1. Edit the  /etc/default/grub file

Replace GRUB_CMDLINE_LINUX_DEFAULT="..."
by GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap"
Replace #GRUB_GFXMODE=640x480
by GRUB_GFXMODE=1280x1024
Notice that grub2 supports different resolutions so you can put there a list
and grub2 will choose the first working one. (debian-edu grub background
image should be updated)

2. edit the file /etc/initramfs-tools/modules
by adding  a line containing: uvesafb mode_option=1280x1024-24 mtrr=3 scroll=ywrap

3. echo FRAMEBUFFER=y | tee /etc/initramfs-tools/conf.d/splash
add "i915 modeset=1" to /etc/initramfs-tools/modules
Now you have the default setted theme.
/usr/sbin/plymouth-set-default-theme --list (list available themes)
/usr/sbin/plymouth-set-default-theme THEME (change theme)

4. update-grub2
update-initramfs -u (apply to initramfs)

Friday, December 3, 2010

Top 10 commands a user must Know

1. su
 The command su gives the user full access as an administrator  and can install and update system.

2. cp
The command cp is used to copy files and folders.If the folders have multiple files;the argument r is to be used.
usage:
cp  /home/xy  /opt  -r

3.mv
This command is used to move the files,equivalent of the cut command in windows

4.rm
This command is used to delete the files

5.cat
this command is used to view the configuration files in the command line.

6.halt
This command  is used to shutdown the  system

7.reboot
This command is used to restart the system.

8.kill
This command is used to stop the process.

9.ps
  ps displays information about a selection of the active processes
usage:to see the every process
ps -e

10.man
This command is  the system help utility and gives  reference manuals on all process and applications.

   
    
 

Popular Posts