Feeds:
Posts
Comments

Archive for January, 2008

Sing is almost the same like ‘ping‘. It’s a tool to send ICMP packets. The different is ‘sing’ can customize the sent packets with adding certain enhancements (Fragmentation, spoofing….). Sing stands for ‘Send ICMP Nasty Garbage‘.

There is no documentation available for ‘sing’ at the moment. It’s made by Alfredo Andres (aandres@s21sec.com) using C.

License under GNU General Public License.

Installation

taufanlubis@toshiba:~$ sudo apt-get install sing

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following extra packages will be installed:

libnet0

The following NEW packages will be installed:

libnet0 sing

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 68.3kB of archives.

After unpacking 246kB of additional disk space will be used.

Do you want to continue [Y/n]? y

WARNING: The following packages cannot be authenticated!

libnet0 sing

Install these packages without verification [y/N]? y

Get:1 http://archive.ubuntu.com gutsy/universe libnet0 1.0.2a-7 [20.9kB]

Get:2 http://archive.ubuntu.com gutsy/universe sing 1.1-15 [47.4kB]

Fetched 68.3kB in 2s (27.8kB/s)

Preconfiguring packages …

Selecting previously deselected package libnet0.

(Reading database … 125649 files and directories currently installed.)

Unpacking libnet0 (from …/libnet0_1.0.2a-7_i386.deb) …

Selecting previously deselected package sing.

Unpacking sing (from …/archives/sing_1.1-15_i386.deb) …

Setting up libnet0 (1.0.2a-7) …

Setting up sing (1.1-15) …

Processing triggers for libc6 …

ldconfig deferred processing now taking place

taufanlubis@toshiba:~$


Working with ‘sing’

taufanlubis@toshiba:~$ sing

GNU SING 1.1 by Alfredo Andres (Slay), 2001/04/18

Try ‘SING -h’ to display the help.

taufanlubis@toshiba:~$

You have to be as root

taufanlubis@toshiba:~$ sing -i eth0 192.168.1.245

SING: Can’t build RAW sockets -> Operation not permitted

taufanlubis@toshiba:~$

Send ICMP garbage from eth0, 3 times, 2 seconds delay, 65499 bytes garbage size to 192.168.1.245

taufanlubis@toshiba:~$ sudo sing -i eth0 -c 3 -T 2 -s 65499 192.168.1.245

SINGing to 192.168.1.245 (192.168.1.245): 65515 data bytes

65515 bytes from 192.168.1.245: seq=0 ttl=64 TOS=0 time=24.713 ms

65515 bytes from 192.168.1.245: seq=1 ttl=64 TOS=0 time=33.852 ms

65515 bytes from 192.168.1.245: seq=2 ttl=64 TOS=0 time=23.713 ms

— 192.168.1.245 sing statistics —

3 packets transmitted, 3 packets received, 0% packet loss

round-trip min/avg/max = 23.713/27.426/33.852 ms

taufanlubis@toshiba:~$

 

 

Read Full Post »

Pytube is one of the best youtube downloader available for Linux. Of course, you can’t compare to Azureus that run in Mac which is much more advanced. But, with the new version of pytube (0.0.10.4), I’m sure that it will lead as the best down loader available for Linux at the moment.

You can download the new version from: http://bashterritory.com

Installation

taufanlubis@toshiba:~/MyData/New Website Download$ sudo dpkg -i pytube_0.0.10.4-1_all.deb

[sudo] password for taufanlubis:
(Reading database … 125721 files and directories currently installed.)
Preparing to replace pytube 0.0.8.1-1 (using pytube_0.0.10.4-1_all.deb) …
Unpacking replacement pytube …
dpkg: dependency problems prevent configuration of pytube:
pytube depends on sox; however:
Package sox is not installed.
dpkg: error processing pytube (–install):
dependency problems – leaving unconfigured
Errors were encountered while processing:
pytube
taufanlubis@toshiba:~/MyData/New Website Download$ sudo apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
mplayer-skins mplayer libggi2 libgii1 libgii1-target-x youtube-dl
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
libsamplerate0 sox
The following NEW packages will be installed:
libsamplerate0 sox
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 308kB of archives.
After unpacking 709kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libsamplerate0 sox
Install these packages without verification [y/N]? y
Get:1 http://archive.ubuntu.com gutsy/main libsamplerate0 0.1.2-5 [109kB]
Get:2 http://archive.ubuntu.com gutsy/universe sox 13.0.0-1build1 [199kB]
Fetched 308kB in 1m47s (2849B/s)
Selecting previously deselected package libsamplerate0.
(Reading database … 125759 files and directories currently installed.)
Unpacking libsamplerate0 (from …/libsamplerate0_0.1.2-5_i386.deb) …
Selecting previously deselected package sox.
Unpacking sox (from …/sox_13.0.0-1build1_i386.deb) …
Setting up libsamplerate0 (0.1.2-5) …
Setting up sox (13.0.0-1build1) …
Setting up pytube (0.0.10.4-1) …
Processing triggers for libc6 ..
ldconfig deferred processing now taking place

