Professional Documents
Culture Documents
04 Starter Guide
Translations: English
Please consider donating to help the support and the improvement of this documentation. Thank you :)
Disclaimer
Copyright (C) 2004-2005 Chua Wen Kiat.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
General Notes
1. This is an Unofficial Ubuntu 5.04 Starter Guide. It is not associated with Ubuntu and Canonical Ltd.
2. Guide is tested on a full installation of the Ubuntu 5.04 x86 Install CD (Hoary Hedgehog)
3. If you see black box, means you have to execute the commands in Terminal mode (Applications -> System Tools -> Terminal)
4. To reduce typo mistakes, copy and paste the commands into Terminal mode (right click on the commands -> "Copy" or "Paste")
5. "sudo" means superuser do. "sudo" will prompt for "Password:". Please specify user password
6. If you are tired of typing "sudo" all the time, switch to root user by issuing "sudo -s -H" followed by user password
http://www.ubuntuguide.org/ (1 of 67)5/3/2005 7:05:16 AM
Unofficial Ubuntu 5.04 Starter Guide
7. "apt-get" and "wget" requires Internet connection to install / update / download programs
8. To download file, right click on the link -> Select "Save Link As..." -> Make sure file name and extension are correct
9. For any feedbacks, suggestions, discussions and bugs report to the author, please post comments: Here
10. May the "humanity to others" spirit be with you always...
Topics
Getting Started
1. What is Ubuntu?
2. Where to view Ubuntu screenshots?
3. Where to find a list of all the programs/libraries that comes with Ubuntu?
4. Where to download Ubuntu?
5. Where to order Ubuntu CDs for absolutely FREE?
6. Where to find help for Ubuntu?
Getting UbuntuGuide
Repositories
Ubuntu Updates
Add-On Applications
5. How to install PDF Reader (Adobe Reader) with Plug-in for Mozilla Firefox?
6. How to install Download Manager (Downloader for X)?
7. How to install FTP Client (gFTP)?
8. How to install P2P BitTorrent Client (Azureus)?
9. How to install P2P eMule Client (aMule)?
10. How to install P2P Gnutella Client (LimeWire)?
11. How to install Messenger (Skype)?
12. How to install WinPopup (LinPopUp)?
13. How to install Multimedia Codecs?
14. How to install DVD playback capability?
15. How to install Multimedia Player (xine-ui)?
16. How to install Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox?
17. How to install Multimedia Player (XMMS)?
18. How to install Multimedia Player (RealPlayer)?
19. How to install Stream Directory Browser (streamtuner)?
20. How to install Video Editor (Kino)?
21. How to install Audio Editor (Audacity)?
22. How to install DVD Ripper (dvd::rip)?
23. How to install Email Client (Mozilla Thunderbird)?
24. How to install Newsreader (Pan)?
25. How to install RSS/RDF/Atom Newsreader (RSSOwl)?
26. How to install Web Authoring System (Nvu)?
27. How to install Project Management Application (Planner)?
28. How to install Desktop Publishing Application (Scribus)?
29. How to install CD/DVD Burning Software (GnomeBaker)?
30. How to install Partition Editor (GParted)?
31. How to install Firewall (Firestarter)?
32. How to install RAR Archiver (rar)?
33. How to install Extra Fonts?
34. How to install Chinese Input Method (SCIM)?
35. How to install Game (Frozen-Bubble)?
36. How to install Basic Compilers (build-essential)?
Commercial Applications
Hardware
Networking
Windows
1. How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only?
2. How to mount/unmount Windows partitions (FAT) manually, and allow all users to read/write?
3. How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only?
4. How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write?
Users Administration
Security
1. What are the basic things I need to know about securing my Ubuntu?
2. How to disable all interactive editing control for GRUB menu?
3. How to disable history listing in Console mode?
4. How to disable Ctrl+Alt+Del from restarting computer in Console mode?
5. How to enable prompt before removal/overwritten of files/folders in Console mode?
Rescue Mode
AntiVirus Server
Samba Server
SSH Server
DHCP Server
Database Server
1. How to install Apache HTTP Server for HTTP (Web) Server service?
2. How to install PHP for Apache HTTP Server?
3. How to install MYSQL for Apache HTTP Server?
4. How to map URLs to folders outside /var/www/?
5. How to change the default port number for Apache HTTP Server?
6. How to browse the changed port number for Apache HTTP Server in Mozilla Firefox?
Troubleshooting
Getting Started
Q: What is Ubuntu?
1. http://www.ubuntulinux.org/ubuntu
1. http://shots.osdir.com/slideshows/slideshow.php?release=305&slide=1
Q: Where to find a list of all the programs/libraries that comes with Ubuntu?
1. http://www.ubuntulinux.org/download
1. http://shipit.ubuntulinux.org
1. Mailing Lists
2. Web Forums
3. IRC Channel
Getting UbuntuGuide
2. wget -c http://ubuntuguide.org/ubuntu5.04.tar.gz
tar zxvf ubuntu5.04.tar.gz
1. http://ubuntuguide.org/add-on-cd
Repositories
...
## Uncomment the following two lines to fetch updated software from the network
# deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
# deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://us.archive.ubuntu.com/ubuntu hoary universe
# deb-src http://us.archive.ubuntu.com/ubuntu hoary universe
## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe
mkdir -p $HOME/backup/var/lib/
sudo cp -R /var/lib/apt/ $HOME/backup/var/lib/
mkdir -p $HOME/backup/var/cache/
sudo cp -R /var/cache/apt/ $HOME/backup/var/cache/
mkdir -p $HOME/backup/etc/apt
sudo cp -R /etc/apt/ $HOME/backup/etc/
sudo chown -R $USER $HOME/backup/
Ubuntu Updates
Add-On Applications
2. wget -c http://frankandjacq.com/ubuntuguide/smeg_0.5-0ubuntu1_all.deb
sudo dpkg -i smeg_0.5-0ubuntu1_all.deb
2. wget -c http://frankandjacq.com/ubuntuguide/gnome-clipboard-daemon-1.0.bin.tar.bz2
sudo tar jxvf gnome-clipboard-daemon-1.0.bin.tar.bz2 -C /usr/bin/
sudo chown root:root /usr/bin/gnome-clipboard-daemon
sudo chmod 755 /usr/bin/gnome-clipboard-daemon
sudo gnome-clipboard-daemon &
Q: How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox?
2. wget -c http://frankandjacq.com/ubuntuguide/jre-1_5_0_03-linux-i586.bin
sh jre-1_5_0_03-linux-i586.bin
sudo mkdir /usr/java
sudo mv jre1.5.0_03/ /usr/java/
sudo chown -R root:root /usr/java/jre1.5.0_03/
sudo ln -s /usr/java/jre1.5.0_03/bin/java /usr/bin/java
sudo ln -s /usr/java/jre1.5.0_03/bin/java_vm /usr/bin/java_vm
sudo ln -s /usr/java/jre1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
sudo ln -s /usr/java/jre1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/
java -version
Q: How to install Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox?
Q: How to install PDF Reader (Adobe Reader) with Plug-in for Mozilla Firefox?
3. wget -c http://frankandjacq.com/ubuntuguide/Azureus_2.2.0.2_linux.GTK.tar.bz2
http://www.ubuntuguide.org/ (13 of 67)5/3/2005 7:05:16 AM
Unofficial Ubuntu 5.04 Starter Guide
wget -c http://frankandjacq.com/ubuntuguide/Azureus2.3.0.0.jar
sudo tar jxvf Azureus_2.2.0.2_linux.GTK.tar.bz2 -C /opt/
sudo cp Azureus2.3.0.0.jar /opt/azureus/
sudo chown -R root:root /opt/azureus/
sudo gedit /usr/share/applications/Azureus.desktop
[Desktop Entry]
Name=Azureus
Comment=Azureus
Exec=/opt/azureus/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;
3. wget -c http://frankandjacq.com/ubuntuguide/LimeWireSoftOther.zip
sudo unzip LimeWireSoftOther.zip -d /opt/
sudo chown -R root:root /opt/LimeWire/
sudo gedit /usr/bin/runLime.sh
cd /opt/LimeWire/
./runLime.sh
[Desktop Entry]
Name=LimeWire
Comment=LimeWire
Exec=runLime.sh
Icon=/opt/LimeWire/LimeWire.ico
Terminal=false
Type=Application
Categories=Application;Network;
[Desktop Entry]
Name=LinPopUp
Comment=LinPopUp
Exec=linpopup
Icon=/usr/share/pixmaps/linpopup.xpm
Terminal=false
Type=Application
Categories=Application;Utility;
Q: How to install Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox?
2. wget -c http://frankandjacq.com/ubuntuguide/realplay-10.0.4.750-linux-2.2-libc6-gcc32-i586.bin
chmod +x realplay-10.0.4.750-linux-2.2-libc6-gcc32-i586.bin
sudo ./realplay-10.0.4.750-linux-2.2-libc6-gcc32-i586.bin
...
Enter the complete path to the directory where you want
RealPlayer to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/home/chua/RealPlayer]: /opt/RealPlayer
[Desktop Entry]
Name=dvd::rip
Comment=dvd::rip
Exec=dvdrip
Icon=
http://www.ubuntuguide.org/ (18 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
Terminal=false
Type=Application
Categories=Application;AudioVideo;
3. wget -c http://frankandjacq.com/ubuntuguide/rssowl_linux_1_1_bin.tar.gz
sudo tar zxvf rssowl_linux_1_1_bin.tar.gz -C /opt/
sudo chown -R root:root /opt/rssowl_linux_1_1_bin/
sudo gedit /usr/bin/runRSSOwl.sh
cd /opt/rssowl_linux_1_1_bin/
./run.sh
[Desktop Entry]
Name=RSSOwl
Comment=RSSOwl
Exec=runRSSOwl.sh
Icon=/opt/rssowl_linux_1_1_bin/rssowl.xpm
Terminal=false
Type=Application
Categories=Application;Network;
2. wget -c http://frankandjacq.com/ubuntuguide/nvu-1.0PR-pc-linux2.6.10-gnu.tar.bz2
sudo tar jxvf nvu-1.0PR-pc-linux2.6.10-gnu.tar.bz2 -C /opt/
sudo chown -R root:root /opt/nvu-1.0PR/
sudo gedit /usr/share/applications/Nvu.desktop
[Desktop Entry]
Name=Nvu
Comment=Nvu
Exec=/opt/nvu-1.0PR/nvu
Icon=/opt/nvu-1.0PR/icons/mozicon50.xpm
Terminal=false
Type=Application
Categories=Application;Office;
Commercial Applications
1. http://www.win4lin.com
1. http://www.codeweavers.com
1. http://www.transgaming.com
Hardware
[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;
...
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
BusID "PCI:1:0:0"
...
Option "NoLogo"
2. wget -c http://frankandjacq.com/ubuntuguide/scanModem.gz
gunzip -c scanModem.gz > scanModem
chmod +x scanModem
sudo ./scanModem
gedit Modem/ModemData.txt
2. sudo fdisk -l
2. df -T -h
2. mount
2. lspci
2. lsusb
Q: How to mount/unmount CD/DVD-ROM manually, and show all hidden and associated files/folders?
4. To unmount CD/DVD-ROM
2. sudo mount -a
Networking
http://www.ubuntuguide.org/ (26 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
General Tab -> Host Settings -> Hostname: Specify the computer name
...
http://www.ubuntuguide.org/ (27 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
7. sudo testparm
sudo /etc/init.d/samba restart
...
workgroup = MSHOME
...
workgroup = new_domain_or_workgroup
7. sudo testparm
sudo /etc/init.d/samba restart
smb://192.168.0.1/linux
Q: How to mount/unmount network folders manually, and allow all users to read?
Q: How to mount/unmount network folders manually, and allow all users to read/write?
Q: How to mount network folders on boot-up, and allow all users to read?
username=myusername
password=mypassword
Q: How to mount network folders on boot-up, and allow all users to read/write?
username=myusername
password=mypassword
2. wget -c http://frankandjacq.com/ubuntuguide/rp-pppoe-3.5.tar.gz
sudo tar zxvf rp-pppoe-3.5.tar.gz -C /opt/
sudo chown -R root:root /opt/rp-pppoe-3.5/
sudo gedit /usr/share/applications/RP-PPPoE.desktop
[Desktop Entry]
Name=RP-PPPoE
Comment=RP-PPPoE
Exec=gksudo /opt/rp-pppoe-3.5/go-gui
Icon=
Terminal=false
Type=Application
Categories=Application;System;
Windows
Q: How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only?
Q: How to mount/unmount Windows partitions (FAT) manually, and allow all users to read/write?
Q: How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only?
http://www.ubuntuguide.org/ (32 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
Q: How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write?
Users Administration
Security Tab -> Options -> Allow root to login with GDM (Checked)
2. sudo -s -H
Password: <specify user password>
...
system_username ALL=(ALL) ALL
...
2. sudo -K
Security
Q: What are the basic things I need to know about securing my Ubuntu?
1. To prevent trespassers from cracking password file using brute force attacks (e.g. John the Ripper)
2. Create password with minimum length of 8 characters
3. Create password with mixture of characters/numbers, and upper/lower case
6. Ensure interactive editing control for GRUB menu is disabled
1. To prevent trespassers from modifying kernel boot-up arguments which allows them to have root user access
2. Read How to disable all interactive editing control for GRUB menu?
7. Ensure history listing is disabled in Console mode
1. To prevent trespassers from seeing previously issued commands
2. Read How to disable history listing in Console mode?
8. Ensure Ctrl+Alt+Del is disabled in Console mode
1. To prevent trespassers from restarting the system without permission in Console mode
2. Read How to disable Ctrl+Alt+Del from restarting computer in Console mode?
9. Ensure interactive option is set for remove, copy and move of files/folders in Console mode
1. To prevent accidental removal/overwritten of files/folders
2. Read How to enable prompt before removal/overwritten of files/folders in Console mode?
10. For day to day usage, login as a normal user
1. To prevent accidental deletion/modification of system files/folders
2. Read How to add/edit/delete system users?
11. Disable root user account, use "sudo" instead
1. To reduce the amount of time spent with root privileges, and thus the risk of inadvertently executing a command as root
2. "sudo" provides a more useful audit trail (/var/log/auth.log)
3. Read How to disable root user account?
12. Install a Firewall
1. A firewall does not guarantee security but it is in most environments the first line of defense against network based attacks
2. Read How to install Firewall (Firestarter)?
2. grub
grub> md5crypt
Password: ****** (ubuntu)
Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password)
grub> quit
...
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
...
...
title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot
...
2. rm $HOME/.bash_history
touch $HOME/.bash_history
chmod 000 $HOME/.bash_history
...
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
...
http://www.ubuntuguide.org/ (38 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
6. sudo telinit q
Rescue Mode
boot: rescue
# passwd root
# passwd system_main_username
2. grub
grub> md5crypt
Password: ****** (ubuntu)
Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password)
grub> quit
...
password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
...
4. # grub-install /dev/hda
chainloader +1
...
exit 0
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
2. killall gnome-panel
Views Tab -> Default View -> Show hidden and backup files (Checked)
Mail Reader Tab -> Default Mail Reader -> Command: mozilla-thunderbird %s
Filter: ->
network.dns.disableIPv6 -> true
network.http.pipelining -> true
network.http.pipelining.maxrequests -> 8
network.http.proxy.pipelining -> true
Q: How to disable beep sound for link find function in Mozilla Firefox?
Select "package_name"
Select "package_name"
2. wget -c http://frankandjacq.com/ubuntuguide/mvb_1.6.tgz
sudo tar zxvf mvb_1.6.tgz -C /usr/
sudo chown -R root:root /usr/mvb_1.6/
sudo ln -s /usr/mvb_1.6/mvb /usr/bin/mvb
mvb -h
3. md5sum -c file.iso.md5
...
#hiddenmenu
...
hiddenmenu
...
timeout 3
...
timeout X_seconds
...
default 0
...
default X_sequence
AntiVirus Server
3. sudo freshclam
Samba Server
2. smbpasswd -a system_username
sudo gedit /etc/samba/smbusers
...
; security = user
...
security = user
username map = /etc/samba/smbusers
http://www.ubuntuguide.org/ (51 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
8. sudo testparm
sudo /etc/init.d/samba restart
...
; security = user
...
security = user
username map = /etc/samba/smbusers
...
# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
writable = no
...
...
; security = user
...
security = user
username map = /etc/samba/smbusers
[Group]
comment = Group Folder
path = /home/group
public = yes
writable = no
valid users = system_username1 system_username2
create mask = 0700
directory mask = 0700
force user = nobody
force group = nogroup
9. sudo testparm
sudo /etc/init.d/samba restart
...
; security = user
...
security = user
username map = /etc/samba/smbusers
[Group]
comment = Group Folder
path = /home/group
public = yes
writable = yes
valid users = system_username1 system_username2
create mask = 0700
directory mask = 0700
force user = nobody
force group = nogroup
9. sudo testparm
sudo /etc/init.d/samba restart
...
; security = user
...
security = user
username map = /etc/samba/smbusers
[public]
comment = Public Folder
path = /home/public
public = yes
writable = no
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
9. sudo testparm
sudo /etc/init.d/samba restart
...
; security = user
...
security = user
username map = /etc/samba/smbusers
[public]
comment = Public Folder
path = /home/public
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
http://www.ubuntuguide.org/ (55 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
9. sudo testparm
sudo /etc/init.d/samba restart
...
; security = user
...
security = share
[public]
comment = Public Folder
path = /home/public
public = yes
writable = no
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
8. sudo testparm
sudo /etc/init.d/samba restart
...
; security = user
...
security = share
[public]
comment = Public Folder
path = /home/public
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
8. sudo testparm
sudo /etc/init.d/samba restart
SSH Server
3. ssh username@192.168.0.1
Q: How to copy files/folders from remote Ubuntu machine into local machine (scp)?
3. scp -r username@192.168.0.1:/home/username/remotefile.txt .
Q: How to copy files/folders from local machine into remote Ubuntu machine (scp)?
Q: How to copy files/folders from remote Ubuntu machine into local machine (rsync)?
Q: How to copy files/folders from local machine into remote Ubuntu machine (rsync)?
Q: How to copy files/folders from/into remote Ubuntu machine via Windows machine?
DHCP Server
Domains: tm.net.my
Gateway Address: 192.168.0.1
...
INTERFACES=""
INTERFACES="eth0"
...
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
...
#default-lease-time 600;
#max-lease-time 7200;
...
# A slightly different configuration for an internal subnet.
#subnet 10.5.5.0 netmask 255.255.255.224 {
# range 10.5.5.26 10.5.5.30;
# option domain-name-servers ns1.internal.example.org;
# option domain-name "internal.example.org";
# option routers 10.5.5.1;
# option broadcast-address 10.5.5.31;
# default-lease-time 600;
http://www.ubuntuguide.org/ (60 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
# max-lease-time 7200;
#}
...
Database Server
[Desktop Entry]
Name=MySQLCC
Comment=MySQLCC
Exec=mysqlcc
Icon=/usr/share/pixmaps/mysqlcc.xpm
Terminal=false
Type=Application
Categories=Application;System;
Q: How to install Apache HTTP Server for HTTP (Web) Server service?
4. http://localhost
<Directory /location_of_folder/>
Order allow,deny
Allow from all
</Directory>
7. http://localhost/URL-path
Q: How to change the default port number for Apache HTTP Server?
Listen 80
http://www.ubuntuguide.org/ (63 of 67)5/3/2005 7:05:17 AM
Unofficial Ubuntu 5.04 Starter Guide
Listen 79
9. http://localhost:79
Q: How to browse the changed port number for Apache HTTP Server in Mozilla Firefox?
...
// If there is ever a security firedrill that requires
// us to block certian ports global, this is the pref
// to use. Is is a comma delimited list of port numbers
// for example:
// pref("network.security.ports.banned", "1,2,3,4,5");
// prevents necko connecting to ports 1-5 unless the protocol
// overrides.
...
pref("network.security.ports.banned.override", "79");
Troubleshooting
...
UTC=yes
...
UTC=no
...
auto_spawn=0
spawn_options=-terminate -nobeeps -as 5
...
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d default
pcm.card0 {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}
2. rm -fr $HOME/.config/menus/applications.menu