LINUX and STUFF

All about linux inside, networking, programming,server,tutorials, Open Source resources software and hardware and the other stuff.

Saturday, March 25, 2006

Library types

Two types of libraries exist on most operating systems: shared and static. On Windows, they are .DLL, for dynamically linked library, and .LIB for static library.
On Linux and most Unix, they are .so and .a files. The shared libraries, the .so files, are loaded at runtime. The .a files, or static libraries, are loaded at compile time and are no longer required to run the binary program. When you make a program, you must decide if you will link it to a static library or a shared one. You will want a shared library in most cases because standard libraries are available on most systems, and would be too big to include in a binary file.
If you have a small library that is not one of the standard ones that you need, then you may decide to include it in your binary program. In that case, simply add it like any other object file in your compilation:
cc -o program file1.o file2.o library.a

keyword : shared static library
 
Web www.linuxscience.blogspot.com
Graphical toolkits

Most Unix programs are console based. This is mainly because several years ago, most computer users were on text-only stations linked to big mainframes. Now, Linux is becoming a full graphical desktop, and needs graphical programs, or at least frontends to text-only programs. This is where graphical tookits come in. Here is a list of some of the toolkits available to Linux programmers:
· GTK - This is currently a very popular toolkit, and is the base of the GNOME desktop. It is C
based and easy to work with.
· QT - QT is a C++ toolkit made by Troll Tech. It is the base of the popular KDE desktop. · WXwindows - This is a very complete C++ toolkit that is cross-platform. The same code should work on Windows, the MacOS, Unix (Motif and GTK) and others.
· GraphApp - This is also a cross-platform toolkit, but is one of the easiest libraries I ever saw. It supports a smaller set of widgets, but takes only hours to learn. It will work on Windows, the
MacOS, Unix (Motif and Athena) and others.

keyword : gtk,qt,graphapp
 
Web www.linuxscience.blogspot.com
Segmentation fault

One of the most common problems when making software is errors like "Segmentation fault", also called SegFault. Here is what a SegFault is. Virtual memory in a computer can be created in 2 ways: pages or segments. Paging means that the memory is divided in pages of equal size, containing words of memory in it. Segmentation means that every process has a segment of memory of needed size, with gaps of empty memory blocks between the segments.
The operating system knows the upper limit of every segment, and every segment begins at a virtual address 0. When a program accesses a memory block, it calls a virtual address that the Memory Management Unit (MMU) maps to a real address. If the operating system sees that the requested address doesn't match any valid address in the segment, it will send a signal to the process terminating it. SegFaults are the direct result of a memory error. The program has a bad pointer, a memory leak or any kind of error that makes it access the wrong memory address. To correct these errors you need to check pointers and arrays for errors.

keyword : virtual memory,mmu
 
Web www.linuxscience.blogspot.com
Using PASCAL on Linux

Linux comes with a lot of compilers and interpreters. These include programs for C, C++, Perl, TCL/TK and more. Unfortunately most Linux distributions don't come with a Pascal compiler. Is it possible to compile Pascal programs? It sure is.
Several projects were started to make a Pascal compiler for Linux. One is called GNU Pascal and is available from http://agnes.dida.physik.uni-essen.de/~gnu-pascal. That program will also run on any operating system that supports the GNU C compiler.

keyword : fpc, gnu pascal
 
Web www.linuxscience.blogspot.com
Makefile don't equal C

Makefiles are used in most Unix C or even C++ programs. But nowhere does it say that they can't be used for other languages. Make is a program installed with most Linux distributions, and on most Unix systems too.
Makefiles make your program portable, and easy to compile. These files can be used in C, C++, Java, and any program that requires compilation. Make has so many useful applications. Feel free to explore them for your programs.

keyword : makefile howto
 
Web www.linuxscience.blogspot.com
Speed problems on a PPP connection

PPPd is the PPP connection daemon. It will try to connect to a server using a specified speed. The default speed is 38400. If you use a serial connection, or a 56.7Kbps modem, it may not be enough. If you want to use all the available bandwidth, you need to increase that number. For example, for a serial connection, you want the speed set at 115200.
Another reason for speed drops is unwanted packets. You may want to filter unwanted packets out of your network, like some ICMP messages and chat connections. A last possibility for speed drops is Denial of Service attacks. DoS attacks are unfortunately very real and they occur a lot. Malicious people that can't handle their problems elsewhere turn to the Internet and launch attacks against networks. An attack against one user will always affect several thousands of people. By using bandwidth of an Internet provider to cause trouble to any one user, the whole provider will be affected. To prevent such attacks, firewalls exist, and tracking tools were invented to deal with abusers. MCI has a tool called DoSTrack that can be of help if you are victim of such an attack. For more information about various DoS attacks, you should search the Web.

