Changing Ubuntu Control Window Position

Since the ubuntu release of ubuntu 10.04 Lucid Lynx, no unusual changes we see. These changes was the move of the control panel window (minimize, maximize, close) at top left, where the same view on the MacOS. Usually the window controls are located on the right, this would complicate the user who already has a habit of using the window controls in the upper right, but not for MacOS users because they are already accustomed to using the window controls on the left top. It is also still present in Ubuntu 10.10 Maverick Merkat. For those who are unfamiliar with the location of the window controls on the left can follow the steps as follows:
Position control window before revamped.

  • first step, try to press on the keyboard, Alt + F2 .
  • Then type, gconf-editor .
  • looks exactly the same as in the picture above. His name is Configuration Editor.
  • Then select Apps> Metacity> General> Button Layout
  • Change
  • close, minimize, maximize: be : minimize, maximize, close
  • As in the picture below, then press OK. So the position of the control window which was originally located on the left will turn to the right.
Hopefully useful.

Opening Windows Password with Ubuntu

Interested in articles from detik.com that explains how to open windows password with ubuntu. In order not to forget, and confused to find this url again so I am posting this article: D.

In a condition we are faced with one of the human error that is forgotten. This can happen when we want to enter a password in our Windows. If we forget the password to log into windows. There are ways to recover it is by using open source based operating system Ubuntu Linux.

The first thing to do is create a Live CD or Live USB stick Ubuntu Linux. Ubuntu Live will be used to boot into the system and perform the procedures required to dismantle that Windows password.


The easiest way to do that is by downloading and running UNetbootin. This simple application will download the selected Ubuntu version and install on the flash that you prepared.

The second stage is to install Open Source utility called chntpw. This is done from Ubuntu by running Synaptic Package Manager.

To be able to get chntpw, Synaptic Package Manager should be directed to look at storage applications Universe. This can be done by clicking the Settings menu> Repositories in Synaptic window. Then, check the option 'Community-maintained Open Source software (universe) "and click Close.

After that, click the Reload button and Synaptic will download the latest package information from the Universe. When finished, type chntpw on the Quick Search box.

If it appears, check the box on the side chnptw writing, choose 'Mark for Installation'. Then click Apply to install it.

The third stage is to change the Windows password with chntpw.

1. Mount the hard disk / drive that contains your Windows installation
2. Open the hard drive it (click on Places) and record labels drive that appears on the menu bar window file browser
3. Open a Terminal window (Applications> Accessories> Terminal)
4. Type the following command in Terminal:
cd / media
ls
5. Type: cd [label hard drive that you noted earlier]
6. type: cd WINDOWS/system32/config
7. To change the Administrator password, type the command: sudo chntpw SAM
8. Will appear a few commands you can choose, the most secure command is create a password to be blank. Do this by pressing the number '1 ', then press' y' to confirm
9. Select '2 'to change the password to a particular word, but this has a greater risk of error
10. To change the passwords of other users (non-administrator), type the following command (from Terminal): sudo chntpw -u [user name] SAM

Source : dtikinet.com

Google Translate with New Views


After a long time does not open google translate when I open google translete confronted with a new look on google translate. View more attractive and pleasant views. Google translate

Modem ZTE AC2726 for Mandriva, Fedora, Suse and Ubuntu

Modem ZTE AC2726 for Mandriva, Fedora, Suse and Ubuntu
From my previous post is about Running Modem ZTE AC2726 in Mandriva Feeling in Windows and Resolving Problems in the SMART ZTE AC2726 on Mandriva able to run smoothly.
Actually, in addition to mandriva or fedora is still there for other distributions of Ubuntu and Suse. For the download link can be viewed on the following pages.

For Mandriva and Fedora OS download here

For Ubuntu OS download here

For Suse OS download here

How to Display Google Adsense in Blog Posts


Pay per click ads like Google Adsense or others who appear on the blog post will be more organized / seen by the reader. So the potential for clicks will be greater.

View, install or put the script Google Adsense blog posts (bloggger / blogspot) is straightforward. Previously you had to parse the script / code your ads get first.

How, you simply copy the script / code of Google Adsense, the Adsense Parser tool below, then click Parse It!




Copy off the parsed code..
Now login to your blogger account.
Go to Layout > Edit Html and expand the widget templates.
Find this piece of code

<data:post.body/>

Now add the following code just above that line.

 
Put your parsed adsense code here 

 


From now on you should have adsense below the post title. On pages with multiple posts(eg: home page, label page etc) , the adsense ads will show up only on the first post(i.e below the post title of the first post). It wont show up on the other posts on the same page.So you are abiding by the Adsense TOS.

Opening RAR Compression in Linux


