Archive for October, 2007

Create a Samba User

Oct 31, 2007 in Linux

Run the smbpasswd utility to create a samba password for the user.

sudo smbpasswd -a <username>

Wordpress from ubuntu repositories

Oct 30, 2007 in Linux, wordpress

install
sudo apt-get install wordpress
install
sudo apt-get install mysql-server-5.0

restart pc for idiots
restart

run
sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress blog.example.com

backup
sudo cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf.bak

run
sudo gedit /etc/apache2/apache2.conf

paste
########## Without using Virtual host, hosted off /blog
Alias /blog /usr/share/wordpress
<directory /usr/share/wordpress>
Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
</directory>

restart
sudo /etc/init.d/apache2 restart

run
sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress localhost

go to
http://localhost/blog (or your virtual host) and wordpress will walk you through the rest of the setup.

when all else fails goto (the answer will be clear)

sudo /etc/wordpress/config-localhost.php

also for reference

favicon

Oct 17, 2007 in html

Favicon for most browsers

<link href="favicon.ico" rel="icon" type="image/x-icon"></link>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon"></link>

Flash for Linux

Oct 01, 2007 in Linux

Flash for free! and only a 1.7mb download..

Some teething problems, as there is little in the way of documentation

if you get make problems.. try this before you continue

apt-get install qt3-dev-tools libqt3-mt-dev g++

to be continued!