keyword : ppp
 
Web www.linuxscience.blogspot.com
Linux without a hard drive

Modern Linux distributions require around 100 megs to 200 megs of hard disk space to install. But is it possible to run Linux on a system without a hard drive? Yes it is.
The Linux Router Project is a full-featured Linux distribution that fits on one diskette. It was made for routers, and use modules to add the software packages you need, including DNS servers, Web servers, email and routing. You can find more information on the Linux Router Project at http://www.linuxrouter.org.

keyword : linux router project
 
Web www.linuxscience.blogspot.com
Added processors

Dual processors are becoming more and more popular in computers. Of course, you won't be able to see much performance increase in Linux unless you tell Linux about the second CPU. Here is how to do it.
Go in the kernel, and enable SMP. SMP means Symetric Multi-Processing and tells the kernel that more than one processor can be used. After a reboot, Linux should tell you that it has detected 2 processors and what their status are.

keyword : smp
 
Web www.linuxscience.blogspot.com
Use Windows special keys in Linux

Why are all the new keyboards sold with Win95 keys on them? How about making them do real keyboard functions while in X Window? Here is how.
First you need to find out which key mapping you are using. Usually it will be US, it might also be en_US, ca or else. Locate the file, usually in /usr/X11/lib/X11/xkb and edit it with your favorite editor. For me the file is called /usr/X11/lib/X11/xkb/symbols/ca.
The file lists all the key codes and what they do. The key codes for the Win95 special keys are LWIN, RWIN and MENU. All you need to do is add them to the list, with the functions for them. I decided to map the leftWIN key to "@" and the right WIN key and MENU keys to "{" and "}". Here are the lines I added:
key { [ braceleft ] };
key { [ at ] };
key
{ [ braceright ] };
By browsing the file you can find all the other symbols and what they do. You can also add multiple functions to a key, by using ALT and SHIFT.The changes will take effect when you restart X Window. With the XKB extension (you do need to have it enabled in /etc/XF86Config btw) it's easy to change the mapping of any key.

keyword : special key in linux

 
Web www.linuxscience.blogspot.com
Everything on sound cards

A sound card can be easy or hard to detect. It depends on who made it. Many Sound Blaster Compatible cards in fact are not compatible with the Linux Sound Blaster driver. Other cards will be compatible with a driver you would never have thought of.
There are multiple drivers for Linux. Currently the kernel comes with its own set of sound drivers, plus the OSS/Free drivers. These will support most generic cards. In the installation program, or when compiling your kernel, you can pick the sound card that matches yours, or the one that matches the chipset on your sound card (for example, the Sound Blaster PCI64 card uses the AudioPCI chipset).
If your sound card is not supported by the kernel, you will need to get another driver. 2 popular ones are ALSA available from http://alsa.jcu.cz and OSS/Linux available from http://www.opensound.com OSS/Linux is a commercial product that supports a lot of cards not available in other drivers because of card specification restrictions. You will need to see the list of supported cards in each driver and pick the driver you need.

keyword : alsa
 
Web www.linuxscience.blogspot.com
Detecting 2 ethernet cards

To configure an ethernet card in Linux, you need to enable it in the kernel. Then the kernel will detect your ethernet card if it is at a common IO port. But it will stop there, and will never check if you have 2 ethernet cards.
The trick is to tell the ethernet driver that there are 2 cards in the system. The following line will tell the kernel that there is an ethernet card at IRQ 10 and IO 0x300, and another one at IRQ 9 and IO 0x340: ether=10,0x300,eth0 ether=9,0x340,eth1
You can add that line on bootup at the "boot:" prompt, or in the /etc/lilo.conf file. Don't forget to run:
lilo
That will reload the lilo.conf file and enable changes.

keyword : ethernet card in linux
 
Web www.linuxscience.blogspot.com
Running Java programs