I get a problem when using Mandriva 2010.1, which confronted me in the RAR file. RAR files can not be opened by the application Ark (one application in linux to open a compressed file). Because the RAR plugin is not available. Unlike Ubuntu, in ubuntu the repository have been provided. While in mandriva after I try searching through the add and remove programs is not available, when connected with plf repositories already in easyurpmi.zarb.org. Then I remembered the magazine Infolinux ever include courses on cd luggage.

For the program can be downloaded at the following link download download rarlinux-3.6.0.tar.gz or newer download download rarlinux-3.9.3.tar.gz

For how to install are as follows.
1. open konsole or terminal
2. entry in the directory where you saved the file rarlinux
3. Extract the file you rarlinux

$tar -xzvf rarlinux-3.9.3.tar.gz

4. Go to the directory rar

$cd rar

5. Install rar

$./makefile

Now RAR compressed files can be opened ...

To perform compression with a command line interface is as follows:

$ rar a coba.rar file1.jpg file2.jpg file3.jpg

Meanwhile, to extract the RAR file is as follows:

$ unrar x nama-file-RAR.rar

It can be applied to other Linux OS like suse, fedora, ubuntu ...

Fixed Problem ZTE AC2726 in the Mandriva


ZTE AC 2726 from the previous installation Running Modem ZTE AC2726 in Mandriva Feeling in Windows, there are problems where after restarting the computer can not get into X-windows.
This is in libraries that caused there are conflict libQtCore and libQtGui on the ZTE system with linux system.
In this case, to fixed the problem we must delete libQtCore and libQtGui on the ZTE system.
Follow these instructions :
open konsole or you can use Ctrl+Alt+F1 and login
$ su
Password:
# rm -vf /usr/local/bin/ztemtApp/bin/libQt*
Now restart your linux sistem.
This instructions may be can be applied in othe linux system like Fedora, Ubuntu, Suse.

Running Modem ZTE AC2726 in Mandriva Feeling in Windows


Intrigued by ZTE AC2726 modem which I get from SMART. Where SMART package only provides drivers for Windows and Mac operating systems only. But for the linux still do not know what is not.

After googling I found some information that says ZTE AC2726 modem can be executed with the usb_modeswitch and KPP with the complicated setting and no user interface. After googling again eventually find applications that have user interfaces like in windows, we can receive SMS, telephone, internet connect. That applications is user friendly. So using a modem ZTE AC2726 in Mandriva like in Windows. The application was packaged for fedora, but it does not matter.

Steps for setting up with ZTE AC2726 in Mandriva Mandriva 2010.0 with kernel specification 2.6.31.x:

1. Make sure Mandriva connected with the repository.

2. Download the application CrossPlatformUI-V1.0.27-BSNL-i586-fedora10.rpm here

3. Proficiency level in these applications installed directly by double clicking on CrossPlatformUI-V1.0.27-BSNL-i586-fedora10.rpm then you will be asked for a password to perform the installation.

4. Once completed Application and create a link on your desktop in a way: Right Click > Create New > Link to Application and choose on the Application tab and then settings like the following picture






5. Run the application and you will be asked for your root password, enter your password. Tada .. applications already use, do the settings by selecting the Settings icon.





Knowing Where the Server Location

http://geotool.servehttp.com/
cool, from link above we can find out where the server is located (in this case the DNS server of a domain is usually from ISP/Internet Service Provider)

Calculating Power With Power Supply Calculator

Power Supply on a PC with a role that is very important because with this hardware device we can use the computer properly, power supply has a variety of resources.

So to use this device we can not use it in accordance with our desires so had to adapt other hardware devices which certainly has the power requirement varies.

If you have the hardware specs are quite large, the power usage will also be great also, to more clearly how stout the power you need for a PC that you use can be found here

How to Create XAMPP Icon in KDE

I have installed xampp in mandriva sya manually (its mean not from the repo), the problem is how do I make xampp icon that can be seen in the list of list menus or the desktop, so that we could easily run xampp without having to log into the console by typing "/opt/lamp/lamp start". Since that time I have ever tasted os pc linux and xampp listed in the menu list, so we stayed click xampp to run the service.

and also if in mandriva how to be a program or service can run otmatis at boot time.?
what we must edit the rc.d files like most other distro ..?

to make XAMPP in the KDE menu follow the steps below:

1. Right click the Kicker Menu (logo or logos Mandriva KDE in the taskbar)
2. Select Menu Editor
3. Select the group want in the edit menu, for example in Development
4. Create a new menu by clicking on [+] New Items,
5. The contents of the variable is needed, select the icon, for command input

kdesu/opt/lampp/lampp start

6. Save and try,

for automatic road there are two ways,
1. autostart via KDE,
2. edit in /etc/rc.local and add /opt/lampp/lampp start before the last line.

Solutions to Write HTML Code in Blogger

Sometimes we have a problem when writing an html code inside blogger posts. Where is the html code does not appear. For that we need to replace some html code (special characters) with the code numbers or code names.


For example:


<p>Copyright  2008  All Rights Reserved  <a href='http://www.revolutiontwo.com'>Revolution Two Church theme</a> by <a href='http://www.briangardner.com'>Brian Gardner</a>  Converted into Blogger Template by  <a href='http://www.bloganol.com/'>Bloganol dot com</a></p>

From the HTML code above we replace some HTML characters by using the find and replace. using a text editor that we use.




The following special HTML characters and substitutes:

Special Character

Character Code Numbers Code Names Information
  &#00; - &#08;   unused
  &#09;   horizontal tab
  &#10;   line feed
  &#32;   space / spasi
! &#33;   exclamation mark
" &#34; &quot; double quotation mark
# &#35;   number sign
$ &#36;   dollar sign
% &#37;   percent sign
& &#38; &amp; ampersand
' &#39;   apostrophe
( &#40;   left parenthesis
) &#41;   right parenthesis
* &#42;   asterisk
+ &#43;   plus sign
, &#44;   comma
- &#45;   hyphen
. &#46;   period
/ &#47; &frasl; slash
0 &#48;   0 / number
1 &#49;   1
2 &#50;   2
3 &#51;   3
4 &#52;   4
5 &#53;   5
6 &#54;   6
7 &#55;   7
8 &#56;   8
9 &#57;   9
: &#58;   colon
; &#59;   semicolon
< &#60; &lt; less-than sign
= &#61;   equals sign
> &#62; &gt; greater-than sign
? &#63;   question mark
@ &#64;   at sign
A &#65;   A
B &#66;   B
C &#67;   C
D &#68;   D
E &#69;   E
F &#70;   F
G &#71;   G
H &#72;   H
I &#73;   I
J &#74;   J
K &#75;   K
L &#76;   L
M &#77;   M
N &#78;   N
O &#79;   O
P &#80;   P
Q &#81;   Q
R &#82;   R
S &#83;   S
T &#84;   T
U &#85;   U
V &#86;   V
W &#87;   W
X &#88;   X
Y &#89;   Y
Z &#90;   Z
[ &#91;   left square bracket
\ &#92;   backslash
] &#93;   right square bracket
^ &#94;   caret
_ &#95;   horizontal bar (underscore)
` &#96;   grave accent
a &#97;   a
b &#98;   b
c &#99;   c
d &#100;   d
e &#101;   e
f &#102;   f
g &#103;   g
h &#104;   h
i &#105;   i
j &#106;   j
k &#107;   k
l &#108;   l
m &#109;   m
n &#110;   n
o &#111;   o
p &#112;   p
q &#113;   q
r &#114;   r
s &#115;   s
t &#116;   t
u &#117;   u
v &#118;   v
w &#119;   w
x &#120;   x
y &#121;   y
z &#122;   z
{ &#123;   left curly brace
| &#124;   vertical bar
} &#125;   right curly brace
~ &#126;   tilde
  &#127; - &#149;   unused
&#150; &ndash; en dash
&#151; &mdash; em dash
  &#152; - &#159;   unused
  &#160; &nbsp; nonbreaking space
¡ &#161; &iexcl; inverted exclamation
¢ &#162; &cent; cent sign
£ &#163; &pound; pound sterling
¤ &#164; &curren; general currency sign
¥ &#165; &yen; yen sign
¦ &#166; &brvbar; or &brkbar; broken vertical bar
§ &#167; &sect; section sign
¨ &#168; &uml; or &die; umlaut
© &#169; &copy; copyright
ª &#170; &ordf; feminine ordinal
« &#171; &laquo; left angle quote
¬ &#172; &not; not sign
­ &#173; &shy; soft hyphen
® &#174; &reg; registered trademark
¯ &#175; &macr; or &hibar; macron accent
° &#176; &deg; degree sign
± &#177; &plusmn; plus or minus
² &#178; &sup2; superscript two
³ &#179; &sup3; superscript three
´ &#180; &acute; acute accent
µ &#181; &micro; micro sign
&#182; &para; paragraph sign
· &#183; &middot; middle dot
¸ &#184; &cedil; cedilla
¹ &#185; &sup1; superscript one
º &#186; &ordm; masculine ordinal
&#187; &raquo; right angle quote
¼ &#188; &frac14; one-fourth
½ &#189; &frac12; one-half
¾ &#190; &frac34; three-fourths
¿ &#191; &iquest; inverted question mark
À &#192; &Agrave; uppercase A, grave accent
Á &#193; &Aacute; uppercase A, acute accent
 &#194; &Acirc; uppercase A, circumflex accent
à &#195; &Atilde; uppercase A, tilde
Ä &#196; &Auml; uppercase A, umlaut
Å &#197; &Aring; uppercase A, ring
Æ &#198; &AElig; uppercase AE
Ç &#199; &Ccedil; uppercase C, cedilla
È &#200; &Egrave; uppercase E, grave accent
É &#201; &Eacute; uppercase E, acute accent
Ê &#202; &Ecirc; uppercase E, circumflex accent
Ë &#203; &Euml; uppercase E, umlaut
Ì &#204; &Igrave; uppercase I, grave accent
Í &#205; &Iacute; uppercase I, acute accent
Î &#206; &Icirc; uppercase I, circumflex accent
Ï &#207; &Iuml; uppercase I, umlaut
Ð &#208; &ETH; uppercase Eth, Icelandic
Ñ &#209; &Ntilde; uppercase N, tilde
Ò &#210; &Ograve; uppercase O, grave accent
Ó &#211; &Oacute; uppercase O, acute accent
Ô &#212; &Ocirc; uppercase O, circumflex accent
Õ &#213; &Otilde; uppercase O, tilde
Ö &#214; &Ouml; uppercase O, umlaut
× &#215; &times; multiplication sign
Ø &#216; &Oslash; uppercase O, slash
Ù &#217; &Ugrave; uppercase U, grave accent
Ú &#218; &Uacute; uppercase U, acute accent
Û &#219; &Ucirc; uppercase U, circumflex accent
Ü &#220; &Uuml; uppercase U, umlaut
Ý &#221; &Yacute; uppercase Y, acute accent
Þ &#222; &THORN; uppercase THORN, Icelandic
ß &#223; &szlig; lowercase sharps, German
à &#224; &agrave; lowercase a, grave accent
á &#225; &aacute; lowercase a, acute accent
â &#226; &acirc; lowercase a, circumflex accent
ã &#227; &atilde; lowercase a, tilde
ä &#228; &auml; lowercase a, umlaut
å &#229; &aring; lowercase a, ring
æ &#230; &aelig; lowercase ae
ç &#231; &ccedil; lowercase c, cedilla
è &#232; &egrave; lowercase e, grave accent
é &#233; &eacute; lowercase e, acute accent
ê &#234; &ecirc; lowercase e, circumflex accent
ë &#235; &euml; lowercase e, umlaut
ì &#236; &igrave; lowercase i, grave accent
í &#237; &iacute; lowercase i, acute accent
î &#238; &icirc; lowercase i, circumflex accent
ï &#239; &iuml; lowercase i, umlaut
ð &#240; &eth; lowercase eth, Icelandic
ñ &#241; &ntilde; lowercase n, tilde
ò &#242; &ograve; lowercase o, grave accent
ó &#243; &oacute; lowercase o, acute accent
ô &#244; &ocirc; lowercase o, circumflex accent
õ &#245; &otilde; lowercase o, tilde
ö &#246; &ouml; lowercase o, umlaut
÷ &#247; &divide; division sign
ø &#248; &oslash; lowercase o, slash
ù &#249; &ugrave; lowercase u, grave accent
ú &#250; &uacute; lowercase u, acute accent
û &#251; &ucirc; lowercase u, circumflex accent
ü &#252; &uuml; lowercase u, umlaut
ý &#253; &yacute; lowercase y, acute accent
þ &#254; &thorn; lowercase thorn, Icelandic
ÿ &#255; &yuml; lowercase y, umlaut
&#9733;   black star
&#9734;   white star
  &lsquo; left single quote
  &rsquo; right single quote
  &sbquo; single low-9 quote
  &ldquo; left double quote
  &rdquo; right double quote
  &bdquo; double low-9 quote
  &dagger; dagger
  &Dagger; double dagger
  &permil; per mill sign
  &lsaquo; single left-pointing angle quote
  &rsaquo; single right-pointing angle quote
  &spades; black spade suit
  &clubs; black club suit
  &hearts; black heart suit
  &diams; black diamond suit
  &oline; overline, = spacing overscore
  &larr; leftward arrow
  &uarr; upward arrow
  &rarr; rightward arrow
  &darr; downward arrow
  &trade; trademark sign

Source code http://www.w3.org


Error Reading Partition on Dolphin

There are little problems when I used Dolphin.Dolphin is one application on KDE.
Whose function is to make browsing files on Linux using the KDE desktop.
Browse files using dolphine, but what I open every other linux partitions are always errors.

shoot like this:


problem: a user other than root can not open / mount another partition in the internal hard drive through the dolphin.

The Solution is:
Sign in as root

then edit the top line:

with this one:

Source : mandriva-user.or.id

Fix Syntaks Hightlighter With Upgrade

From my previous post, I had problems with the Syntax Highlighter. My SyntaxHighlighter in Trouble.
Now I get a solution. The solution is to upgrade to the latest version higlighter syntax. Now I use syntax higlighter version 2.0.
How to install SyntaxHighlighter on Blogger following this link Posting Source Code in Blogspot

My SyntaxHighlighter in Trouble


After I edit my blogger template. Many problems occur, most can be resolved. My SyntaxHighlighter still can not work. Now I'm looking for a solution.

How to Know Your Linux and Kernel Version

To know the version of linux and the kernel, which is embedded in your computer can be done easily. We can use the CLI (Command Line Interface) with a terminal or console.

First open a terminal or console which is on your linux system.
You can execute the following commands to know the kernel version :


$ uname -a
result :
Linux komp21-desktop 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 
UTC 2010 i686 GNU/Linux

or

$ cat /proc/version
result :
Linux version 2.6.31-20-generic (buildd@palmer) (gcc version 4.4.1 
(Ubuntu 4.4.1-4ubuntu8) ) #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010

You can execute the following commands to know the Linux version :

$ cat /etc/issue
result :
Ubuntu 9.10 \n \l

or

$ lsb_release -a
result :
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic

Looking for UUID numbers Partition, Hard drive and Removable Disc

UUID or Universally Unique Identifier usually used on linux operating system. UUID is used to mount media (hard drive). UUID function to create an alias name of the hard disk, partition of the hard drive, removable media. For example /dev/sda1 with alias UUID BA0CC49E0CC456D3. Where the UUID usually used ? In fstab. FSTAB is used to mount the media every time you boot into your system.






$ cat /etc/fstab
result :
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# 
proc                                       /proc        proc  defaults           0  0  
# / was on /dev/sda7 during installation
UUID=52eda015-3ae9-48c8-ac95-d2987d09290a  /            ext4  errors=remount-ro  0  1  
# swap was on /dev/sda8 during installation
UUID=7cde522e-abcf-481f-b6f0-1cb6be185275  none         swap  sw                 0  0  
/dev/sda5                                  /media/sda5  ntfs  defaults           0  0  
/dev/sda1                                  /media/sda1  ntfs  defaults           0  0  
#/dev/sdb       /media/fda auto defaults,noauto  0  2
#/dev/sdb1       /media/fdb auto defaults,noauto  0  2
#/dev/sdc       /media/fdc auto defaults,noauto  0  2
#/dev/sd1       /media/fdd auto defaults,noauto  0  2

What's so special to use UUID, the UUID we can change the hard drive slot without disrupting our system. So, even if we change the position of the hard disk slot, the OS still will be mounting to the right media. Different if we use a direct mount (/dev/sda1, ....) to the hard drive if slot change, our system will have problems.

How to find UUID:

Type this command on your terminal or console:
$ ls -l /dev/disk/by-uuid

The result is:



Okay, if you know UUID number. Now edit your /etc/fstab, replace writings (eg) the previous "/ dev/sda5" to "UUID = 2CF49FB4F49F7F30" (from the above result)

Before:
/dev/sda5                      /media/sda5  ntfs  defaults           0  0

After :
UUID = 2CF49FB4F49F7F30        /media/sda5  ntfs  defaults           0  0

hopefully help, and good luck.

Installing WP Comulus in Blogger

Picture  besides this is a tag cloud and the categories that use the plugin wp cumulus. Wp cumulus plugin is useful to beautify the look of your blog. By making the display flash tags and categories into a ball shape.In addition, with this plugin wp cumulus, we can make a list of tags and categories is more simple. Therefore does not require a lot of places to include tags and categories from your blog.
If you want to have a tag cloud display and categories, you can follow the link below:

Horay.... My Rotate Categories on Blogspot is Works Agains

Rotate TagCloud, Blogumus


Installation Prozilla (Linux Download Accelerator) on Ubuntu 8.10


Prozilla software is one of my favorite download accelerator in Ubuntu Linux, in addition to having a graphical display mode (ProzGUI) prozilla also has a version that works in text mode "console" linux ... this is more fast and can run in background on the remote machine to your Linux .

FEATURES:
  • Supports FTP & HTTP
  • Supports Resume Download
  • Multiple connections and configuration of connections
  • Support for FTP search and choose the fastest server automatically
  • Used restricted maximum bandwidth (bps / bytes per second)

INSTALLATION

Installing from the debian packages are already available
download prozilla_1.3.7.4-1_i386.deb from http://old-releases.ubuntu.com/ubuntu/pool/universe/p/prozilla/

$wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/p/prozilla/prozilla_1.3.7.4-1_i386.deb
$sudo dpkg -i prozilla_1.3.7.4-1_i386.deb

edit configuration on /etc/prozilla.conf :

$sudo nano /etc/prozilla.conf

specify the download directory, usually located on the bottom row:

mainoutputdir = /home/koti/film

and save...


Installing from source code

In this way we can do the installation Prozilla source code from the new version.
install the required libraries for the configuration process:

download ncurses : ftp://ftp.gnu.org/pub/gnu/ncurses/

$wget -c ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz

extract the downloaded:

$tar -xzvf ncurses-5.7.tar.gz
move to extract directory

$cd ncurses-5.7

$./configure
$make
#sudo make install

$cd ..

install gettext

$sudo apt-get install gettext
download prozilla : http://prozilla.genesys.ro/downloads/prozilla/tarballs/

$wget -c http://prozilla.genesys.ro/downloads/prozilla/tarballs/prozilla-2.0.4.tar.bz2

extract prozilla :

$tar -xf prozilla-2.0.4.tar.bz2
$cd prozilla-2.0.4
$./configure
$make

if error :

make[4]: Leaving directory `/home/koti/prozilla-2.0.4/libprozilla/src’
make[4]: Entering directory `/home/koti/prozilla-2.0.4/libprozilla’
make[4]: Nothing to be done for `all-am’.
make[4]: Leaving directory `/home/koti/prozilla-2.0.4/libprozilla’
make[3]: Leaving directory `/home/koti/prozilla-2.0.4/libprozilla’
make[2]: Leaving directory `/home/koti/prozilla-2.0.4/libprozilla’
Making all in src
make[2]: Entering directory `/home/koti/prozilla-2.0.4/src’
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../libprozilla/src -I../intl -I/usr/local/include -fno-inline -DLOCALEDIR=\”/usr/local/share/locale\” -Wall -ggdb -D_REENTRANT -MT main.o -MD -MP -MF “.deps/main.Tpo” \
-c -o main.o `test -f ‘main.cpp’ || echo ‘./’`main.cpp; \
then mv -f “.deps/main.Tpo” “.deps/main.Po”; \
else rm -f “.deps/main.Tpo”; exit 1; \
fi
In file included from main.cpp:39:
download_win.h:55: error: extra qualification ‘DL_Window::’ on member √Ęprint_status’
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/koti/prozilla-2.0.4/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/koti/prozilla-2.0.4′
make: *** [all] Error 2