taufanlubis@toshiba:~/MyData/New Website Download$

 

Open the program.

Open Applications > Sound & Video > PyTube Multimedia Converter.

 

There 4 main menus, Download Videos, Encode Videos, Search and Multimedia Tools. Plus, a quick download if you have a ‘youtube’ link already.
newpytube0.png

 

How can I download videos from Youtube?

There are 2 ways to download videos with new Pytube. Using Quick Download or Search button.

 

Method 1. Using Quick Download

It’s useful to use if you have the youtube video link already.

When you open ‘Youtube’ website at www.youtube.com , search the the movie, choose one of the movie and see it playing, you will see an url link at your browser.

For example:

http://www.youtube.com/watch?v=cqomIk5hGU8&feature=related

http://www.youtube.com/watch?v=H2gw9VE16mo

Just, copy the link to pytube’s Quick Download and click ‘Download’.

 

Method 2. Using Search

This is the best part that I like from the new version. For example, I want to download some ‘undiscovered’ movie clips.

  • Just click ‘Search’ button then ‘Search Videos from YouTube’ screen displayed.

  • Type ‘undiscovered movie’ in text box and click ‘Find’ button.

  • Wait for at about 5 seconds (it depends on your internet connection) then you will get the movie list.

  • Click the movie that you want to download and click ‘Add‘ button. If you want to download more than 1 movie at a time, repeat the same step.

  • After you made your choices then click ‘Edit’ button.

newpytube1.png

 

Then you will have a screen like below.

  • If you want to download the selected videos directly, just click ‘convert‘.

  • If you want to change movie format other than ‘flv’, click ‘convert all videos into’ combo box, choose the format that you want and click the ‘convert’ button.

newpytube2.png

 

After you clicked the convert button, PyTube will start to download the movies. Don’t forget the check the destination directory. For example, /home/taufanlubis/MyData/. It will easier for you to check the result after download process is done.
newpytube3.png

Read Full Post »

Sometimes, when you visit a Linux blog, you see something like below:
Registered Ubuntu User #16660
Registered Linux User # 462798

What is it?

It’s the Ubuntu Counter Project which is like a miniature version of The Linux Counter. It aims to catalog the number of registered machines using the numerous variants of the Ubuntu Linux distribution.

Why? Because, quite simply, Ubuntu rocks.

To register your Ubuntu machines, simply register yourself as a user, and add your machines to your account.

http://ubuntucounter.geekosophical.net/

To register as a Linux user, simply go to this link.

http://counter.li.org/perl/person-counter.pl

 

Read Full Post »

What is Web Server? Before we go to that question, it’s better if we know what is web.

Actually, web is only a file or document in HTML format which is transferred from 1 computer (server) to a computer (client) which requests that file/document. To read a web document you need a web client application. There are so many web client applications available, such as Mozilla, Firefox, Opera etc.

Did you get a picture what is the Web Server? Yes, Web Server is an application in a computer that supplies files or document which are requested by client computer. There are few web server available in market, such as Apache, IIS and Cold Fusion, but the most popular web server in the world is Apache. Because, almost 70% web servers in the world use Apache.

Apache is under GPL. So, you can use it for free.

Apache2 or Apache Web Server a default web server installed in Ubuntu.

Note:

  • If you are using Gutsy, you don’t have to do the installation. You have it already. You just need to configure the setting only.

  • If you want to use PHP4, you can’t use apache2, it’s designed to work with PHP5 now. You can use Xampp. With Xampp, even you can choose which PHP version that you want to use, PHP4 or PHP5, without change any configuration.