Java is an interpreted language. Usualy Java is found on the Web, in small programs called applets. But many Java applications exist. They are like applets, but require a Java Virtual Machine to run on your system. Netscape Communicator and any Java-enabled browser can run Java applets, but what if you want to run Java programs?
Java programs are files ending with .class and must be run in a JVM. The Java Development Kit comes with a JVM. What you need is the Linux port of the JDK that you can find at http://www.blackdown.org. Once installed, you can run any Java application using the line:
java Program
Where java is the JVM, from the JDK package, and Program is the class found inside the Program.class file. Note that you do not have to specify the .class part of the file to run it.

keyword : java virtual machine,java development kit
 
Web www.linuxscience.blogspot.com
Internet Technologies

The Internet is of course a big phenomena, and Linux is a big part of it. Linux servers are very popular, and you can be a part of this revolution.
Among available technologies, here are the most popular ones:
· Java - The Java language is a new and powerful language made to be cross-platform. Since the Web must be available on all systems, this makes Java a very powerful tool. You can make Java applets that will run on the user's system and display information or interact with him.
· JavaScript - This is similar to Java, but in a Web page itself. It is embedded in HTML, to do small functions like rollover scripts, and making text appear on the screen.
· CGI - The CGI protocol is very much in use for servers with some sort of account system, like online shops and search engines. You can make CGI scripts in any language, and make your Web server run them on the server.

keyword : java,javascript,cgi
 
Web www.linuxscience.blogspot.com

Monday, March 20, 2006

Network printers

By tradition in Unix most services come with networking capabilities. This includes the printing server. You don't need to get third party software to make a printing server.
The lpd daemon allows you to print to your local printer, but also allows others to print on it, if you allow them.
By default the printing software will read on port 515 on the UDP protocol. It will allow hosts listed in the /etc/hosts.lpd to print using your printer. For a full overview of the printing service, you should check the printing howto on the Web.

keyword : linux printing howto
 
Web www.linuxscience.blogspot.com
Speed problems on a PPP connection

PPPd is the PPP connection daemon. It will try to connect to a server using a specified speed. The default speed is 38400. If you use a serial connection, or a 56.7Kbps modem, it may not be enough. If you want to use all the available bandwidth, you need to increase that number. For example, for a serial connection, you want the speed set at 115200.
Another reason for speed drops is unwanted packets. You may want to filter unwanted packets out of your network, like some ICMP messages and chat connections.
A last possibility for speed drops is Denial of Service attacks. DoS attacks are unfortunately very real and they occur a lot. Malicious people that can't handle their problems elsewhere turn to the Internet and launch attacks against networks. An attack against one user will always affect several thousands of people. By using bandwidth of an Internet provider to cause trouble to any one user, the whole provider will be affected. To prevent such attacks, firewalls exist, and tracking tools were invented to deal with abusers. MCI has a tool called DoSTrack that can be of help if you are victim of such an attack. For more information about various DoS attacks, you should search the Web.

keyword : pppd
 
Web www.linuxscience.blogspot.com
Accessing remote file systems

SMB is the most popular protocol to access Windows systems. But from the Unix world comes NFS. NFS is a way to share files that predates SMB and Samba, and comes compiled in most Linux distributions. To enable file sharing, you must have the nfsd and mountd daemons running. You also need to add the IPs of the systems you want to allow in /etc/exports. To access remote file systems, you simply mount them like local hard drives. To mount /usr/files from 1.2.3.4 into /mnt/files, simply type: mount -tnfs 1.2.3.4:/usr/files /mnt/files
The -tnfs parameter may be omited.

keyword : nfs server
 
Web www.linuxscience.blogspot.com
Sharing files from a Windows system

The protocol to use to be able to share files with Windows systems is called SMB. Linux supports natively a lot of file systems and network protocols. SMB is one of them. To be able to mount a Windows file system to share files, that system needs to have file sharing enabled, and you need to enable SMB support in the kernel. You also need to download a program called Samba which allows you to share remote file systems, and build yourself a server. General information about how to connect Linux, Windows machines and Macs is on the Web at http://www.eats.com/linux_mac_win.html.
If SMB is not a possibility, you could use FTP. Linux by default has an FTP server turned on. Windows FTP servers are also available for free.

keyword : samba server
 
Web www.linuxscience.blogspot.com
Internet for your LAN

