Friday, October 26, 2012

Phpmyadmin not running



Had to edit 
/etc/apache2/apache2.conf


Include /etc/phpmyadmin/apache.conf

then restarted then it worked
sudo /etc/init.d/apache2 restart

Thursday, October 25, 2012

tasksel: aptitude failed (100) on virtual LM13

sudo apt-get update
sudo dpkg --configure -a

then repeating

sudo tasksel install lamp-server

did the trick for me

Vmware

Had to duplicate my workspace in the office.  Unfortunately I don't have a spare laptop to install linux.  So current using a virtual one.

First attempt resulted to a linux mint without cinnamon.  It looked just like good old gnome. But I didn't want that. It also took awhile because I was connected to the internet and the installer decided to download some language packs.

So on the 2nd run, I remembered to check "allow 3d acceleration" and I increased memory allocation to 2gb.

It worked. Cinnamon desktop installed.

Friday, October 19, 2012

Apache2 default directory in Linux mint 13

Note : installed via tasksel (LAMP server)

Changed existing directory to my /home/www directory
at /etc/apache2/sites-available/default

From Ubuntu 12.04 to Linux Mint Cinnamon 13

Well, I have been using Ubuntu 12.04 for the past few days but I started to get annoyed with the Unity interface. 

Where is my traditional desktop with small icons????

So I decided to give Linux Mint a chance and YES, I am very happy with the Cinnamon interface.


Did have a few problems after installation.  Couldn't get apt-get to work but I could surf the web.

I found out that my /etc/resolv.conf did not exist

So I made one and entered the google nameservers

nameserver 8.8.8.8
nameserver 8.8.4.4

So far so good

Rapidsvn

Figured out how to use rapidsvn with my current database project using xataface. Just remember to point to the repository and checkout to your working directory

Defining Enum() in mysql workbench

Similar to what you need to do if using phpmyadmin

e.g.

ENUM('a','b')  but when defining the default value, you still need to use '' in mysqlWB

Reviving this blog

Decided to revive this blog to help me just remember some of the things I figured out and would need help remembering :)