Monday, August 3, 2009

Mode Track on OpenOffice.org 3.0 Writer

For Word users, actually you can activate mode track too on OpenOffice.org 3.0 Writer. Therefore, don't worry about that. This is the steps :

1. Open an ODT or a DOC file with OpenOffice.org 3.0 Writer
2. Click menu Tools -> Options... -> OpenOffice.org Writer -> Changes -> change your display for insert and delete, if you wish -> click OK.
3. Click menu Edit -> Changes -> Record
4. Let's make editing.

To know more about differences beetween Word dan Writer, please visit : http://wiki.services.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Migration_Guide/Writer_and_Word

by Muh. Sirojul Munir Read More......

Uninstall OpenOffice.org 2.4

Read More......

NAT on Fedora 9

I want to access my computer with Private IP (192.168.1.3) from Internet. To do this, I need a computer can act as NAT (Network Address Translator). This computer was called as proxy server. Proxy server use Public IP = 202.46.3.71. To access Private IP from Internet, I use combination between Public IP and Port. For instance, we use port 9002. To activate NAT, I must run these command lines below on Proxy Server as root user.

Example:

# iptables -I FORWARD -i eth0 -o eth1 -p tcp --dport 9002 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
# iptables -I PREROUTING -t nat -p tcp -d 202.46.3.71
--dport 9000 -m state --state NEW,ESTABLISHED,RELATED
-j DNAT --to 192.168.1.3:80

To access my computer with Provate IP from Internet, I just use address : http://202.46.3.71:9000/

by Muh. Sirojul Munir
Read More......

Activate AntiSpam on FreeBSD

If you receive spam in your mailbox and you are the mail server Administrator or Operator, you can activate the antispam or sa-spamd by your self. To do this, just run a command line as a root privilege. Before you start the anti spam, it's better you need to know the status. Just make sure. Usually, the anti spam was placed on /usr/local/etc/rc.d/ folder.

Code :

[root@serpong4] /usr/local/etc/rc.d # ./sa-spamd status
spamd is not running.
[root@serpong4] /usr/local/etc/rc.d # ./sa-spamd start
Starting spamd.
[root@serpong4] /usr/local/etc/rc.d #

by Muh. Sirojul Munir
Read More......

Install Java Plug-in on Fedora 9

For some sites, you need java plug-in on your web browser, such as YouTube. Without this plug-in, you can not see the content of sites entirely. To check out, is your web browser java enabled? Please go to http://javatester.org/enabled.html. Or, you can go to http://javatester.org/version.html to know more about your java version what you are using. Hint: before you install java plug-in, please print the screen from the two sites above.

To enable Java plug-in on your web browser, follow these steps :
1. Download
2. Install
3. Enable and configure
4. Test installation

Download
To download this plug-in, please go to Java. or my site. After download, move the file (jre-6u11-linux-i586-rpm.bin) to /usr/java directory.

Code
[msmunir@msmunir ~]$ su -
Password:
[root@msmunir ~]# cd /usr/
[root@msmunir usr]# mkdir java
[root@msmunir usr]# cd java/
[root@msmunir java]# cp /home/msmunir/Download/jre-6u11-linux-i586-rpm.bin .

Install
For install, see http://java.com/en/download/help/5000010500.xml#rpm

Code
[root@msmunir ~]# cd /usr/java/
[root@msmunir java]# chmod a+x jre-6u11-linux-i586-rpm.bin
[root@msmunir java]# ./jre-6u11-linux-i586-rpm.bin
[root@msmunir java]# rpm -ivh jre-6u11-linux-i586.rpm

Enable and configure

Code
[root@msmunir java]# cd /usr/lib/mozilla/plugins
[root@msmunir plugins]# ln -s /usr/java/jre1.6.0_11/plugin/i386/ns7/libjavaplugin_oji.so .

Close web browser and run again.

Test installation
Check out again these sites : http://javatester.org/enabled.html and http://javatester.org/version.html to know your java version.

After install java plug-in, print screen again from two sites above and compare it with print screen before install java.

by Muh. Sirojul Munir
Read More......

Sound on Flash Movie on Fedora 9