Many companies have local networks, and it is becoming even more popular in homes, where 2 or 3 systems are linked together using ethernet wires. Most providers only offer 1 IP address per connection, which means that you can't put all of the systems on the Internet at the same time, unless you use a special gateway.
Linux comes with something called IP-Masquerade. With it, you can assign LAN IPs, which are IPs that can't go on the Internet directly, and then use the Linux system as a gateway. All you need to implement this is a Linux system with 2 ethernet cards, and an Internet connection. The Linux system has IP-Masquerade enabled, and the LAN systems will have access to the Internet using the Linux gateway as a transparant proxy server.
You can find more on the subject by reading the IP-Masq HOWTO and other networking documentation at http://metalab.unc.edu/pub/Linux/docs. You also need to make sure your Internet provider accepts this kind of network on their connection.

keyword : proxy server, ip masquerade, networking documentation
 
Web www.linuxscience.blogspot.com

Monday, March 13, 2006

Secure Web Server

Electronic commerce is becoming very popular on the Internet. Companies will often pay thousands of dollars for commercial packages to deliver secure content to customers on the Web. You can setup one of the most popular Web servers, Apache, running on Linux and serving secure content, for free. To setup Apache to deliver secure content, you will need to get a cryptographic package called OpenSSL, based on the SSLeay library. The place to start is at http://www.apache-ssl.org. From there, you can download the needed patches to make Apache into a secure web server. Detailed instructions are available in the packages, but here is a quick step-by-step guide:
· First, you need to download 3 packages: Apache itself, the corresponding Apache-SSL patch
and OpenSSL.
· Then you need to patch the Apache distribution and compile the SSL library.
· After editing the configuration file in the Apache directory, and setting the right paths and libraries to use, you can compile Apache and then create a test certificate.
· All you have to do now is install Apache and configure it to use your test certificate.
Note that while Apache and the SSLeay libray are free, you may need to pay to get signed certificates from commercial companies. Also, due to export laws in various countries, you may want to check your local laws before using any encrypting product.

keyword : apache web server
 
Web www.linuxscience.blogspot.com
Emulation

Linux is source compatible with Unix. This means that all of the Unix programs should work on Linux when compiled correctly, with little or no change to the source. Unix does provide a wide variaty of software programs, but some programs are only available on non-Unix systems. A number of emulators are available on Linux. We'll see 4 of them:
· One of them is called WINE and stands for WINE Is Not an Emulator. It used to stand for Windows Emulator. WINE will run various Windows 16bits and 32bits applications. The home page for WINE is at http://www.winehq.com.
· To emulate DOS programs, a program called DOSemu exists. That program comes with an X Window interface and a console interface. It will run most DOS programs. You may want to run graphic-intensive programs like DOS games in the console interface of DOSemu. Like WINE, DOSemu is a free product.
· To emulate MacOS programs, a commercial program called Executor exists. It will run a MacOS-like shell in X Window and will run various MacOS programs. · A new commercial program is now available for every OS. It is called VMware and will create a virtual PC, allowing you to run nearly any operating system, including DOS, Windows NT and FreeBSD. It is very stable and comes with a 30 day free license.

keyword : wine,dosemu,executor,vmware,macos
 
Web www.linuxscience.blogspot.com
Real Audio and Video

Real Networks has released their Real Player for Linux. Unfortunately, many users had problems setting it up. When running an older kernel, you may need to disable the 16bits sound playback. When running the Linux kernel 2.2 with Real Player 5.0, you may need to use a workaround to get the Real Player to work. The workaround is available from the Web. Real Networks provides the Real Player for Linux and for RedHat Linux. The RedHat Linux version comes in the RPM format. Here it is:


keyword : real player for linux
 
Web www.linuxscience.blogspot.com
Scanning with Linux

A number of scanning programs exist for Linux. A popular one currently is SANE which stands for "Scanner Access Now Easy" and is available from http://www.mostang.com/sane. It is an application programming interface that provides standardized access to scanners. Several graphical frontends are also available from the SANE Web page.

keyword : sane
 
Web www.linuxscience.blogspot.com
ICQ on Linux

The original ICQ client does not currently run on Linux. Fortunately, there are clones that do run on Linux and offer the ICQ service to users. A popular ICQ program is Licq available from http://licq.wibble.net. Another popular one is Micq available at http://micq.chatzone.org. Other ICQ programs are also available for Linux. This is licq:

keyword : icq on linux
 
Web www.linuxscience.blogspot.com
Running Java Programs