solution :

Looks like the problem of error occurs because the compatibility of the compiler the GNU C / C + + latest version, to avoid this error edit the file src / download_win.h at line number 55:

void DL_Window::print_status(download_t * download, int quiet_mode);

replace with :
void print_status(download_t * download, int quiet_mode);

source : http://www.linuxquestions.org/questions/linux-software-2/error-while-running-make-649543/

$sudo make install

okey finish

DOWNLOAD COMMAND

The main options:

-R: command to enable resuming downloads if the connection is lost.
-K = 10: 10 connections to download.
-Max-bps, = 20 000: limit the maximum bandwidth consumption of 20 KB / s

Example download command:

$proz -r http://www10.indowebster.com/11b81118c6d71d2b8d14425928ea99ad.avi
$proz -r -k=10 –max-bps=20000 http://www12.indowebster.com/fc3b63a01e75e2acb33e9da4995731dd.avi

example run a command download on backgound:

$nohup proz -r -k=10 http://www27.indowebster.com/39929485ec9145b683d82fdfed39f51f.avi

or

$screen proz -r -k=10 http://www27.indowebster.com/39929485ec9145b683d82fdfed39f51f.avi

press "Ctrl + A, D" to hide in the background, and type "screen-r" then Enter to monitor the download process.

AUTOMATION DOWNLOAD

