srijeda, 5. svibnja 2010.

Komodo installation

Konodo Edit - not the lizard, the editor - is as of late my favorite code editor under linux and windoze. (What, me uze windoze? Yes I am guilty of that too...) Exceptionally, I do all my C++ programming in VisualStudio and QtEditor, but for everything else, atm, there's Komodo.

Komodo doesn't exist in the repositories, so you can download your lynx version from their home site. Komodo Edit is freeware, while you'll have to pay some for Komodo IDE, but if you like it - it's worth it! :)

After unpacking it, just run sh ./install.sh from the appropriate folder; I leave the path as default but of course you can change it, and voila - it works!

Also, since it's something you use a LOT - 'cause you wouldn't be installing it if you didn't need it! - set it in your PATH, like this:
sudo ln -s "/home/myuser/Software/Komodo-Edit-5/bin/komodo" /usr/local/bin/komodo

phpmyadmin, apache2 and MySQL installation under Ubuntu (Smart Kitty)

Playing with new Lucid, gotta admit this little kitty is pi$$ing me off on various levels... I am also daring to touch kUbuntu (no I am NOT capitalizing that k until it proves itself worthy of it!!!), and it's screwing up with the sound...

ANYWAY, since I've been ridden with web app development (which is nowhere NEAR what I should be doing! ), I had a need to install apache, phpmyadmin and all the other nice stuffs required.

So let's beeegin! :)

To install all the required stuff, windoze has a nice little app called wamp. Since there's no wamp(ire) for ubuntu, we do it like they do it on discovery channel - text mode!

To install apache, mysql and phpmyadmin:
sudo apt-get install php5 mysql-server apache2 phpmyadmin

Don't forget to set up all the passwords and select apache as the default server for phpmyadmin. If you forgot to set apache as the server, you can fix it up by reconfiguring phpmyadmin:
sudo dpkg-reconfigure -plow phpmyadmin

That done, test the localhost and it should tell you IT WORKS! :)

However, phpmyadmin will probably mess with you, here's the quickfix to include the phpMyadmin-shipped Apache configuration into Apache:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

It should work once you restart the apache:
cd /usr/sbin/
sudo apache2ctl restart

And it should allll be up and running!