Java is an interpreted language. Usualy Java is found on the Web, in small programs called applets. But many Java applications exist. They are like applets, but require a Java Virtual Machine to run on your system. Netscape Communicator and any Java-enabled browser can run Java applets, but what if you want to run Java programs?
Java programs are files ending with .class and must be run in a JVM. The Java Development Kit comes with a JVM. What you need is the Linux port of the JDK that you can find at http://www.blackdown.org. Once installed, you can run any Java application using the line: java Program. Where java is the JVM, from the JDK package, and Program is the class found inside the Program.class file. Note that you do not have to specify the .class part of the file to run it.

keyword : java programming
 
Web www.linuxscience.blogspot.com
TV on Linux

A number of cards exist allowing you to watch and record TV on your PC. Most come with software for Windows only, like so many things, but it is possible to do the same thing on Linux.
Linux comes with several drivers which make up the Video4Linux drivers. Several cards are upported by these drivers, and a list of them is available at htttp://roadrunner.swansea.linux.org.uk/v4l.shtml. This is the driver side. You also need software to use the devices. Several programs are available to watch TV, capture images and even Web applications. A list of some of the programs is available at http://www.thp.uni-koeln.de/~rjkm/linux/bttv.html including datasheets.

keyword : tv on linux
 
Web www.linuxscience.blogspot.com

Sunday, March 12, 2006

Mono Progressively Come Near .Net

Mono project has present the new release which aim to make it out from development environment and going to production systems. Version 1.1.10 containing tweaks like auto-configuration and ability to work with virtual hosts. Mono desained so .Net codes can be execute on n0 Windows system like Unix and Linux. One of the problem is mod_mono, Apache modul which providing support to ASP.NET. "We know that mod_mono difficult to configure and Mono needs system administrator to registrate all directory containing ASP.NET application manually. This thing is a complicated problem to many system administrator and discontinuing usaging mod_mono adoption to multi user," said Mono project developer. This modul have updated in 1.1.10 release with a auto-configuration system, so that ASP.NET aplications can work without to make Apache configuration changes.

keyword : mono project
 
Web www.linuxscience.blogspot.com

Friday, March 10, 2006

Create Instant Messaging Server with Jabberd2 and MySQL

Chatting server doesn't always Yahoo,Google or Microsoft. You can make chatting server base on open source software Jabberd2 and MySQL. In this tutorial i'll give you how to make instant messaging serverbase on jabber protocol with Jabberd2 as server and MySQL as jabber data storage place .For the installation make sure that you libdn version 0.3 or higher, OpenSSL verion 0.9 or higher and MySQL packet.

Jabberd2 Installation
After downloading the new and stabil jabberd2, go to directory where the jabberd2 placed.
1. Make new group and user call jabber
$ su
passwd :
# groupadd jabber
# useradd jabber
2. Make directory to save jabberd2 log files
# mkdir -p /usr/local/var/jabberd/log
3. Make directory to save jabberd2 PID files.
# mkdir -p /usr/local/var/jabberd/pid
4. Change log file and PID directory owner for user and group jabber
# chown -R jabber:jabber /usr/local/var/jabberd/
5. Extract jabberd file
# tar -zxf jabberd -2.0s10.tar.gz
6. Go to directory extract result and do configuration command
# cd jabber2-2.0s10
# ./configure --enable-idn --enable-mysql --enable-ssl
7. After configure finish, do build and installation
# make && make install
8. Change configuration files for root user and change file permission
# chown -R root:jabber /usr/local/etc/jabberd/*
# chmod 640 /usr/local/etc/jabberd/*
9. To make easy configuration setting, create symbolic link configuration jabberd2 directory to /etc
# ln -s /usr/local/etc/jabberd /etc/jabberd

Jabberd2 Configuration
Jabberd configuration files is file with extension.xml. For early step do configuration to sm.xml and c2s.xml
# vi /etc/jabberd/sm.xml
At part, insert hostname as identification for your jabber server
jabber.localhost.org
At part, on Router connection configuration, change 127.0.0.1 to your server ip address.EX:



192.168.0.1

5347

Save and now edit c2s.xml file,
Change IP address on Roter connection configuration with your server IP address.



192.168.0.1

5347

Then edit on Local network configuration by cahnge part with your hostname
jabber.localhost.org

MySQL Configuration
Execute MySQL setup script which locate in tools directory in source directory jabber. First change to tools directory
# cd tools
Make sure MySQL server service is running, and execute below command from console
mysql -u root -p
mysql> \. db -setup.mysql
mysql> GRANT select, insert, delete, update, ON jabber2.* to jabberd2@localhost IDENTIFIED by 'secret';
Jabberd2 user with password secret is the default.You can change it with your own user and password. If you choose to use default user and password, you dont have to edit sm.xml and c2s.xml. But if you use your own user and password do this :



