import blogger posts into our web site with wordpress

Published by:

This post is made because I want to move my blogger.com posts into my own web site with wordpress. There is suppose to be an easy way to do that. Like converting the database into the wordpress stucture. And I found one here.
http://blogger2wordpress.appspot.com/ – convert xml into wxr
It is said that we need to convert the xml from blogger.com into wxr wordpress import format.
The xml is downloadable in setting menu inside our blogger.com account.

Then change the xml in our computer into wxr by the online converter in
http://blogger2wordpress.appspot.com

Save it to our computer again.
And now go to our wordpress dashboard again, choose import menu from the tool left bar.
Choose wordpress. Upload your file.

The good things is that was the first way and still another way to do it in simple way.
Install this plugin Here.. It is a blogger importer.
Run Import from tool menu.
In another tab open your blogger account, let it open.
Choose blogger from our wordpress dashboard.
And set authorize when your blogger account appears.

 
Choose import for entire database.
That’s it. Now I have my database in my own web site with wordpress.

500 internal server error

Published by:

The error message,

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@sugi.web.id and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

That was the message I received a few days ago from my sugi.web.id. I don’t know why. Until I asked the web hosting that there have been a major damage on the server cpu in colocation center.
Actually 500 internal server error is an error message that quite common to appear when the server is having some trouble. It seems the administrator can manage the kind of error by creating 500.shtml for the error message.
Further we may learn to administrate the server in another post.

Pinguy OS

Published by:

www.pinguyos.com

Ever heard about pinguy linux? well I have not. And now I discover it.
Here the promo text from its website

Pinguy OS an out-of-the-box working operating system for everyone, not just geeks
This OS is for people that have never used Linux before or for people that just want an out-of-the-box working OS without doing all the tweaks and enhancements that everyone seems to do when installing a fresh copy of Ubuntu or other Linux based Distro’s.

Basically pinguy is ubuntu based linux. But with more applications, function and display than its ubuntu original. I remember slax for slackware based distro.
Maybe I would try this kind of linux in my virtual machine though. To find out more its strength.

wine – error 1608

Published by:

This error happens after installing fresh wine into my computer and then installing other software. I think this has something to do with windows installer.
But it will gone if we restart the computer then re-install the software.
I installed wine without gecko thing.
For now, the solution is restart the computer.
picture from http://www.birdlist.org

rmvb realmedia variable bitrate

Published by:

Extension rmvb is RealMedia Variable Bitrate. It still movie format that mplayer could play. Or vlc in windows.

We will try to convert rmvb into avi.
Tools
1. mplayer
2. mencoder
3. essential codecs for mplayer

note: to install the above tools, please take a look to http://stanton-finley.net/fedora_cor…ion_notes.html

File
1. rmvb file: in.rmvb
2. avi file: out.avi

Information for the avi file
Video
format: mpeg4
bitrate:1200 kb/s
fps: 25 fps
Audio
format: mp3
bitrate: 128 kb/s

Command
$mencoder in.rmvb -oac mp3lame -lameopts preset=128 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200 -ofps 25 -of avi -o out.avi

Explanation
-oac: output audio codec
mp3lame: library used for audio encoding
-lameopts: options used along with lame
preset: values for audio bitrate, you can set 64, 128, 224, etc
-ovc: ouput video codec
lavc: library used for video encoding
-lavcopts: options used along with lavc
vcodec: video codec, you can use mpeg1video, mpeg4, etc
vbitrate: video bitrate, you can set 600, 1000, 1200, etc
-ofps: outpt frame per second ( fps)
-of: output file container type
-o: output filename

Mencoder is a powerful tool to convert multimedia, just like the above example, we can use it to convert rmvb to avi. With suitable library and codecs, we can even use it to convert file format like rm, wmv etc.

Reference link:
http://gentoo-wiki.com/HOWTO_Mencode…oduction_Guide

ffmpeg convert mkv to mpg

Published by:

Here is the command line to convert mkv movie file into mpg without loosing it quality.
ffmpeg.exe -i “F:/video.mkv” -vcodec mpeg2video -sameq -acodec copy -f vob -copyts -y “f:/video.mpg”

modify using vipw

Published by:

Usage: vipw [options]

Options:
-g, –group edit group database
-h, –help display this help message and exit
-p, –passwd edit passwd database
-q, –quiet quiet mode
-s, –shadow edit shadow or gshadow database

someone said this editor is the safest way to edit /etc/shadow /etc/group /etc/password

The manual is same as vi or vim command

installing joomla into your computer

Published by:

The best way to try out what cms engine for you when you create website is to try it out first in your computer. I had install joomla in my website but i deleted it coz i don’t have enough space in my web.
So I would like to try to install joomla in my home computer with xampp. I am using xampp 1.6.8a (you can download it directyly here) and joomla 1.7. But of course always the best if we’re using the latest version of them. But I will write down later how to upgrade them.
Here is to install xampp, the basic of all. xampp already packed with mysql, apache, proftpd they are all we need for hosting.
Go to command line (console, konsole)
$su (input your root password)
$tar xvfz xampp-linux-1.6.8a.tar.gz -C /opt

Now start xampp (still as root)
$/opt/lampp/lampp start
If these line appears then your xampp is working
Starting XAMPP for Linux 1.6.8a…
XAMPP: Starting Apache with SSL (and PHP5)…
XAMPP: Starting MySQL…
XAMPP: Starting ProFTPD…
XAMPP for Linux started.

Check with your browser and type http://localhost
We will have xampp logo there.

Now the joomla.
Joomla usually using zip type compression file.
$unzip Joomla_1.7-Stable-Full_Package.zip -d /opt/lampp/htdocs/
htdocs folder is the root folder for www or http in localhost.
Now the installation. We’re going to use web base installation process which is the easiest part here.

Open your browser, type http://localhost/joomla (in this case i create folder joomla in /opt/lampp/htdocs/joomla) if use just http://localhost/installation/index.php
After choosing language and click next the joomla show a No in configuration.php it means that we have not yet configuration.php file in the root folder as writable of there is no such file. Actually joomla has it. But named as configuration.php-dist. Rename and make it writable.

Go to command console line again and make sure we are in /opt/lampp/htdocs/joomla
$cp configuration.php-dist configuration.php
$chmod 766 configuration.php
Back to configuration browser, click Check again button
You will see this kind of screen

Just click next in licence screen
Now the database configuration.
Choose mysql as the common database type file. But we need to configure some setting in our mysql setting.
Open up another tab in your browser and go to http://localhost click security.
Then you will find some instruction right over there.. like go to console and type this
$/opt/lampp/lampp security
Follow all the instruction appear.

Let’s go back to our joomla.
null
You have a safe xampp. And click next until joomla ask to fill database name. PhotobucketFill them and finally, joomla will ask to remove the installation folder. Which is in /opt/lampp/htdoc/joomla/installation
$rm -r /opt/lampp/htdocs/joomla/installation

Now click administrator and enter your password that you just created.
And you will have joomla dashboard.
That’s all for installing joomla. I’ll be back with the experiences how to use joomla in the next articles.

login into another username without password

Published by:

Sometime we need to use console command and login into another user name so we can do network administration stuff. Let’s say that we’re going to accessing server with serverme username.
We open console and login into root privilege first,
$su
Then creating the username
$useradd serverme
This time we do not supply for password.
Then login into it
$login serverme
Slackware will ask for password, the thing we didn’t do before.
There’s another command to by pass it, like this
$login -f username
It doesn’t matter we supply the username with password or not, login -f will directly log us in into that username. But remember do it all in root privilege.