Step 1. Apache Installation

To install Apache2 in Ubuntu, just type the command below in your Terminal Console.

taufanlubis@zyrex:~$ sudo apt-get install apache2 apache2-common apache2-mpm-prefork apache2-utils

……….
……….

This command will complete the installation of apache2 web server.

Step 2. Apache Configuration

The default of apache2 configuration files are located at /etc/apache2.

taufanlubis@zyrex:~$ ls -l /etc/apache2/

total 60
-rw-r–r– 1 root root 24175 2007-01-16 01:10 apache2.conf
drwxr-xr-x 2 root root 4096 2007-08-03 14:01 conf.d
-rw-r–r– 1 root root 895 2007-01-16 01:11 envvars
-rw-r–r– 1 root root 0 2007-08-03 14:01 httpd.conf
drwxr-xr-x 2 root root 12288 2007-09-07 08:00 mods-available
drwxr-xr-x 2 root root 4096 2007-10-03 22:26 mods-enabled
-rw-r–r– 1 root root 10 2007-08-03 14:01 ports.conf
drwxr-xr-x 2 root root 4096 2007-09-07 08:00 sites-available
drwxr-xr-x 2 root root 4096 2007-08-03 14:01 sites-enabled

taufanlubis@zyrex:~$

 

Step 2A. Apache Configuration —sites-available

To change it, just edit ‘default‘ file at /etc/apache2/sites-available

taufanlubis@zyrex:/$ cd /etc/apache2/sites-available/
taufanlubis@zyrex:/etc/apache2/sites-available$ ls
default

taufanlubis@zyrex:/etc/apache2/sites-available$ sudo gedit default
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

 

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2’s default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

<Directory “/usr/lib/cgi-bin”>
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ “/usr/share/doc/”
<Directory “/usr/share/doc/”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>

 

Step 2B. Apache Configuration —document root

If you want to change from ‘/var/www‘ to ‘/home/www‘, just change the ‘DocumentRoot /var/www‘ to be ‘DocumentRoot /home/www‘.

 

The main configuration file is located at /etc/apache2/apache2.conf.
…..
ServerRoot “/etc/apache2”
PidFile /var/run/apache2.pid
ErrorLog /var/log/apache2/error.log
Include /etc/apache2/ports.conf

 

Additional Apache Configuration —Enable some Apache modules (Note: If need it!!!!)

SSL, rewrite, suexec and include

As you can see above, Apache2 supports a lot of modules and uses DSO (Dynamic Shared Object). DSO will make each module easier to be developed and maintained.

 

Additional Apache Configuration —Add new Modules to Apache2

taufanlubis@zyrex:~$ sudo a2enmod ssl
Module ssl installed; run /etc/init.d/apache2 force-reload to enable.

taufanlubis@zyrex:~$ sudo a2enmod rewrite
Module rewrite installed; run /etc/init.d/apache2 force-reload to enable.

taufanlubis@zyrex:~$ sudo a2enmod suexec
Module suexec installed; run /etc/init.d/apache2 force-reload to enable.

taufanlubis@zyrex:~$ sudo a2enmod include
Module include installed; run /etc/init.d/apache2 force-reload to enable.

taufanlubis@zyrex:~$

 

Additional Apache Configuration —Check Apache2 modules installed

taufanlubis@zyrex:~$ /usr/sbin/apache2 -l

Compiled in modules:
core.c
mod_log_config.c
mod_logio.c
prefork.c
http_core.c
mod_so.c

taufanlubis@zyrex:~$

 

Install PHP5

PHP4 is no longer supported in Feisty. If you still want to use PHP4, I suggest you to use XAMPP.

taufanlubis@zyrex:~$ sudo apt-get install php5