localhost
3306

jabberd2

jabberd2
secret
On MySQL driver configuration change with your MySQL database user and with your MySQL database password.

user_db
pass_user_db

Server Test
Execute jabberd server with this command :
# su jabber
$ /usr/local/bin/jabberd &

Jabberd2 configuration with SSL Connection
First step is make self-signed SSL certificate

openssl req -new -x509 -newkey -rsa:1024 -days 3650 -keyout privkey.pem -out server.pem
Delete passphrase from your private key.
openssl rsa -in privatekey.pem -out privatekey.pem
Combine private key and public key in one file.
cat privatekey.pem >> server.pem
Delete your private key
rm privkey.pem
Remove server.pem file to /usr/local/etc/jabberd directory
# mv server.pem /usr/local/etc/jabberd/server.pem
Change owner and permission file for root user
# chown root:jabber /usr/local/etc/jabberd/server.pem
# chmod 640 /usr/local/etc/jabberd/server.pem

Configure SSL Certificate so can be use by Jabber client
SSL Key configuration for jabber client place in c2s.xml file. Edit location from your SSl Key. If you following steps above, uncomment file location on local network configuration session.
/usr/local/etc/jabberd/server.pem

Configure SSL Certificate Jabberd Between Component
Each of five Jabberd componen (router.xml,resolver.xml,s2s.xml,sm.xml and c2s.xml) have configuration for encrypted communication between component to jabberd router.So each component must be configured. Below is example configuration SSL Key certificate location for sm.xml. Same way can be done too to other files.
/usr/local/etc/jabberd/server.pem
After edited jabberd configuration file finish, restart your jabberd server. Now you can try from jabber client. In linux you can use Kopete, Gaim, Gabber or Psi while in window use Exodus or Psi. Enjoy !!!!

keyword : Linux Instant Messaging Server, Jabberd2, Jabberd2studio

 
Web www.linuxscience.blogspot.com

Wednesday, March 08, 2006

Database Management : phpLDAPadmin 0.9.7.2

PhpLDAPadmin is a web based LDAP browser and management tool which is made use PHP script. With this application you can configure LDAP server application easily. Some feature that had by PhpLDAPadmin : LDAP tree browser, template based entry editing, copy LDAP entries, LDIFF and DSML export, DSML import, manage user password hashes,etc. Because of all these features, PhpLDAPadmin included in 50 best PHP software in PHP Quebec Conference 2004. Beside OpenLDAP, some LDAP server that had supported by PhpLDAPadmin is Fedora Directory Server,Microsoft Active Directory, Novell Netware 6.5 eDirectory and Sun DirectoryServer. To use phpLDAPadmin, make sure you have install apache, MySQL/PostgreSQL and PHP with LDAP support. Beside that, extract to your Apache Root Document and edit parameter in config.php file. As Front-end application for LDAP server like openLDAP, phpLDAPadmin usage can lightening you in editing complicated LDAP configuraton file.

keyword : PhpLDAPadmin, Free Database Management Software
 
Web www.linuxscience.blogspot.com
IBM Open GPFS Code

As more popular Linux cluster, IBM finally open General Parallel File System (GPFS) source code. This done by IBM so that the file system can walk at hardware from other vendor. With GPFS, giving addition ability to all its consumer to use physical resource, like line of server or storage, as also to a virtual file system.GPFS can insert hundreds data in terabyte, same as with accomodating very big file data in engineering design, digital media, data mining, finansial analysis and seismic data processing. GPFS used first time as file system for high performance cluster computing on Unix server in the early of 90's., giving its consumer speed to access file to application. This technology was introduced to Linux system in the end of 90's, accomodating IBM to push Linux cluster to the market. Till now, all user can operate GPFS on a machine with IBM support. However if all consumer have joined IBM cluster environment walk with linux networking or other, they only can operate it in IBM hardware.

keyword : GPFS Code, Linux Cluster,Linux Networking
 
Web www.linuxscience.blogspot.com
Borland Delphi Programming in Linux