If you open a movie from YouTube, and you can not hear the sound, it's better to re-install your flash-plugin. This is the steps :

1. Remove the flash-plugin
Code :
[root@lenovo Download]# yum remove flash-plugin

2. Download new flash-plugin "flash-plugin-10.0.22.87-release.i386.rpm" from Adobe or form my site.
3. Install it
Code :
[root@lenovo Download]# rpm -ivh flash-plugin-10.0.22.87-release.i386.rpm
4. Install another one :
Code :
[root@lenovo Download]# yum install libflashsupport
5. Reboot your computer
6. Play your YouTube's movie again.

Thanks to Clunixchit.

If you can hear the sound, please check your volume control. Click Start -> System -> Preferences -> Hardware -> Volume Control -> Playback Tab -> Choose : Master Front, Headphone, PCM, Front, or CD depend on your desire.

by Muh. Sirojul Munir

Read More......

mplayer, libcaca, libcucul problems on Fedora 9

Once in a time, may be you have problem with updating your Fedora 9. The error message usually like this :

libcucul.so.0 is needed by package mplayer-1.0-0.100.20090204svn.fc9.i386 : Success - empty transaction

To solve these problems, follow these steps :

1. Erase mplayer :
[root@lenovo ~]# yum erase mplayer

2. Download new packet of libcaca
[root@lenovo ~]# wget http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/libcaca-0.99-0.4.beta11.fc9.i386.rpm

3. Erase libcaca on your Fedora
[root@lenovo ~]# rpm -e libcaca

4. Install new packet of libcaca, not by YUM, but with RPM
[root@lenovo ~]# rpm -ivh libcaca-0.99-0.4.beta11.fc9.i386.rpm

5. Install new mplayer with YUM
[root@lenovo ~]# yum install mplayer

I have found and tested this method after I have compared with many techniques from many web sites, include blogs. I hope this method usefull for you all. Thanks.

by Muh. Sirojul Munir
Read More......

Error updating on Fedora 9

Errors were encountered while downloading packages.
1:perl-ExtUtils-ParseXS-2.18-68.fc9.i386: failure: perl-ExtUtils-ParseXS-2.18-68.fc9.i386.rpm from updates-newkey: [Errno 256] No more mirrors to try.

I tried to find article with keyword "perl-ExtUtils-ParseXS-" on Google, but I can't find it. I'm looking for the solution.

by.Muh. Sirojul Munir
Read More......

Upgrading from a previous Fedora

One of the great new features is to be able to do a live upgrade from an
older Fedora release to Fedora 11. You simply have to install the new p
ackage called preupgrade and run the program as root:

# yum -y install preupgrade
# preupgrade

Code :
[root@localhost ~]# yum -y install preupgrade
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package preupgrade.noarch 0:1.1.0-1.fc9 set to be updated
--> Processing Dependency: createrepo for package: preupgrade
--> Processing Dependency: anaconda-yum-plugins for package: preupgrade
--> Running transaction check
---> Package anaconda-yum-plugins.noarch 0:1.0-1.fc9 set to be updated
---> Package createrepo.noarch 0:0.9.6-3.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================
Package Arch Version Repository Size
=======================================================================
Installing:
preupgrade noarch 1.1.0-1.fc9 updates-newkey 94 k
Installing for dependencies:
anaconda-yum-plugins noarch 1.0-1.fc9 updates-newkey 11 k
createrepo noarch 0.9.6-3.fc9 updates-newkey 73 k

Transaction Summary
=======================================================================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 177 k
Downloading Packages:
(1/3): anaconda-yum-plugins-1.0-1.fc9.noarch.rpm | 11 kB 00:00
(2/3): createrepo-0.9.6-3.fc9.noarch.rpm | 73 kB 00:00
(3/3): preupgrade-1.1.0-1.fc9.noarch.rpm | 94 kB 00:01
-----------------------------------------------------------------------
Total 43 kB/s | 177 kB 00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : createrepo 1/3
Installing : anaconda-yum-plugins 2/3
Installing : preupgrade 3/3

Installed:
preupgrade.noarch 0:1.1.0-1.fc9