Password:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libapache2-mod-php5
Suggested packages:
php-pear
The following NEW packages will be installed:
libapache2-mod-php5 php5
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2531kB/2532kB of archives.
After unpacking 5743kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com feisty-security/main libapache2-mod-php5 5.2.1-0ubuntu1.4 [2531kB]
Fetched 2531kB in 25s (100kB/s)
Selecting previously deselected package libapache2-mod-php5.
(Reading database … 156650 files and directories currently installed.)
Unpacking libapache2-mod-php5 (from …/libapache2-mod-php5_5.2.1-0ubuntu1.4_i386.deb) …
Selecting previously deselected package php5.
Unpacking php5 (from …/php5_5.2.1-0ubuntu1.4_all.deb) …
Setting up libapache2-mod-php5 (5.2.1-0ubuntu1.4) …
Setting up php5 (5.2.1-0ubuntu1.4) …

taufanlubis@zyrex:~$

 

Install PHP5 Library

taufanlubis@zyrex:~$ sudo apt-get install libapache2-mod-php5

Reading package lists… Done
Building dependency tree
Reading state information… Done
libapache2-mod-php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

taufanlubis@zyrex:~$

 

Install MySql for PHP5

taufanlubis@zyrex:~$ sudo apt-get install php5-mysql
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
php5-mysql
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.5kB of archives.
After unpacking 246kB of additional disk space will be used.
Get:1 http://security.ubuntu.com feisty-security/main php5-mysql 5.2.1-0ubuntu1.4 [65.5kB]
Fetched 65.5kB in 2s (27.7kB/s)
Selecting previously deselected package php5-mysql.
(Reading database … 156650 files and directories currently installed.)
Unpacking php5-mysql (from …/php5-mysql_5.2.1-0ubuntu1.4_i386.deb) …
Setting up php5-mysql (5.2.1-0ubuntu1.4) …

taufanlubis@zyrex:~$

 

Install phpmyadmin for php5-mysql

taufanlubis@zyrex:~$ sudo apt-get install phpmyadmin
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
mysql-server
Recommended packages:
php5-mcrypt php4-mcrypt php5-gd php4-gd
The following NEW packages will be installed:
phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3591kB of archives.
After unpacking 14.1MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com feisty/universe phpmyadmin 4:2.9.1.1-2ubuntu1 [3591kB]
Fetched 3591kB in 49s (73.2kB/s)
Preconfiguring packages …
Selecting previously deselected package phpmyadmin.
(Reading database … 156654 files and directories currently installed.)
Unpacking phpmyadmin (from …/phpmyadmin_4%3a2.9.1.1-2ubuntu1_all.deb) …
Setting up phpmyadmin (2.9.1.1-2ubuntu1) …
Creating config file /etc/phpmyadmin/apache.conf with new version
Creating config file /etc/phpmyadmin/config.footer.inc.php with new version
Creating config file /etc/phpmyadmin/config.header.inc.php with new version
Creating config file /etc/phpmyadmin/config.inc.php with new version
Creating config file /etc/phpmyadmin/htaccess with new version

taufanlubis@zyrex:~$

 

Check your apache2 modules installed.

taufanlubis@zyrex:~$ sudo apt-cache search apache2 (may different with yours)
libapache2-mod-auth-mysql – Apache 2 module for MySQL authentication
libapache2-mod-auth-pam – module for Apache2 which authenticate using PAM
libapache2-mod-auth-pgsql – Module for Apache2 which provides pgsql authentication
libapache2-mod-auth-plain – Module for Apache2 which provides plaintext authentication
libapache2-mod-auth-sys-group – Module for Apache2 which checks user against system group
libapache2-mod-macro – Create macros inside apache2 config files
libapache2-mod-python – Apache 2 module that embeds Python within the server
libapache2-mod-python-doc – Apache 2 module that embeds Python within the server
libapache2-svn – Subversion server modules for Apache
adzapper – proxy advertisement zapper add-on
libapache-mod-dav – A DAV module for Apache
libapache-mod-jk-doc – Documentation of libapache-mod-jk/libapache2-mod-jk packages
libapache-ruby1.8 – Ruby libraries for mod_ruby
libapache2-mod-annodex – Provides server-side support for Annodex media

libapache2-mod-apreq2 – generic Apache request library – Apache module

libapache2-mod-auth-kerb – apache2 module for Kerberos authentication

libapache2-mod-bt – BitTorrent tracker for the Apache2 web server

libapache2-mod-bt-dev – Header files for mod_bt

libapache2-mod-chroot – run Apache in a secure chroot environment

libapache2-mod-dnssd – Apache 2 module which adds Zeroconf support via avahi