To who fond of to make program in GUI environment by using Pascal Ianguage, Borland Delphi very known as most popular RAD which at most used. But unfortunately, Borland Delphi isn't free. Beside that Borland nor too serious focussed on Borland Kylix as substitution of Borland Delphi that can operate in Linux platform. But you don't have to worry because nowadays have made available Lazarus alternatively Borland Delphi substitution in Linux world. As RAD tool for Free Pascal, syntax which used in Lazarus have looking like with Borland Delphi. Some feature which there are in Lazarus is supporting application project, there is object inspector, OOP, supporting connection to database application (MySQL,SQLite,PostgreSQL), Source Editor Built-in, Form Editor, LCL that quite complete, Compiling and Debugging,etc. And one more, once you make program in Lazarus, your code can be compile to walk in some platform like Linux,Mac ,Windows. If you want a complete RAD and free you can choose Lazarus to make your program.

keyword : Lazarus,Borland Delphi in Linux,Free Pascal
 
Web www.linuxscience.blogspot.com
PalmSource assisting makes LiPS

On November 11th 2005, have been formed Linux Phone Standards (LiPS) forum. Consortium from this leading companies said that they join together to quickening linux adoption in the case of fixed devices, mobile and converged.This group said that LiPS will finish this duty by service standardization and API base on Linux which affect directly to development, deployment, and interoperability from user applications and service. LiPS founder member are PalSource, France Telecom/Orange, FSM Labs, Huawei, Jaluna, MontaVista Software, MIZI Research, Open Plug, Arm, Cellon, and Esmertec. Michael Kelley, senior vice president technician for PalmSource, said that became apart of LiPS forum will be more demonstrate company trust to linux potency and its plan to make development with linux. All LiPS member trust, with more increasing linux popularity at mobile market will improving industrial standard requirement to prevent forgery and ascertain interoperability from technology from different vendor.

keyword : Linux Phone Standards , PalmSource
 
Web www.linuxscience.blogspot.com

Tuesday, March 07, 2006

Firefox Web Browser


On 30 November 2005, Mozilla Corp. releasing Firefox 1.5. Among repair that happened in this newest version is auto update feature which will downloading security patches and other software updates and it is happen in background. Another feature is better blocking pop up, security and privacy improvement and faster ability to show and rendering web pages. You can download this new firefox in the sidebar of this pages (free download part)

 
Web www.linuxscience.blogspot.com

K Dekstop Environment 3.5

KDE project has release the newest free dekstop KDE version 3.5. Many enhanced feature and improve that makes KDE as the most complete free dekstop environment.Some renewal is : Konqueror as the second web browser that pass Acid2 CSS test, before Firefox and Internet Explorer; Konqueror now has support ad block feature, Superkaramba giving widgets which have better integrated and easy to installation for the dekstop usage now have been included in KDE; Kopete now support MSN and Yahoo ! Webcam, and KDE 3.5 adds edutainment moduls, Kgeography, Kanagram and blinKen.

keyword : KDE version 3.5, Kopete, Kgeography, Kanagram, blinKen, Superkaramba

 
Web www.linuxscience.blogspot.com

Nokia Launch OSS site

One the biggest phonecell producer, Nokia, which finally release Internet Tablet 770 that base on linux, also launch portal that arranging the project of open source software. and promoting the involvement of community in it. This portal is in http://opensource.nokia.com give feature about open source news from nokia and links that refer to all open source software project.In addition to its open source project, Nokia has contribute to open source industry project and community. Lately Nokia also join with Eclipse Foundation, main project that presenting mobile developer tools for java. Nokia also contribute to Linux kernel, various bluetooth project,etc.


keyword : nokia open source site, mobile developer tools

 
Web www.linuxscience.blogspot.com

Sunday, March 05, 2006

Linux Play a part in Microsoft Film

In early October 2005, Universal Pictures and Twentieth Century Fox announcing that Peter Jackson and his partner Fran Walsh will be the executive producer for film base on game for console Xbox, property of Microsoft. Reported that Weta Digital Company, Peter Jackson Owner, will undertake post production process. Weta Digital uses more than one thousand server IBM blade dual-processors that use Fedora as OS to produce effect for that Halo film . This film planned to release in the middle of 2007.

keyword : weta digital,fedora,IBM blade dual-processors
 
Web www.linuxscience.blogspot.com
Google menacing Microsoft

The most popular search engine,Google, in the early oktober 2005 declarate fight to Microsoft, by announcing to launch word-processing and spreadsheet software which free by online. To realize their goal, Google inviting Sun Microsystem so that every web consumer can access OpenOffice.org from anywhere in the world.Mouthpiece from Sun Microsystem Paul O'connor said that this cooperation is very big opportunity.
"Google is visited by almost 80 million web consumer in all the world," said Paul O'connor. He also tell that this coorporation will awaking traditional software company like Microsoft.In this time, most people have accustomed to pay for software packages, though finally which the true value in fact is service and content not which there are in the software.

