Mono 2.0 Helps increase Cross-Platform Application Development

The latest version of Mono has been released Mono Version 2.0 of its open-source implementation of Microsoft’s .NET framework. Mono is runtime environment for Application and also helps as a kit for developers for writing applications with C and other Common Language Infrastructure languages developed by ECMA (European Computer Manufacturers Association)

Earlier Mono was only used for Linux Desktop application, but as it evolved the developers found that it could be used as a cross-platform environment for software developers.

monologolpg Mono 2.0 Helps increase Cross Platform Application Development

Miguel de Icaza, cofounder of the GNOME project said “We originally started to work on Mono because we wanted to make developers happier and more productive on Linux.” He also said “As the project matured, developers started taking advantage of Mono’s open-source nature” to essentially gain access to .NET on their own terms via “a platform that could be adapted, morphed, ported and modified to suit many different uses.”

net logo Mono 2.0 Helps increase Cross Platform Application Development

Mono 2.0 enables developers to make applications for Servers, Desktops as well as other Computing Devices while employing Microsoft-based environments. The application then developed can be used across multiple platforms which include, Linux, Solaris, Mac OS X, Windows, Nintendo’s Wii, and even the iPhone and iPod touch.

mac os x logo Mono 2.0 Helps increase Cross Platform Application Development

Mono has been used earlier to run code large clusters of servers for SecondLife. Mono is currently been used in portable MP3 players and also to power Unity3D’s game engine on the Apple iPhone and the Nintendo Wii.

Mono with its earlier version did not have a debugger which was its major disadvantage but now with Mono 2.0 that has been rectified as well.

Mono 2.0 also powers Moonlight — the Mono project’s open-source implementation of Silverlight — as well as a popular social-collaboration tool called DekiWiki. Mono 2.0 also provides developers with .NET APIs for developing Web-based applications, manipulating XML documents, and accessing databases.

With the help of onboard Mono Linker which helps to remove features from libraries using an XML definition of the desired public API developers will be able to reduce the size of executable files and libraries.

Mono now also helps integrate tools for producing online and offline documentation for any API.

Mono is also going to have a new migration analysis tool which will enable Windows developers in porting applications to UNIX. It also integrates the Gendarme code analyzer which is a rule-based tool for tracking down problems in .NET applications and libraries.

Icaza explained how Gendarme works, he said “Gendarme inspects programs and libraries that contain code in ECMA CIL format (Mono and .NET) and looks for common problems with the code — problems that compilers do not typically check or have not historically checked.”

Posted under Latest News, Linux Hosting

This post was written by Brad on October 12, 2008

Tags: .NET, cross-platform environment, DekiWiki, developers, Gendarme, linux.open source, Mono 2.0, Mono Project, Nintendo Wii, unix

How to configure Apache server on LINUX.

How to configure Apache server and run your own website on LINUX.

(Configure the /etc/httpd/conf/httpd.conf file)

Login into sell and follow the commands which will surely help you to understand how a website works on Apache.

apache logo How to configure Apache server on LINUX. linux logo 250x300 How to configure Apache server on LINUX.

First we have to get Apache installed on Linux Server.

#yum -y install httpd

Here httpd is the Daemon responsible to install Apache.

We can check if Apache has successfully installed on server by

#rpm -qa httpd

If it is installed properly start the httpd service on server

#service httpd start

To manage the Linux Servers cPanel is the most popular application s/w widely used these days. So we prefer to configure the Web server as configuration followed by cPanel but we do this manually by shell

Create a user under home directory

#cd /

#cd home/

#userad Waltz

Now we have to create a directory which stores WebPages under a user

#cd Waltz

#mkdir public_html

Now create a index.html test page under your web directory public_html

#touch index.html

Put some html codes that you want to display as webpage.

#vi index.html

Once vi editor is opened press “i” (keyboard key) to come into insert mode and write following html codes

<html>
<head>
<title>Testing</title>
</head>
<body>
<p>This is my website</p>
</body>
</html>

Now we have created a test page which has following path

/home/waltz/public_html/index.html

This is the path which we have to set into httpd.conf file which is known as setting of Document Root

#vi /etc/httpd/conf/httpd.conf

<VirtualHost “your ip address “:80>
ServerName your servername
DocumentRoot “/home/waltz/public_html”
</VirtualHost>

Most importantly we have to set UserDir to Public_html

Now restart httpd service

#service httpd restart

Until the domain is registered, you can access this site by ipaddress.

Put http://ip/~Waltz into your browser

You will surly get forbidden page or permission error.  To trouble shoot it set following permissions

#chmod 771 waltz
#chmod 750 public_html
and 644 to the index.html

Set the ownership of public_html as follows

#chown waltz:nobody public_html

Now access your website

Posted under Linux Hosting

This post was written by Waltz on October 3, 2008

Tags: Apache, Apache server, cPanel, httpd server, Linux