libapache2-mod-encoding – Apache2 module for non-ascii filename interoperability

libapache2-mod-fcgid – an alternative module compat with mod_fastcgi

libapache2-mod-geoip – GeoIP support for apache2

libapache2-mod-ifier – Filter and reject incoming client requests

libapache2-mod-jk – Apache 2 connector for the Tomcat Java servlet engine

libapache2-mod-layout – Apache2 web page content wrapper

libapache2-mod-ldap-userdir – Apache2 module that provides UserDir lookups via LDAP

libapache2-mod-mime-xattr – Apache2 module to get MIME info from filesystem extended attributes

libapache2-mod-mono – Run ASP.NET Pages on UNIX with Apache 2 and Mono

libapache2-mod-musicindex – Browse, stream, download and search through MP3/Ogg/FLAC files

libapache2-mod-ngobjweb – Apache2 module for the SOPE application server

libapache2-mod-proxy-html – Apache2 filter module for HTML links rewriting

libapache2-mod-removeip – Module to remove IP from apache2’s logs

libapache2-mod-rpaf – module for Apache2 which takes the last IP from the ‘X-Forwarded-For’ header

libapache2-mod-ruby – Embedding Ruby in the Apache2 web server

libapache2-mod-scgi – Apache module implementing the SCGI protocol

libapache2-mod-shib – Shibboleth implements the OASIS SAML v1.1 specification,

libapache2-mod-speedycgi – apache2 module to speed up perl scripts by making them persistent

libapache2-mod-suphp – Apache2 module to run php scripts with the owner permissions

libapache2-mod-vhost-hash-alias – Fast and efficient way to manage virtual hosting

libapache2-mod-vhost-ldap – Apache 2 module for Virtual Hosting from LDAP

libapache2-mod-xmlrpc2 – XMLRPC Server module for Apache2 web server

libapache2-modbt-perl – Perl bindings for mod_bt

libapache2-modxslt – XSLT processing module for Apache 2.0.x based on libxml2

libapache2-redirtoservname – Apache 2 module to redirect users to the canonical hostname

libapache2-request-perl – generic Apache request library – Perl modules

libapache2-webauth – Apache 2 modules for WebAuth authentication

libapache2-webkdc – Apache 2 modules for a WebAuth authentication KDC

libembperl-perl – A system for building dynamic websites with Perl

libnet-bittorrent-libbt-tracker-perl – Perl bindings for libbttracker

mod-chroot-common – run Apache in a secure chroot environment

mod-musicindex-common – Common files for mod-musicindex

modxslt-doc – Documentation for modxslt

mono-apache-server – backend for mod_mono Apache module

mono-apache-server2 – backend for mod_mono2 Apache module

nanoweb-contrib – user contributed utilities for Nanoweb

php5-apache2-mod-bt – PHP bindings for mod_bt

rt3.4-apache2 – Apache 2 specific files for request-tracker3.4

rt3.6-apache2 – Apache 2 specific files for request-tracker3.6

torrus-apache – Universal front-end for Round-Robin Databases (for apache 1.x)

torrus-apache2 – Universal front-end for Round-Robin Databases (for apache 2.x)

torrus-common – Universal front-end for Round-Robin Databases (common files)

libapache2-mod-fastcgi – Apache 2 FastCGI module for long-running CGI scripts

apache2-mpm-itk – multiuser MPM for Apache 2.2

libapache2-mod-perl2 – Integration of perl with the Apache2 web server

libapache2-mod-perl2-dev – Integration of perl with the Apache2 web server – development files

libapache2-mod-perl2-doc – Integration of perl with the Apache2 web server – documentation

libapache2-mod-php5 – server-side, HTML-embedded scripting language (apache 2 module)

php5-cgi – server-side, HTML-embedded scripting language (CGI binary)

libapache2-mod-cband – An Apache 2 module for bandwidth limiting the webserver

apache2 – Next generation, scalable, extendable web server

apache2-doc – documentation for apache2

apache2-mpm-event – Event driven model for Apache HTTPD 2.1

apache2-mpm-perchild – Transitional package – please remove

apache2-mpm-prefork – Traditional model for Apache HTTPD 2.1

apache2-mpm-worker – High speed threaded model for Apache HTTPD 2.1

apache2-prefork-dev – development headers for apache2

