Posts Tagged ‘Eclipse’

How to: Install WordPress, xampp for Linux, PHPEclipse and Eclipse

Tuesday, March 10th, 2009

It’s rather difficult to find a good tutorial when installing the aforementioned web dev tools on a Linux System. More over, when one is using Fedora as base system. Although I’m not really sure with the Fedora-thing yet. I just find it mind boggling why it took me 2 weeks to solve my own problem and so glad that I did on my own.

Now, let’s continue with the procedures. Most of you might be aware of the 3-easy steps with installing WordPress, but of course, it’s not just what I needed to achieve my goal. Therefore, I decided to use Eclipse 3.4 Ganymede with PHPEclipse Plugin and xampp for Linux.

First, download Eclipse for Linux and extract anywhere you want to.

Second, download PHPEclipse for Linux (as well), extract, and copy plugins folder’s contents in to Eclipse’s plugins.

Third, grab a copy of xampp for linux and extract it in /opt.

root@localhost ~]# tar xvzf xampp*.tar.gz /opt

Fourth, since /opt directory is a hands-off area for ordinary users, we’ll make it usable for our account by:

root@localhost opt]# chmod -R 775 lampp

Fifth, open Eclipse and choose workspace as: /opt/lampp/htdocs

Sixth, create a php project in Eclipse

Seventh, download the latest copy of wordpress and extract anywhere you want to (yeah, anywhere).

Eighth, to copy wordpress files in to your php project, just select all and drag and drop in your php project in Eclipse (you can actually extract wordpress files first /opt/lampp/htdocs and refresh your php project instead).

Ninth, start lampp

root@localhost opt]# ./lampp start

Tenth, check if xampp installation is working properly by going to http://localhost on your browser

Eleventh, let’s create our wordpress database and user by going to: http://localhost/phpmyadmin and grant all privileges to the newly created account.

Twelfth, edit file wp-config-sample.php in Eclipse and rename to wp-config.php. Change database user accounts based on what we previously created in phpmyadmin.

Thirteenth, let’s install wordpress by: http://localhost/myphpproject/wp-config.php and create our local wordpress blog.

Fourteenth, we’re done!!

Whew! That’s basically it. You might find it lazy for using /opt/lampp/htdocs as workspace but I’ve been thru too much on trying other things and this is the easiest way by far. Hope you find it useful like I do. Happy blogging!!

Maestro Project Server

Saturday, February 7th, 2009

In order to perform Project Management across our department, we had to do some tests on Maestro Project Server combining Apache Maven, Apache Continuum and Apache Archiva.

I suggested to try it out on my linux test box running on Fedora Core 6 and Apache httpd 2.

Maestro requires openssl, modssl and Apache httpd. And to complete the project server’s configurations, creating test certificates and keys were done by yours truly. So far, the initial setup was a success and we’re off to the next step. That is, accessing Maestro via Eclipse IDE and integration of Subversion Control System and Maestro.

That’s all for now.

Eclipse and NetBeans

Tuesday, December 9th, 2008

EclipseI’ve not much reason to dislike Netbeans but I had a change of heart when I was introduced to Eclipse. Eclipse IDE might have a huge application folder size but it has distributions that come with whichever plugin a developer needs. Therefore, a simple Eclipse IDE can not only be set up to a desired development environment.

All I’m saying is Eclipse has a wide variety of distributions. From the original Eclipse by eclipse.org aEasy Eclipselongside with Eclipse Europa and Eclipse Ganymede to EasyEclipse by easyeclipse.org thus, making it a lite IDE in selected situations.

This IDE can be pretty straightforward. And it depends on one’s preferences on which technology to use. But in any case, Eclipse has smaller footprint if compared to NetBeans.

Aside from that, you can have multiple Eclipse IDEs’s in a single system. With either multiple or single workspace. If you’ll ask me to describe it, it’s flexible.

NetBeansNetBeans on the other hand, can rather be more user friendly. No wonder why it is highly recommended for newbies’ use. Yet, it uses up a larger hard disk space upon installation.

Like Eclipse, NetBeans supports multiple technologies and frameworks and by this, its drawback is huge footprint.

In the end, a developer is at liberty to choose which IDE to use. It just so happened that my preference is Eclipse. How about you, which do you prefer?

Change Splash Screen in Eclipse IDE

Thursday, December 4th, 2008

I just wanted to have fun while launching Eclipse. You can call it an eensy weensy motivation. Still, it uplifts the spirit. I changed my Eclipse’s splash screen from this:

Eclipse1

to this:

Eclipse2

splash screen image can be found in: Eclipse\plugins\org.eclipse.platform_3.x.x

Thanks to Pink-Sandbox.com for the idea. hehe

installing lomboz plugin for eclipse 3.2

Tuesday, June 26th, 2007

1] in eclipse, go to help>software updates>find and install
2] select “search for new features to install”. click “next”.
3] click on “new remote site”. enter “Lomboz Update Site” in name field and “http://lomboz.objectweb.org/update-site/v3.2/” in URL field. click “ok”.
4] you will see two items (lomboz and eclipse updates). check both. click “next”.
5] 3 items will be displayed: Callisto Discovery Site, Lomboz Update Site and Eclipse Project Updates. Click on Lomboz’ check box and click “Select required”. default choices will be automatically selected. Click “finish”.

enjoy using lomboz, one hell of a plugin, i say.