Dependency Installed:
anaconda-yum-plugins.noarch 0:1.0-1.fc9 createrepo.noarch 0:0.9.6-3.fc9

Complete!
[root@localhost ~]#

This process does take a LONG TIME, requires a high speed internet connection
and has a couple minor gotchas but so far I've done a couple upgrades with no
data loss and pretty much everything has "just worked" afterwards. You don't
need to download and burn any ISOs as the upgrade is done on top of your current
installation.

Available Fedora Releases :

* Fedora 11 (Leonias)
* Fedora 10 (Cambridge)


The computer do :
1. Download release info
2. Download installer images
3. Determine which packages to download
4. Download packages
5. Prepare and test upgrade

Total Volume : 1,6 GB

After the preupgrade script downloads a ton of packages it will reboot and begin
the upgrade procedure automatically. Follow the instructions and after the upgrade
is complete log back in and you'll have to fix a couple little things. One things
is that you'll need to update the Livna repository file below and then clear the
yum cache. Once you do that you'll have to do an update again and this time yum
will automatically update any extra software you had installed from Livna with
he previous version.

# rpm -Uhv http://rpm.livna.org/livna-release-9.rpm
# yum clean all
# yum -y update

Code :
[root@nms ~]# rpm -Uhv http://rpm.livna.org/livna-release-9.rpm
Retrieving http://rpm.livna.org/livna-release-9.rpm
warning: /var/tmp/rpm-tmp.ZWJfOi: Header V4 DSA signature: NOKEY, key ID a109b1ec
Preparing... ########################################### [100%]
1:livna-release ########################################### [100%]
[root@nms ~]# yum clean all
Loaded plugins: dellsysidplugin2, refresh-packagekit
Cleaning up Everything
[root@nms ~]# yum -y update
Loaded plugins: dellsysidplugin2, refresh-packagekit
fedora | 3.8 kB 00:00
fedora/primary_db | 8.4 MB 00:38
livna | 2.4 kB 00:00
livna/primary_db | 2.7 kB 00:00
rpmfusion-free | 3.3 kB 00:00
rpmfusion-free/primary_db | 276 kB 00:04
rpmfusion-free-updates | 3.8 kB 00:00
rpmfusion-free-updates/primary_db | 148 kB 00:02
updates | 4.4 kB 00:00
updates/primary_db | 2.6 MB 00:08
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package bind-libs.i586 32:9.6.1-4.P1.fc11 set to be updated
---> Package bind-utils.i586 32:9.6.1-4.P1.fc11 set to be updated
---> Package libmad.i586 0:0.15.1b-13.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================
Package Arch Version Repository Size
========================================================================
Updating:
bind-libs i586 32:9.6.1-4.P1.fc11 updates 904 k
bind-utils i586 32:9.6.1-4.P1.fc11 updates 241 k
libmad i586 0.15.1b-13.fc11 rpmfusion-free-updates 84 k

Transaction Summary
========================================================================
Install 0 Package(s)
Update 3 Package(s)
Remove 0 Package(s)

Total download size: 1.2 M
Downloading Packages:
(1/3): bind-libs-9.6.1-4.P1.fc11.i586.rpm | 904 kB 00:03
(2/3): bind-utils-9.6.1-4.P1.fc11.i586.rpm | 241 kB 00:00
(3/3): libmad-0.15.1b-13.fc11.i586.rpm | 84 kB 00:02
------------------------------------------------------------------------
Total 162 kB/s | 1.2 MB 00:07
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID d22e77f2
updates/gpgkey | 1.6 kB 00:00
Importing GPG key 0xD22E77F2 "Fedora (11) " from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID 8fcff4da
rpmfusion-free-updates/gpgkey | 1.7 kB 00:00


Public key for libmad-0.15.1b-13.fc11.i586.rpm is not installed
Anda memiliki surat baru dalam /var/spool/mail/root
[root@nms ~]#

This too will take a while since it's likely that dozens of packages will need to be updated. Once it's done it's a good idea to reboot again for good measure and if all goes well you should be done!

Source : http://www.gagme.com/greg/linux/f9-tips.php
by Muh. Sirojul Munir
Read More......