apache2-src – Apache source code

apache2-threaded-dev – development headers for apache2

apache2-utils – utility programs for webservers

apache2.2-common – Next generation, scalable, extendable web server

taufanlubis@zyrex:~$

 

Update your Apache2

taufanlubis@zyrex:~$ sudo apt-get update

taufanlubis@zyrex:~$ sudo apt-get upgrade

 

Test your Apache2

Open your web browser (ex. Firefox).

Type ‘localhost‘, if you get ‘It works!’ message mean that your succeed.

 

Read Full Post »

Alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats.

When do you need Alien?

At the time you want to install a program meanwhile the only package available is from another linux distribution. For an example, your linux package is Red Head Package (.rpm) but you are using Ubuntu which use Debian Package (.deb) then you will need Alien.

How to install the program?

taufanlubis@toshiba:/usr/src/sources$ sudo apt-get install alien

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following packages were automatically installed and are no longer required:

python2.4-minimal python2.4 tango-icon-theme-common tango-icon-theme

Use ‘apt-get autoremove’ to remove them.

The following extra packages will be installed:

debhelper gettext html2text intltool-debian libbeecrypt6 libneon25 librpm4 po-debconf rpm

Suggested packages:

lsb-rpm lintian dh-make cvs gettext-doc

Recommended packages:

libmail-sendmail-perl libcompress-zlib-perl

The following NEW packages will be installed:

alien debhelper gettext html2text intltool-debian libbeecrypt6 libneon25 librpm4 po-debconf rpm

0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.

Need to get 4228kB of archives.

After unpacking 15.1MB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://archive.ubuntu.com gutsy/main html2text 1.3.2a-3build1 [90.6kB]

Get:2 http://archive.ubuntu.com gutsy/main gettext 0.16.1-2ubuntu3 [1552kB]

Get:3 http://archive.ubuntu.com gutsy/main intltool-debian 0.35.0+20060710.1 [31.6kB]

Get:4 http://archive.ubuntu.com gutsy/main po-debconf 1.0.9 [117kB]

Get:5 http://archive.ubuntu.com gutsy/main debhelper 5.0.51ubuntu3 [526kB]

Get:6 http://archive.ubuntu.com gutsy/main libbeecrypt6 4.1.2-6build1 [108kB]

Get:7 http://archive.ubuntu.com gutsy/main libneon25 0.25.5.dfsg-6build1 [103kB]

Get:8 http://archive.ubuntu.com gutsy/main librpm4 4.4.1-14.1ubuntu2 [991kB]

Get:9 http://archive.ubuntu.com gutsy/main rpm 4.4.1-14.1ubuntu2 [603kB]

Get:10 http://archive.ubuntu.com gutsy/main alien 8.68 [104kB]

Fetched 4228kB in 60s (69.9kB/s)

Selecting previously deselected package html2text.

(Reading database … 102722 files and directories currently installed.)

Unpacking html2text (from …/html2text_1.3.2a-3build1_i386.deb) …

Selecting previously deselected package gettext.

Unpacking gettext (from …/gettext_0.16.1-2ubuntu3_i386.deb) …

Selecting previously deselected package intltool-debian.

Unpacking intltool-debian (from …/intltool-debian_0.35.0+20060710.1_all.deb) …

Selecting previously deselected package po-debconf.

Unpacking po-debconf (from …/po-debconf_1.0.9_all.deb) …

Selecting previously deselected package debhelper.

Unpacking debhelper (from …/debhelper_5.0.51ubuntu3_all.deb) …

Selecting previously deselected package libbeecrypt6.

Unpacking libbeecrypt6 (from …/libbeecrypt6_4.1.2-6build1_i386.deb) …

Selecting previously deselected package libneon25.

Unpacking libneon25 (from …/libneon25_0.25.5.dfsg-6build1_i386.deb) …

Selecting previously deselected package librpm4.

Unpacking librpm4 (from …/librpm4_4.4.1-14.1ubuntu2_i386.deb) …

Selecting previously deselected package rpm.

Unpacking rpm (from …/rpm_4.4.1-14.1ubuntu2_i386.deb) …

Selecting previously deselected package alien.

Unpacking alien (from …/archives/alien_8.68_all.deb) …

Setting up html2text (1.3.2a-3build1) …

