Increasing Gallery2 upload size limit…

If you are using Gallery2 and you get a error stating the upload size limit being too large. This is not a Gallery2 limitation but a php limitation.

To modify the limitation limit of two megabyte to e.g. ten megabyte limit is as simple as just changing the php.ini file.

The administrator just needs to change the two variables in the php.ini file.

Under debian the php.ini file is located in the following area

# cd /etc/php5/apache2/

# vi php.ini

The following variables need to be changed post_max_size and upload_max_filesize.

Change the values to the following

post_max_size 10M
upload_max_filesize 10M

Also remember to restart apache2 for the changes to take effect.

The following command is needed to restart apache.

# /etc/init.d/apache2 restart

Mounting Smb Shares in Mac OS X…

To quickly mount a network share. As in a samba or windows share. Open a terminal and type:

# mount -t smbfs //[email protected]/sharename share

The mounted directory can be found in the finder application under the shared machines.

To have the machine share show as a icon on the desktop, you need a create a share directory within the root directory on your disk.

Macbook Pro Saga…

Well it seems that the western digital hard disk saga for the macbook will not arrive for several weeks. So instead i recieved a seagate 320gb 7200rpm 2.5″ laptop hard disk. Now it is time to time machine the hard disk, and restore the conents from the tme machine disk to the new large insternal storage unit.

I have allocated a old 200gb hard disk, split into two 100gb partitions. The first partition is the time machine partition for backing up the internal macbook pro hard disk. The second partition I have allocated as a file repositorie for mac software.

So far I have no issues with the Macbook Pro. I just need to get myself more proficient with Mac OS X.