By using bash script we can automate downloads from an input list of urls that we will download.

create a file with the name proses.txt

$nano proses.txt

fill with download url link, a url a row.

save the file..

create an empty file with a name finish.txt

$nano finish.txt

create bash script file download.sh

$nano download.sh

copy and paste the example script below:
#######################################################
#!/bin/bash

kb=0 #batas bandwith maksimal dalam KB/s, utk 0 berarti tidak di limit
in=proses.txt

while [ `wc -l $in | cut -d " " -f 1` != 0 ]; do
read line < $in
if [ $kb = 0 ]; then
proz -r $line;
else
bps=`expr ‘(’ $kb ‘)’ ‘*’ 1000`;
proz -r –max-bps=$bps $line;
fi

echo $line >> finish.txt
sed -i ‘1 d’ $in; #menghapus baris dari file masukan (proses.txt)

done
#######################################################
to run the command:

$screen sh download.sh

press "Ctrl + A, D" to hide in the background.

for monitoring the download process:

$screen -r

sorce:http://koti.web.id/2009/04/05/installasi-prozilla-linux-download-accelerator-di-ubuntu-810-intrepid-ibex-server/

Installing software from source in Linux

The procedure

The installation procedure for software that comes in tar.gz and tar.bz2 packages isn't always the same, but usually it's like this:

# tar xvzf package.tar.gz (or tar xvjf package.tar.bz2)
# cd package
# ./configure
# make
# make install

If you're lucky, by issuing these simple commands you unpack, configure, compile, and install the software package and you don't even have to know what you're doing. However, it's healthy to take a closer look at the installation procedure and see what these steps mean.

Step 1. Unpacking

Maybe you've already noticed that the package containing the source code of the program has a tar.gz or a tar.bz2 extension. This means that the package is a compressed tar archive, also known as a tarball. When making the package, the source code and the other needed files were piled together in a single tar archive, hence the tar extension. After piling them all together in the tar archive, the archive was compressed with gzip, hence the gz extension.

Some people want to compress the tar archive with bzip2 instead of gzip. In these cases the package has a tar.bz2 extension. You install these packages exactly the same way as tar.gz packages, but you use a bit different command when unpacking.

It doesn't matter where you put the tarballs you download from the internet but I suggest creating a special directory for downloaded tarballs. In this tutorial I assume you keep tarballs in a directory called dls that you've created under your home directory. However, the dls directory is just an example. You can put your downloaded tar.gz or tar.bz2 software packages into any directory you want. In this example I assume your username is me and you've downloaded a package called pkg.tar.gz into the dls directory you've created (/home/me/dls).