Setting up gettext (0.16.1-2ubuntu3) …

Setting up intltool-debian (0.35.0+20060710.1) …

Setting up po-debconf (1.0.9) …

Setting up debhelper (5.0.51ubuntu3) …

Setting up libbeecrypt6 (4.1.2-6build1) …

Setting up libneon25 (0.25.5.dfsg-6build1) …

Setting up librpm4 (4.4.1-14.1ubuntu2) …

Setting up rpm (4.4.1-14.1ubuntu2) …

Setting up alien (8.68) …

Processing triggers for libc6 …

ldconfig deferred processing now taking place

taufanlubis@toshiba:/usr/src/sources$ ls

How to use it?

Convert from RPM to DEB (alien -d)

But not all packages can be converted correctly. Some may still produce errors.

taufanlubis@toshiba:~/MyData/Packages$ sudo alien -d jre-6u2-linux-i586.rpm

Warning: Skipping conversion of scripts in package jre: postinst postrm prerm

Warning: Use the –scripts parameter to include the scripts.

jre_1.6.0_02-1_i386.deb generated

taufanlubis@toshiba:~/MyData/Packages$

Convert from DEB to RPM (alien-r)

You can convert also from DEB to RPM. Some work perfectly.

taufanlubis@toshiba:~/MyData/Packages$ sudo alien -r pytube_0.0.8.1-1_all.deb

pytube-0.0.8.1-2.noarch.rpm generated

taufanlubis@toshiba:~/MyData/Packages$

Read Full Post »

Open your root terminal.

Applications > Accessories > Terminal or Alt-F2 and type ‘gnome-terminal‘.

Then goto to Edit > Current Profile > Effects and change the value at ‘Transparent background‘.

transparent_terminal.png

You can also change the color of the font foreground and background.

terminal_color.png

So, you will have a better display.

 

terminal.png

 

Read Full Post »

I got this problem when I try to back up my data from my laptop today. Suddenly, I got not enough space message. FYI, my external Hard disk is Maxtor Personal One Touch 100GB.

So, I checked the hard disk space left.

taufanlubis@toshiba:~$ cd /media

taufanlubis@toshiba:/media$ ls

cdrom cdrom0 Maxtor sda1 sda2

taufanlubis@toshiba:/media$ df -h Maxtor/

Filesystem Size Used Avail Use% Mounted on

/dev/sdb1 94G 93G 367M 100% /media/Maxtor

taufanlubis@toshiba:/media$

Then I started deleting few gigabyte of my files to free up the space. I surprised because there was no change in Free Hard disk space (still 367M) at all. After searching for a few minutes with File Browser, finally I found out the problem which is a ‘Trash Bin‘ inside my Maxtor.

I though the Trash Bin is only one. Is it the default of Ubuntu? Don’t know yet.

I haven’t looking for the answer. Next time, may be.
maxtor_nospace.png

Well, then I opened the .Trash-taufanlubis (trash bin directory), delete all the files inside.

Check the result.

taufanlubis@toshiba:/media$ df -h Maxtor/

Filesystem Size Used Avail Use% Mounted on

/dev/sdb1 94G 61G 33G 66% /media/Maxtor

taufanlubis@toshiba:/media$

I got my space back.

Read Full Post »

I’m not an architect and I don’t know any thing about architecture. I found this application when I try find a AutoCAD Viewer in Linux. I’m building a house and my architect emails me the blue print in ‘.dwg’ format. So, here it is.

VariCAcad2007 is CAD program that run on Windows 2000/XP/Vista/Linux (DEB and RPM).

You can download a 30 days trial version or only the viewer. I only need the viewer but I just curious to see the trial package. So, I downloaded both the trial version and the viewer.

Installation (trial version).

taufanlubis@toshiba:~/MyData/New Website Download$ sudo dpkg -i varicad2007-en_3.03-2_i386.deb

Selecting previously deselected package varicad2007-en.

(Reading database … 126129 files and directories currently installed.)

Unpacking varicad2007-en (from varicad2007-en_3.03-2_i386.deb) …

Setting up varicad2007-en (3.03-2) …

taufanlubis@toshiba:~/MyData/New Website Download$

varicad01.png

varicad2.png

 


Read Full Post »

Older Posts »