Ubuntu Notes 
Friday, October 27, 2006, 12:05 PM
File Sharing
How To's
MythTV install
Samba - Connecting from Windows 98 - Needed to setup an id in samba that matched the id used to login to windows 98
- sudo smbpassword -a password
- then sudo /etc/int.d/samba restart
Remote control Ubuntu from Windows

Installing JRE - Need to update the sources.list first.
sources.list generator

Installing galleon.tv

To run the gui.sh, make sure the correct JVM binaries are ahead of ubuntu's in the path:
PATH=/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/bin:$PATH

How To Mounts mbfs Shares Permanently

Shut down linux from terminal
* REBOOT: sudo shutdown -r now
* SHUTDOWN: sudo shutdown -h now

Running MediaWiki on Ubuntu

ubuntu directory structure

Apache directory location

==Get hello world webpage to work on Apache 2 under umbuntu==

# change directory to: /var/www$
# Set security: sudo chmod 755 *
# Create html file: sudo vi index.html
# put vi in insert mode: i
# Paste into file using terminal: <html><body>hello world</body></html>
# exit insert mode: esc
# save and exit vi: :wq
# restart apache
## Change to directory: /usr/sbin
## Restart: sudo apache2ctl -k restart

Sources:
* http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch20_:_The_Apache_Web_Server



==Apache Stop, Start, Restart==

/usr/sbin$ sudo apache2ctl -k restart
/usr/sbin$ sudo apache2ctl -k stop
/usr/sbin$ sudo apache2ctl -k start


==mySQL==

# Display DB status, make sure it is running: /usr/bin$ sudo mysqladmin status
# connect to command window: default@linux:/usr/bin$ mysql -u root