Ok, finally on to unpacking the tarball. After downloading the package, you unpack it with this command:

me@puter: ~/dls$ tar xvzf pkg.tar.gz

As you can see, you use the tar command with the appropriate options (xvzf) for unpacking the tarball. If you have a package with tar.bz2 extension instead, you must tell tar that this isn't a gzipped tar archive. You do so by using the j option instead of z, like this:

me@puter: ~/dls$ tar xvjf pkg.tar.bz2

What happens after unpacking, depends on the package, but in most cases a directory with the package's name is created. The newly created directory goes under the directory where you are right now. To be sure, you can give the ls command:

me@puter: ~/dls$ ls
pkg pkg.tar.gz
me@puter: ~/dls$

In our example unpacking our package pkg.tar.gz did what expected and created a directory with the package's name. Now you must cd into that newly created directory:

me@puter: ~/dls$ cd pkg
me@puter: ~/dls/pkg$

Read any documentation you find in this directory, like README or INSTALL files, before continuing!

Step 2. Configuring


Now, after we've changed into the package's directory (and done a little RTFM'ing), it's time to configure the package. Usually, but not always (that's why you need to check out the README and INSTALL files) it's done by running the configure script.

You run the script with this command:

me@puter: ~/dls/pkg$ ./configure

When you run the configure script, you don't actually compile anything yet. configure just checks your system and assigns values for system-dependent variables. These values are used for generating a Makefile. The Makefile in turn is used for generating the actual binary.

When you run the configure script, you'll see a bunch of weird messages scrolling on your screen. This is normal and you shouldn't worry about it. If configure finds an error, it complains about it and exits. However, if everything works like it should, configure doesn't complain about anything, exits, and shuts up.

If configure exited without errors, it's time to move on to the next step.

Step 3. Building

It's finally time to actually build the binary, the executable program, from the source code. This is done by running the make command:

me@puter: ~/dls/pkg$ make

Note that make needs the Makefile for building the program. Otherwise it doesn't know what to do. This is why it's so important to run the configure script successfully, or generate the Makefile some other way.

When you run make, you'll see again a bunch of strange messages filling your screen. This is also perfectly normal and nothing you should worry about. This step may take some time, depending on how big the program is and how fast your computer is. If you're doing this on an old dementic rig with a snail processor, go grab yourself some coffee. At this point I usually lose my patience completely.

If all goes as it should, your executable is finished and ready to run after make has done its job. Now, the final step is to install the program.

Step 4. Installing

Now it's finally time to install the program. When doing this you must be root. If you've done things as a normal user, you can become root with the su command. It'll ask you the root password and then you're ready for the final step!

me@puter: ~/dls/pkg$ su
Password:
root@puter: /home/me/dls/pkg#

Now when you're root, you can install the program with the make install command:

root@puter: /home/me/dls/pkg# make install

Again, you'll get some weird messages scrolling on the screen. After it's stopped, congrats: you've installed the software and you're ready to run it!

Because in this example we didn't change the behavior of the configure script, the program was installed in the default place. In many cases it's /usr/local/bin. If /usr/local/bin (or whatever place your program was installed in) is already in your PATH, you can just run the program by typing its name.

And one more thing: if you became root with su, you'd better get back your normal user privileges before you do something stupid. Type exit to become a normal user again:

root@puter: /home/me/dls/pkg# exit
exit
me@puter: ~/dls/pkg$

Cleaning up the mess

I bet you want to save some disk space. If this is the case, you'll want to get rid of some files you don't need. When you ran make it created all sorts of files that were needed during the build process but are useless now and are just taking up disk space. This is why you'll want to make clean:

me@puter: ~/dls/pkg$ make clean

However, make sure you keep your Makefile. It's needed if you later decide to uninstall the program and want to do it as painlessly as possible!

Uninstalling

So, you decided you didn't like the program after all? Uninstalling the programs you've compiled yourself isn't as easy as uninstalling programs you've installed with a package manager, like rpm.

If you want to uninstall the software you've compiled yourself, do the obvious: do some old-fashioned RTFM'ig. Read the documentation that came with your software package and see if it says anything about uninstalling. If it doesn't, you can start pulling your hair out.

If you didn't delete your Makefile, you may be able to remove the program by doing a make uninstall:

root@puter: /home/me/dls/pkg# make uninstall
If you see weird text scrolling on your screen (but at this point you've probably got used to weird text filling the screen? that's a good sign. If make starts complaining at you, that's a bad sign. Then you'll have to remove the program files manually.

If you know where the program was installed, you'll have to manually delete the installed files or the directory where your program is. If you have no idea where all the files are, you'll have to read the Makefile and see where all the files got installed, and then delete them.

source :

http://www.tuxfiles.org/linuxhelp/softinstall.html

Install Google Chrome on Ubuntu 9.10

Make sure your computer internet connection is connected

First let your Ubuntu know where it should find chromium-browser deb package:

$sudo pico /etc/apt/sources.list

add the following lines:
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main


Replace jaunty with hardy, intrepid or karmic depending which version you run at your computer. If you feel this information is not sufficient for you, follow this link to get Ubuntu official information on this matter or follow Launchpad help.

The next step is to install Chromium browser on your terminal:

$sudo apt-get update
$sudo apt-get install chromium-browser

or
$sudo aptitude install chromium-browser
Once you press enter Ubuntu will download around 18 MB of data from launchpad’s server and will install Chromium with gnome menu entries and shortcuts. Now you can go to System menu –> Internet –> Chromium Web Browser in order to launch Google browser.



Installing Single Drupal On Multiple (Sub) Domains

Base on wa2n.nrar.net

If you wanted to install Drupal on the same machine for the  different (sub)domains then it could be done by installing drupal only 1 core while the others will follow.

The first step is to install drupal as usual for the first site (eg a.domain.com). Then to install drupal into two (b.domain.com) can be done by:



  1. create a database for the site b
  2. create a directory a.domain.com under the directory  at sites, in the site a.domain.com
  3. copying files  default.settings.php to the directory b.domain.com and changed the ownership to be writable by apache
  4. create a directory of files under the directory b.domain.com and changed the mode
  5. match the apache vhost  with same configuration on a.domain.com except the name of the URL only 
Yup that's all modules, themes and libraries if desired customizations can be made b.domain.com directory in the directory.

Horay.... My Rotate Categories on Blogspot is Works Agains


The first time I saw my rotating menu which is on my blogspot. I see the strangeness of which rotate blogumus I do not want to work, after I have studied the link that connects proved problematic. Two references address to the following address:


http://halotemplates.s3.amazonaws.com/wp-cumulus-example/swfobject.js
http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf


When I do click on that address then what happens is as follows:
To overcome these problems, follow these steps:





  1. Download WP Cumulus WP Plugin here
  2. Extract in some folder
  3. Upload 2 file into your hosting, we can use free web hosting for example 000webhost.com, that files is swfobject.js and tagcloud.swf
  4. Or we can copy paste from this script
  5. Log in and click on the blogger layout, make sure the widget label has been attached, if not, then select Page Elements ---> Add a Page Element and select the label (with the notes you do not have a label, if it true go to step no 6)
  6. Once in, and add the save, click the Edit HTML, check Expand Template Widget, find the section that has a code like the following,
  7.  
         <--!Beside here you can include the Blogumus--> 
     
    
  8. Replace <--!Beside here you can include the Blogumus--> with the following code
  9. <b:includable id='main'>
    <b:if cond='data:title'>
    <h2><data:title/></h2>
    </b:if>
    <center>
    <div class='widget-content'>
    <script src='http://mopheat.site40.net/recources/tagcloud/swfobject.js' type='text/javascript'/>
    <div id='flashcontent'>Blogumulus by <a href='http://www.roytanck.com/'>Roy Tanck</a> and <a href='http://www.bloggerbuster.com'>Amanda Fazani</a>, Edited By<a href='http://mopheat.blogspot.com'>mopheat</a></div>
    <script type='text/javascript'>
    // this variable, to change the colour and dimention above
    var so = new SWFObject("http://mopheat.site40.net/recources/tagcloud/tagcloud.swf", "tagcloud", "200", "160", "7", "#000000"); //dimention and beground color
    so.addParam("wmode", "transparent");
    so.addVariable("tcolor", "0x4CBC00");//font colour(hexa)
    so.addVariable("mode", "tags");
    so.addVariable("distr", "true");
    so.addVariable("tspeed", "150"); //fast rotate
    so.addVariable("tagcloud", "<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='14'><data:label.name/></a></b:loop></tags>");
    so.addParam("allowScriptAccess", "always");
    so.write("flashcontent");
    </script>
    <b:include name='quickedit'/>
    </div><small>Click <a href='http://mopheat.blogspot.com/2008/11/rotate-tagcloud-blogumus.html'>here</a> to install tag cloud blogumus as above</small>
    </center>
    </b:includable>
    
  10. Done

Twitter Delicious Facebook Digg Stumbleupon Favorites More
 
Powered by Blogger