keyword : openoffice,google news
 
Web www.linuxscience.blogspot.com
Networking and Firewall Software : IPCop 1.4.10


In the internet networking, all done activity cannot be safe 100 % from threat. For minimalize it you need firewall software. One of the best open source software with complete feature in linux is IPCop. With IPCop you can configure easily from web bases menu. Some feature in IPCop : IDS application to detect attack from outside into your network, VPN facility, optimal kernel configuration for security, etc. IPCop was bundled become a linux distro especially for Firewall. So for installation, setup an empty partition first. As one of free firewall, IPCop can become one of the firewall software that able to be used in your network.

keyword : ipcop, linux firewall software
 
Web www.linuxscience.blogspot.com

Saturday, March 04, 2006

VOIP feature on PhoneCell base on Linux

Trolltech has update Qtopia Phone platform for linux handsets, by enhancing a Client Voice Over IP (VOIP) dan better support for wireless messaging. Qtopia Phone 2.2 is first system base on linux for phone and handled wireless to support VOIP technology. This handled has including a VOIP open source application which using Session Initiation Protocol (SIP). First handsets with Qtopia Phone 2.2 there wiil be in China. Motorola also planning to intoduce their VOIP linux phone to European market after doing examination market in China.

keyword : VOIP Linux Phonecell , trolltech
 
Web www.linuxscience.blogspot.com
Insurance to Open Source Community

A brokerage from United State offering insurance to possibility face demand because using noncommercial software. R J Kiln & Co , a international insurance group, insuring policy which able to harm source open consumer till ten million dollar.
To all consumer will be replaced the loss if them forced have to desist to use open source code, all estimating of loss from an agreement commute for open source software and in some certain situation some expense from code commutation.

keyword : insurance open source community
 
Web www.linuxscience.blogspot.com
Hardisk Cloning On Linux

This article will show you a little trick how to make clon linux system into another computer.
First you must plugin empty hardisk to your computer with linux system and the next step is :
1. Login to linux with root user
2. Open terminal and type cat /dev/sda > /dev/sdb &
This command will copy all entire file on the system including the database.
Or with another command:
dd if=/dev/sda of=/dev/sdb &

Wow incredible isn't it ? So in linux cloning process doesn't need third party like Norton Ghost or another clone software.
But i wonder if this is an advantage or a weakness. The answer is depend to administrator that do not forget to lock server room or your company data will be steal by unconcerned party.

Ps : /dev/sda is source, /dev/sdb is destination

keyword : cloning linux,restore
 
Web www.linuxscience.blogspot.com

Thursday, March 02, 2006

Recovery Root Password

"Oh my god i forgot my root password. Help me."
If you are a Linux Administrator who manage many server, this is very big big problem.Stay calm and i will give you some tips how to fix this trouble.

Solution

1. Using Grub Loader
First step that you can use is add single parameter, when Grub menu show. Example when grub menu show press 'e', and you'll see this line :

title Fedora Core (2-6.11-1.1369_FC4)
root (hd0,0)
kernel /boot/vmlinuz-2.6-11-1.1369_FC4 ro root=LABEL=/1 rhgb quiet

initrd /boot/initrd-2.6.11-1.1369_FC4.img

After that menu show, add single word in the end of third row.
kernel /boot/vmlinuz-2.6-11-1.1369_FC4 ro root=LABEL=/1 rhgb quiet single
Press enter and then press 'b'. Wait for a moment and you will go to init 1 with root user. From that command prompt you can make a new password with passwd command.

2. Using Knoppix Live Cd
For using this way boot your computer with Knoppix Live CD. When first parameter show from knoppix, type option 'knoppix 2' to get in command prompt only.Mounting linux partition that you want to recover.Ex. Fedora Core partition is in /dev/hda1.

root@tty[/] # mount dev/hda1 /mnt/hda1
Then chroot to linux partition that you have mount.
root@tty[/] # chroot /mnt/hda1 /bin/bash --login
Now you have login as root user. The next step is make a new password with passwd command.
root@tty[/] # passwd
After all finish type exit and reboot your computer.

keyword:root password recovery, repair linux
 
Web www.linuxscience.blogspot.com