Archive for the 'Linux' Category

Install PhpGedView 4.1.2

Aug 22, 2008 in Linux, Webdev, php

Install from Ubuntu repository
sudo apt-get install phpgedview

Configure PhpGedView with MySQL
sudo gedit /etc/phpgedview/config.php

$DBTYPE = "mysql";
$DBHOST = "localhost";
$DBUSER = "phpgedview_my_family";
$DBPASS = "password_for_dbuser";
$DBNAME = "phpgedview_my_family";

Setup virtual host
sudo gedit /etc/apache2/apache2.conf

Alias /gedview /usr/share/phpgedview/www
<directory /usr/share/phpgedview/www>
Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
</directory>

Restart Apache
sudo /etc/init.d/apache2 restart

Ubuntu 8.04 repository bug: Fails to install the root .js files, copy these scripts to /usr/share/phpgedview/www

symbolic links

Dec 05, 2007 in Linux

ln -s [TARGET DIRECTORY OR FILE] ./[SHORTCUT]

Example
ln -s /usr/local/apache/logs ./logs

Unlink
unlink logs

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

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!