wiki:UsersGuideEn

Parsix GNU/Linux User's Guide

Revision 1.4.2 (Last updated on Feb 13 2009)

Author: Mehdi Hasanpour
Fixes and Additions: Alan Baghumian, Ali Yousefi

This document is based on Ubuntu User's Guide.

Disclaimer

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. Guide is tested on a full installation of the Parsix GNU/Linux 2.0-TEST1 (codename: BOSS).

  2. If you see black box, means you have to execute the commands in Terminal mode (Applications -> Accessories -> Terminal).

  3. To reduce typo mistakes, copy and paste the commands into Terminal mode (right click on the commands -> "Copy" or "Paste").

  4. If you are tired of typing "apt-get" all the time, Read How to apt-get the easy way (Synaptic)?

  5. "apt-get" and "wget" requires Internet connection to install/update/download programs.

  6. Commands starting with a $ charachter indicate that need to be typed as a normal user and commands starting with # charachter indicate that need to be typed as root user.

  7. To download file, right click on the link -> Select "Save Link As..." -> Make sure file name and extension are correct.

  8. For any feedbacks, suggestions, discussions and bugs report to the author, please send email to docs AT parsix DOT org.

  9. This page is optimized to be used with the FreeFarsi font. This font comes with Parsix GNU/Linux CD-ROM.


Topics


Getting Started

  1. What's Parsix GNU/Linux?

  2. Where to view Parsix GNU/Linux screenshots?

  3. Where to find a list of all the programs/libraries that comes with Parsix GNU/Linux?

  4. Where to download Parsix GNU/Linux?

  5. Where to order Parsix GNU/Linux CDs?

  6. Where to find Parsix GNU/Linux Documentation?

  7. What's Parsix GNU/Linux's user and root passwords in live mode?

  8. Where to report Parsix GNU/Linux Bugs?

Getting Parsix GNU/Linux User's Guide

  1. Where to download this entire Parsix GNU/Linux guide?

Repositories

  1. How to add extra repositories?

  2. How to backup/restore downloaded repositories cache?

Parsix GNU/Linux Updates

  1. How to manually update Parsix GNU/Linux?

Add-On Applications

  1. How to install extra multimedia codecs?

  2. How to install Easy TAG ID3 tag editor?

  3. How to install Audacity sound editor?

  4. How to install dvd::rip DVD Ripper?

  5. How to install Goobox CD Ripper?

  6. How to install Scribus desktop publishing software?

  7. How to install Dia diagram and flow chart editor?

  8. How to install Nessus security tool?

  9. How to install gDesklets Desktop Applets tool?

  10. How to install Anjuta IDE?

  11. How to install Blender 3D modeller/renderer?

  12. How to install Stellarium sky generator?

  13. How to install KDE desktop environment?

  14. How to install xFce desktop environment?

Users Administration

  1. How to set/change/enable root user password?

  2. How to disable root user account?

  3. How to allow root user to login into GNOME?

  4. How to switch to root user in Console mode?

  5. How to add/edit/delete system users?

  6. How to add/edit/delete system groups?

  7. How to automatic login into GNOME (not secure)?

  8. How to change files/folders permissions?

  9. How to change files/folders ownership?

  10. How to change files/folders group ownership?

Hardware

  1. How to install Graphics Driver (NVIDIA)?

  2. How to disable NVIDIA graphics logo on GNOME startup?

  3. How to install Graphics Driver (ATI)?

  4. How to list partition tables?

  5. How to list filesystem disk space usage?

  6. How to list mounted devices?

  7. How to list PCI devices?

  8. How to list USB devices?

  9. How to mount/unmount CD/DVD-ROM manually, and show all hidden and associated files/folders?

  10. How to forcefully unmount CD/DVD-ROM manually?

  11. How to remount /etc/fstab without rebooting?

CD/DVD Burning

  1. How to blank CD-RW/DVD-RW?

  2. How to burn files/folders into CD/DVD?

  3. How to burn Image (ISO) files into CD/DVD?

  4. How to duplicate CD/DVD?

  5. How to create Image (ISO) files from CD/DVD?

  6. How to create Image (ISO) files from folders?

  7. How to generate MD5 checksum files?

  8. How to check MD5 checksum of files?

  9. How to mount/unmount Image (ISO) files without burning?

  10. How to set/change the burn speed for CD/DVD Burner?

  11. How to enable burnproof for CD/DVD Burner?

  12. How to enable overburn for CD/DVD? Burner?

Networking

  1. How to activate/deactivate network connections?

  2. How to configure network connections?

  3. How to configure dialup connections?

  4. How to configure broadband connections?

  5. How to change computer name?

  6. How to change computer descriptions?

  7. How to change computer Domain/Workgroup?

  8. How to share folders the easy way?

  9. How to browse network computers?

  10. How to access network folders without mounting?

  11. How to mount/unmount network folders manually, and allow all users to read?

  12. How to mount/unmount network folders manually, and allow all users to read/write?

  13. How to mount network folders on boot-up, and allow all users to read?

  14. How to mount network folders on boot-up, and allow all users to read/write?

Remote Desktop

  1. How to configure remote desktop (not secure)?

  2. How to connect into remote Parsix GNU/Linux desktop?

  3. How to connect into remote Parsix GNU/Linux desktop via Windows machine?

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?

Security

  1. What are the basic things I need to know about securing my Parsix GNU/Linux?

  2. How to disable history listing in Console mode?

  3. How to enable prompt before removal/overwritten of files/folders in Console mode?

Tips & Tricks

  1. How to restart GNOME without rebooting computer?

  2. How to run programs on startup when login into GNOME?

  3. How to switch to Console mode in GNOME?

  4. How to disable Ctrl+Alt+Backspace from restarting X in GNOME?

  5. How to enable Ctrl+Alt+Del to open System Monitor in GNOME?

  6. How to refresh GNOME desktop?

  7. How to refresh GNOME panel?

  8. How to open each folder in the same window in Nautilus?

  9. How to show all hidden files/folders in Nautilus?

  10. How to change default file type "Open with" program?

  11. How to change preferred email client to Mozilla Thunderbird?

  12. How to disable beep sound in Terminal mode?

  13. How to tune up GNU Iceweasel's performance?

  14. How to disable beep sound for link find function in GNU Iceweasel?

  15. How to apt-get the easy way (Synaptic)?

  16. How to install/uninstall .deb files?

  17. How to convert .rpm files to .deb files?

  18. How to rename all files in directory at once?

  19. How to manipulate all image files in directory at once?

  20. How to set System-wide Environment Variables?

  21. How to save "man" outputs into files?

  22. How to hide GRUB menu on boot-up?

  23. How to change the timeout seconds for GRUB menu on boot-up?

  24. How to change default Operating System boot-up for GRUB menu?

  25. How to temporary skip boot-up services?

  26. How to permanently disable/enable boot-up services?

  27. How to clean /tmp/ folder contents on shutdown?

  28. How to scroll up and down to view previous outputs in Console mode?

  29. How to enable "auto save" feature in gedit and disable creating backup (some_file~) files?

  30. How to temporary active nautilus location bar?

  31. How to permanently active nautilus location bar?

Samba Server

  1. How to start Samba Server for files/folders sharing service?

  2. How to add/edit/delete network users?

  3. How to share home folders with read only permission (Authentication=Yes)?

  4. How to share home folders with read/write permissions (Authentication=Yes)?

  5. How to share group folders with read only permission (Authentication=Yes)?

  6. How to share group folders with read/write permissions (Authentication=Yes)?

  7. How to share public folders with read only permission (Authentication=Yes)?

  8. How to share public folders with read/write permissions (Authentication=Yes)?

  9. How to share public folders with read only permission (Authentication=No)?

  10. How to share public folders with read/write permissions (Authentication=No)?

SSH Server

  1. How to SSH into remote Parsix GNU/Linux machine?

  2. How to copy files/folders from remote Parsix GNU/Linux machine into local machine (scp)?

  3. How to copy files/folders from local machine into remote Parsix GNU/Linux machine (scp)?

  4. How to copy files/folders from remote Parsix GNU/Linux machine into local machine (rsync)?

  5. How to copy files/folders from local machine into remote Parsix GNU/Linux machine (rsync)?

  6. How to SSH into remote Parsix GNU/Linux machine via Windows machine?

  7. How to copy files/folders from/into remote Parsix GNU/Linux machine via Windows machine?

DHCP Server

  1. How to install DHCP Server for automatic IP addresses assignment?

Database Server

  1. How to install MYSQL Database Server?

  2. How to install MYSQL Control Center?

Apache HTTP 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 parse RSS into PHP for Apache HTTP Server?

Troubleshooting

  1. Configuring network interfaces... (taking too long to load)

  2. How to forcefully empty Trash in GNOME?



Getting Started


What's Parsix GNU/Linux?

  1. Parsix GNU/Linux is a live and installation CD based on KANOTIX and Debian. It is a complete GNOME centric desktop oriented distribution. Beside of the dozens supported languages, Parsix GNU/Linux supports Persian keyboard and users can switch to Persian with Alt+Shift keys. You can install and use Parsix GNU/Linux as your PC's operating system. We have also included xFarDic multilingual dictionary and Persian free fonts from FPF project.

Where to view Parsix GNU/Linux screenshots?

  1. http://parsix.org/html/index.php?module=htmlpages&func=display&pid=6

Where to find a list of all the programs/libraries that comes with Parsix GNU/Linux?

  1. Type dpkg -l command or click here.

  2. http://distrowatch.com/table.php?distribution=parsix

Where to download Parsix GNU/Linux?

  1. http://www.sourceforge.net

Where to order Parsix GNU/Linux CDs?

  1. To order Parsix GNU/Linux CDs, contact www.linuxshop.ir or www.sito.ir.

Where to find Parsix GNU/Linux Documentation?

  1. Parsix GNU/Linux documentation ships with its CD-ROM in /usr/share/doc/parsix/ path. You can get the latest versions of this documentation from project's web site.

What's Parsix GNU/Linux's user and root passwords in live mode?

  1. Use "parsix" as user and root password of Parsix GNU/Linux system in live mode.

Where to report Parsix GNU/Linux Bugs?

  1. Reporting Parsix GNU/Linux bugs helps us to make it better. Please report if you see any bug at http://bugs.parsix.org.



Getting Parsix GNU/Linux User's Guide


Where to download this entire Parsix GNU/Linux guide?

  1. Read General Notes.

  2. Type the following command(s):

    # apt-get update
    # apt-get install parsix-doc



Repositories


How to add extra repositories?

  1. Read General Notes.

  2. Type the following command(s):

    # cp /etc/apt/sources.list /etc/apt/sources.list_backup
    # vi /etc/apt/sources.list
  3. remove # characters in front of following lines:

    # deb http://ftp.us.debian.org/debian testing main contrib non-free
    # deb-src http://ftp.de.debian.org/debian testing main contrib non-free
  4. Save the edited file.

  5. Type the following command(s):

    # apt-get update

How to backup/restore downloaded repositories cache?

  1. Read General Notes.

  2. To backup downloaded repositories cache:

    # tar zcvf apt.tgz /etc/apt/ /var/lib/apt/ /var/cache/apt/
  3. To restore downloaded repositories cache:

    # tar zxvf apt.tgz -C /



Parsix GNU/Linux Updates


How to manually update Parsix GNU/Linux?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get update
    # apt-get dist-upgrade



Add-On Applications


How to install extra multimedia codecs?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install gstreamer0.10-plugins
    # apt-get install gstreamer0.10-lame
    # apt-get install w32codecs
    # apt-get install libdivx4linux
    # apt-get install lame
    # apt-get install sox
    # apt-get install ffmpeg
    # apt-get install mjpegtools
    # apt-get install vorbis-tools

How to install Easy TAG ID3 tag editor?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install easytag
  4. Read How to refresh GNOME panel?

  5. Run it from Applications -> Sound & Video -> EasyTAG.

How to install Audacity sound editor?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Read How to install extra multimedia codecs?

  4. Type the following command(s):

    # apt-get install audacity
  5. Read How to refresh GNOME panel?

  6. Run it from Applications -> Sound & Video -> Audacity.

How to install dvd::rip DVD Ripper?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Read How to install extra multimedia codecs?

  4. Type the following command(s):

    # apt-get install dvdrip
    #apt-get install vcdimager
    # apt-get install cdrdao
    # apt-get install subtitleripper
    # vi /usr/share/applications/dvdrip.desktop
  5. In sert the following lines into the new file:

    [Desktop Entry]
    Name=dvd::rip
    Comment=dvd::rip
    Exec=dvdrip
    Icon=/usr/share/perl5/Video/DVDRip/icon.xpm
    Terminal=false
    Type=Application
    Categories=Application;AudioVideo;
  6. Save the edited file (Sample)

  7. Read How to refresh GNOME panel?

  8. Run it from Applications -> Sound & Video -> dvd::rip.

How to install Goobox CD Ripper?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Read How to install extra multimedia codecs?

  4. Type the following command(s):

    # apt-get install goobox
    # rm -f /usr/share/applications/goobox.desktop
    # vi /usr/share/applications/goobox.desktop
  5. In sert the following lines into the new file:

    [Desktop Entry]
    Name=CD Player & Ripper
    Comment=Play and extract CDs
    Exec=goobox
    Icon=goobox.png
    Terminal=false
    Type=Application
    Categories=Application;AudioVideo;
  6. Save the edited file (Sample)

  7. Read How to refresh GNOME panel?

  8. Run it from Applications -> Sound & Video -> CD Player & Ripper.

How to install Scribus desktop publishing software?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install scribus
  4. Read How to refresh GNOME panel?

  5. Run it from Applications -> Office -> Scribus.

How to install Dia diagram and flow chart editor?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install dia-gnome
  4. Read How to refresh GNOME panel?

  5. Run it from Applications -> Graphics -> Dia.

How to install Nessus security tool?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install nessus
    # apt-get install nessusd
    # nessus-adduser
    # ln -fs /etc/init.d/nessusd /etc/rc2.d/S20nessusd
    # /etc/init.d/nessusd start
    # vi /usr/share/applications/Nessus.desktop
  4. In sert the following lines into the new file:

    [Desktop Entry]
    Name=Nessus
    Comment=Nessus
    Exec=nessus
    Icon=/usr/share/pixmaps/nessus.xpm
    Terminal=false
    Type=Application
    Categories=Application;System;
  5. Save the edited file (Sample)

  6. Read How to refresh GNOME panel?

  7. Run it from Applications -> System Tools -> Nessus.

How to install gDesklets Desktop Applets tool?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install gdesklets
    # apt-get install gdesklets-data
  4. Read How to refresh GNOME panel?

  5. Run it from Applications -> Accessories -> gDesklets.

How to install Anjuta IDE?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install anjuta
  4. Run it from Applications -> Programming -> Anjuta.

How to install Blender 3D modeller/renderer?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install blender
  4. Run it from Applications -> Graphics -> Blender.

How to install Stellarium sky generator?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install stellarium

How to install KDE desktop environment?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install kde
  4. Choose "KDE" in GDM Sessions menu to login into KDE desktop environment.

How to install xFce desktop environment?

  1. Read General Notes.

  2. Read How to add extra repositories?

  3. Type the following command(s):

    # apt-get install xfce4
  4. Choose "xFce" in GDM Sessions menu to login into xFce desktop environment.


Users Administration


How to set/change/enable root user password?

  1. Read General Notes.

  2. Type the following command(s):

    # passwd root

How to disable root user account?

  1. Read General Notes.

  2. Type the following command(s):

    # passwd -l root

How to allow root user to login into GNOME?

  1. Read General Notes.

  2. Read How to set/change/enable root user password?

  3. Click on System -> Administration -> Login Window

  4. In Login Window

    Security Tab -> Enable Automatic Login(Checked) -> 
    User: Type "system_username"

How to switch to root user in Console mode?

  1. Read General Notes.

  2. Type the following command(s):

    # /bin/su root

How to add/edit/delete system users?

  1. Read General Notes.

  2. Click on System -> Administration -> Users and Groups

  3. In Users and Groups

    Users Tab -> Add User.../Properties/Delete

How to add/edit/delete system groups?

  1. Read General Notes.

  2. Click on System -> Administration -> Users and Groups

  3. In Users and Groups

    Groups Tab -> Add Group.../Properties/Delete

How to automatic login into GNOME (not secure)?

  1. Read General Notes.

  2. Click on System -> Administration -> Login Window

  3. In Login Window

    Security Tab -> Enable Automatic Login (Checked) -> User: Type "system_username"

How to change files/folders permissions?

  1. Read General Notes.

    Right click on files/folders -> Properties
    Permissions Tab -> Read/Write/Execute (Checked the permissions for Owner/Group/Others)

How to change files/folders ownership?

  1. Read General Notes.

  2. Type the following command(s):

    # chown -R system_username /location_of_files_or_folders

How to change files/folders group ownership?

  1. Read General Notes.

  2. Type the following command(s):

    # chgrp -R system_groupname /location_of_files_or_folders



Hardware


How to install Graphics Driver (NVIDIA)?

  1. Read General Notes.

  2. Read How to add extra repositories?

  • Type the following commands to install pre-compiled driver packages:

  • # apt-get update && apt-get install nvidia-kernel-`uname -r`
  • Edit the /etc/X11/xorg.conf file and remove the following lines:

  • Load "dri"
    Load "GLcore"
  • Add the following lines:

  • Load "glx"
  • In the driver section, change driver name from "nv" to "nvidia":

  • ...
    Section "Device"
    Driver "nvidia"
    ...
  • Load nVidia kernel driver automatically:

  • # echo nvidia >> /etc/modules
  • Reboot the system:

  • # reboot

    How to disable NVIDIA graphics logo on GNOME startup?

    1. Read General Notes.

    2. How to install Graphics Driver (NVIDIA)?

      # cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
      # vi /etc/X11/xorg.conf
    3. Find these lines:

      ...
      Section "Device"
      Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
      Driver "nvidia"
      BusID "PCI:1:0:0"
      ...
    4. Add these lines after:

       Option "NoLogo"
    5. Save the edited file (Sample)

    6. Read How to restart GNOME without rebooting computer?

    How to install Graphics Driver (ATI)?

    1. Read General Notes.

    2. Read How to add extra repositories?

  • Type the following commands to install pre-compiled driver packages:

  • # apt-get update && apt-get install fglrx-driver fglrx-glx fglrx-control fglrx-kernel-`uname -r`
  • Edit the /etc/X11/xorg.conf file and in the driver section, change driver name from "ati" or "radeon" to "fglrx":

  • ...
    Section "Device"
    Driver "fglrx"
    ...
  • Load ATI kernel driver automatically:

  • # echo fglrx >> /etc/modules
  • Reboot the system:

  • # reboot

    How to list partition tables?

    1. Read General Notes.

    2. Type the following command(s):

      # fdisk -l

    How to list filesystem disk space usage?

    1. Read General Notes.

    2. Type the following command(s):

      $ df -T -h

    How to list mounted devices?

    1. Read General Notes.

    2. Type the following command(s):

      $ mount

    How to list PCI devices?

    1. Read General Notes.

    2. Type the following command(s):

      # lspci

    How to list USB devices?

    1. Read General Notes.

    2. Type the following command(s):

      # lsusb

    How to mount/unmount CD/DVD-ROM manually, and show all hidden and associated files/folders?

    1. Read General Notes.

    2. e.g. Assumed that dev/cdrom0/ is the location of CD/DVD-ROM.
    3. To mount CD/DVD-ROM:

      # mount /media/cdrom0/ -o unhide
    4. To unmount CD/DVD-ROM:

      # umount /media/cdrom0/

    How to forcefully unmount CD/DVD-ROM manually?

    1. Read General Notes.

    2. e.g. Assumed that dev/cdrom0/ is the location of CD/DVD-ROM.
    3. Type the following command(s):

      # umount /dev/cdrom0 -l

    How to remount /etc/fstab without rebooting?

    1. Read General Notes.

    2. Type the following command(s):

      # mount -a

    CD/DVD Burning


    How to blank CD-RW/DVD-RW?

    1. Read General Notes.

    2. e.g. Assumed that /dev/cdrom0 is the location of CD/DVD-ROM .
    3. Type the following command(s):

      # umount /dev/cdrom0
      $ cdrecord /dev/cdrom0 blank=fast

    How to burn files/folders into CD/DVD?

    1. Read General Notes.

    2. Type following command or type burn:/// in nautilus's location bar:

      $ nautilus burn:///
    3. File Browser: CD/DVD Creator

      Drag files/folders into window
      File Menu -> Write to Disc... -> Write

    How to burn Image (ISO) files into CD/DVD?

    1. Read General Notes.

    2. Right click on Image (ISO) file -> Write to Disc... -> Write

    How to duplicate CD/DVD?

    1. Read General Notes.

    2. Read How to create Image (ISO) files from CD/DVD?

    3. Read How to burn Image (ISO) files into CD/DVD?

    How to create Image (ISO) files from CD/DVD?

    1. Read General Notes.

    2. e.g. Assumed that dev/cdrom0/ is the location of CD/DVD-ROM 
    3. Type the following command(s):

      # umount /dev/cdrom0
      $ dd if=/dev/cdrom0 of=file.iso bs=1024

    How to create Image (ISO) files from folders?

    1. Read General Notes.

    2. Type the following command(s):

      $ mkisofs -o file.iso /location_of_folder/

    How to generate MD5 checksum files?

    1. Read General Notes.

    2. Type the following command(s):

      $ md5sum file.iso > file.iso.md5

    How to check MD5 checksum of files?

    1. Read General Notes.

    2. e.g. Assumed that file.iso and file.iso.md5 are in the same folder.
    3. Type the following command(s):

      $ md5sum -c file.iso.md5

    How to mount/unmount Image (ISO) files without burning?

    1. Read General Notes.

    2. To mount Image (ISO) file

      # mkdir /media/iso
      # modprobe loop
      # mount file.iso /media/iso/ -t iso9660 -o loop
    3. To unmount Image (ISO) file

      # umount /media/iso/

    How to set/change the burn speed for CD/DVD Burner?

    1. Read General Notes.

    2. Click on Applications -> System Tools -> Configuration Editor

    3. In Configuration Editor

      / -> apps -> nautilus-cd-burner -> default_speed (set/change the burn speed)

    How to enable burnproof for CD/DVD Burner?

    1. Read General Notes.

    2. Click on Applications -> System Tools -> Configuration Editor

    3. In Configuration Editor

      / -> apps -> nautilus-cd-burner -> burnproof (Checked)

    How to enable overburn for CD/DVD? Burner?

    1. Read General Notes.

    2. Click on Applications -> System Tools -> Configuration Editor

    3. In Configuration Editor

      / -> apps -> nautilus-cd-burner -> overburn (Checked)

     


    Networking


    How to activate/deactivate network connections?

    1. Read General Notes.

    2. To activate installed network card(s):

      # netcardconfig
    3. Click on System -> Administration -> Networking

    4. In Network settings

      Connections Tab -> Select "Ethernet connection" -> Activate/Deactivate

    How to configure network connections?

    1. Read General Notes.

    2. Click on System -> Administration -> Networking

    3. In Network settings

      Connections Tab -> Select "Ethernet connection" -> Properties
      Connection -> This device is configured (Checked)
      Connection Settings -> Configuration: Select "DHCP/Static IP address" DNS Tab -> DNS Servers -> Add/Delete
    4. Read How to activate/deactivate network connections?

    How to configure dialup connections?

    1. Read General Notes.

    2. Click on Applications -> Parsix -> Config Dialup Internet or type:

      # pppconfig
    3. To connect dialup:

      $ pon provider_name
    4. To disconnect dialup:

      $ poff

    How to configure broadband connections?

    1. Read General Notes.

    2. Type the following command(s):

      # pppoeconf

    How to change computer name?

    1. Read General Notes.

    2. Click on System -> Administration -> Networking

    3. In Network settings

      General Tab -> Host Settings -> Hostname: Specify the computer name
    4. Save and close all opened applications, Reboot computer.

    How to change computer descriptions?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      # vi /etc/samba/smb.conf
    3. Find this line:

      ...
      server string = %h server (Samba %v)
      ...
    4. Replace with the following line:

       server string = new_computer_descriptions
    5. Save the edited file (Sample)

      # testparm
      # /etc/init.d/samba restart

    How to change computer Domain/Workgroup?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      # vi /etc/samba/smb.conf
    3. Find this line:

      ...
      workgroup = WORKGROUP
      ...
    4. Replace with the following line:

       workgroup = new_domain_or_workgroup
    5. Save the edited file (Sample)

      # testparm
      # /etc/init.d/samba restart

    How to share folders the easy way?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. Nautilus window

      Right click on folder -> Share folder
      Shared folder -> Share with: Select "SMB"
      Share properties -> Name: Specify the share name

    How to browse network computers?

    1. Read General Notes.

    2. e.g. Assumed that network connections have been configured properly.
    3. Click on Places -> Network Servers

    How to access network folders without mounting?

    1. Read General Notes.

    2. e.g. Assumed that network connections have been configured properly.
      Network computer's IP: 192.168.0.1
      Shared folder's name: linux
    3. Click on Applications -> Run Application

    4. In Run Application type:

      smb://192.168.0.1/linux

    How to mount/unmount network folders manually, and allow all users to read?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. e.g. Assumed that network connections have been configured properly.
      Network computer's IP: 192.168.0.1
      Network computer's Username: myusername
      Network computer's Password: mypassword
      Shared folder's name: linux
      Local mount folder: /media/sharename
    4. To mount network folder:

      # mkdir /media/sharename
      # mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword
    5. To unmount network folder:

      # umount /media/sharename/

    How to mount/unmount network folders manually, and allow all users to read/write?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. e.g. Assumed that network connections have been configured properly.
      Network computer's IP: 192.168.0.1
      Network computer's Username: myusername
      Network computer's Password: mypassword
      Shared folder's name: linux
      Local mount folder: /media/sharename
    4. To mount network folder:

      # mkdir /media/sharename
      # mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword,dmask=777,fmask=777
    5. To unmount network folder:

      # umount /media/sharename/

    How to mount network folders on boot-up, and allow all users to read?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. e.g. Assumed that network connections have been configured properly.
      Network computer's IP: 192.168.0.1
      Network computer's Username: myusername
      Network computer's Password: mypassword
      Shared folder's name: linux
      Local mount folder: /media/sharename
    4. Type the following command(s):

      # mkdir /media/sharename
      # vi /root/.smbcredentials
    5. Insert the following lines into the new file

      username=myusername
      password=mypassword
    6. Save the edited file (Sample)

    7. Type the following command(s):

      # chmod 700 /root/.smbcredentials
      # cp /etc/fstab /etc/fstab_backup
      # gedit /etc/fstab
    8. Append the following line at the end of file

      //192.168.0.1/linux /media/sharename smbfs credentials=/root/.smbcredentials 0 0
    9. Save the edited file (Sample)

    10. Read How to remount /etc/fstab without rebooting?

    How to mount network folders on boot-up, and allow all users to read/write?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. e.g. Assumed that network connections have been configured properly.
      Network computer's IP: 192.168.0.1
      Network computer's Username: myusername
      Network computer's Password: mypassword
      Shared folder's name: linux
      Local mount folder: /media/sharename
    4. Type the following command(s):

      # mkdir /media/sharename
      # gedit /root/.smbcredentials
    5. Insert the following lines into the new file

      username=myusername
      password=mypassword
    6. Save the edited file (Sample)

      # chmod 700 /root/.smbcredentials
      # cp /etc/fstab /etc/fstab_backup
      # gedit /etc/fstab
    7. Append the following line at the end of file

      //192.168.0.1/linux /media/sharename smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0
    8. Save the edited file (Sample)

    9. How to remount /etc/fstab without rebooting?



    Remote Desktop


    How to configure remote desktop (not secure)?

    1. Read General Notes.

    2. Warning! Remote Desktop will only work if there's a GNOME login session
      Leaving computer with an unattended GNOME login session is not secure
      Use (System -> Lock Screen) and off the monitor when computer is left unattended
    3. Click on System -> Preferences -> Remote Desktop

    4. In Remote Desktop Preferences

      Sharing ->
      Allow other users to view your desktop (Checked)
      Allow other users to control your desktop (Checked)
      Security ->
      Ask you for confirmation (Un-Checked)
      Require the user to enter this password: (Checked)
      Password: Specify the password

    How to connect into remote Parsix GNU/Linux desktop?

    1. Read General Notes.

    2. e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
      Remote Parsix GNU/Linux machine: 192.168.0.1
    3. Type the following command(s):

      $ rdesktop 192.168.0.1:0
    4. To quit vncviewer press F8 --> Quit Viewer.

    How to connect into remote Parsix GNU/Linux desktop via Windows machine?

    1. Read General Notes.

    2. e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
      Remote Parsix GNU/Linux machine: 192.168.0.1
    3. Download VNC Viewer: here.


    Windows


    How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only?

    1. Read General Notes.

    2. Read How to list partition tables?

    3. e.g. Assumed that dev/hda1/ is the location of Windows partition(NTFS).
      Local mount folder: /media/windows/.
    4. To mount Windows partition:

      # mkdir /media/windows
      # mount /dev/hda1 /media/windows/ -t ntfs -o utf8,umask=0222
    5. To unmount Windows partition:

      # umount /media/windows/

    How to mount/unmount Windows partitions (FAT) manually, and allow all users to read/write?

    1. Read General Notes.

    2. Read How to list partition tables?

    3. e.g. Assumed that dev/hda1/ is the location of Windows partition (FAT).
      Local mount folder: /media/windows/.
    4. To mount Windows partition:

      # mkdir /media/windows
      # mount /dev/hda1 /media/windows/ -t vfat -o utf8,umask=0222
    5. To unmount Windows partition:

      # umount /media/windows/

    How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only?

    1. Read General Notes.

    2. Read How to list partition tables?

    3. e.g. Assumed that dev/hda1/ is the location of Windows partition.(NTFS)
      Local mount folder: /media/windows/.
    4. Type the following command(s):

      # mkdir /media/windows
      # cp /etc/fstab /etc/fstab_backup
      # gedit /etc/fstab
    5. Append the following line at the end of file

      /dev/hda1 /media/windows vfat utf8,umask=0222 0 0
    6. Save the edited file (Sample)

    7. How to remount /etc/fstab without rebooting?

    How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write?

    1. Read General Notes.

    2. Read How to list partition tables?

    3. e.g. Assumed that dev/hda1/ is the location of Windows partition.(FAT)
      Local mount folder: /media/windows/.
    4. Type the following command(s):

      # mkdir /media/windows
      # cp /etc/fstab /etc/fstab_backup
      # gedit /etc/fstab
    5. Append the following line at the end of file

      /dev/hda1 /media/windows vfat utf8,umask=000 0 0
    6. Save the edited file (Sample)

    7. How to remount /etc/fstab without rebooting?



    Security


    What are the basic things I need to know about securing my Parsix GNU/Linux?

    1. Read General Notes.

    2. Ensure hard drive is first in BIOS boot-up sequence

      1. To prevent trespassers from using Linux Installation CD which allows them to gain root user access

      2. To prevent trespassers from using Linux Live CD (e.g. UBUNTU/KNOPPIX/MEPIS) which allows them to destroy/browse/share the entire hard drive

      3. To prevent trespassers from installing another Operating System

    3. Ensure a password is set for BIOS

      1. To prevent trespassers from changing the BIOS boot-up sequence

    4. Ensure computer is located at a secured place

      1. To prevent trespassers from removing computer's hard drive which allows them to destroy/browse/share the entire hard drive from a different computer

      2. To prevent trespassers from removing computer's on-board battery which resets the BIOS password

    5. Ensure passwords used on the system cannot be easily guessed

      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 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?

    7. Ensure Ctrl+Alt+Del is disabled in Console mode

      1. To prevent trespassers from restarting the system without permission in Console mode

    8. 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?

    9. 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?

    10. 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

    11. Perform vulnerability test

      1. Nessus is a great tool designed to automate the testing and discovery of known security problems

      2. Read How to install Vulnerability Scanner (Nessus)?

    How to disable history listing in Console mode?

    1. Read General Notes.

    2. Type the following command(s):

      $ rm ~/.bash_history
      $ touch ~/.bash_history
      $ chmod 000 ~/.bash_history

    How to enable prompt before removal/overwritten of files/folders in Console mode?

    1. Read General Notes.

    2. Type the following command(s):

      # cp /etc/profile /etc/profile_backup
      # gedit /etc/profile
    3. Append the following lines at the end of file

      alias rm='rm -i'
      alias cp='cp -i'
      alias mv='mv -i'
    4. Save the edited file



    Tips & Tricks


    How to restart GNOME without rebooting computer?

    1. Read General Notes.

    2. Save and close all opened applications

      Press 'Ctrl + Alt + Backspace'

      or type:

      /etc/init.d/gdm restart

    How to run programs on startup when login into GNOME?

    1. Read General Notes.

    2. Click on System -> Preferences -> Sessions

    3. In Sessions

      Startup Programs Tab -> Add/Edit/Delete

    How to switch to Console mode in GNOME?

    1. Read General Notes.

    2. To switch to Console mode

      Press 'Ctrl + Alt + F1' (F2 - F4)
    3. To switch back to GNOME mode

      Press 'Ctrl + Alt + F5'

    How to disable Ctrl+Alt+Backspace from restarting X in GNOME?

    1. Read General Notes.

    2. Type the following command(s):

      # cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
      # gedit /etc/X11/xorg.conf
    3. Append the following lines at the end of file:

      Section "ServerFlags"
      Option "DontZap" "yes"
      EndSection
    4. Save the edited file (Sample)

    5. Read

      How to restart GNOME without rebooting computer?

    How to enable Ctrl+Alt+Del to open System Monitor in GNOME?

    1. Read General Notes.

    2. Type the following command(s):

      $ gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete"
      $ gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor"

    How to refresh GNOME desktop?

    1. Read General Notes.

    2. Type the following command(s):

      $ killall nautilus

    How to refresh GNOME panel?

    1. Read General Notes.

    2. Type the following command(s):

      $ killall gnome-panel

    How to open each folder in the same window in Nautilus?

    1. Read General Notes.

    2. Click on Applications -> System Tools -> Configuration Editor

    3. In Configuration Editor

      / -> apps -> nautilus -> preferences -> always_use_browser (Checked)

    How to show all hidden files/folders in Nautilus?

    1. Read General Notes.

    2. Places -> Home Folder

    3. To temporary show all hidden files/folders in Nautilus:

      Press 'Ctrl + H'
    4. To permanently show all hidden files/folders in Nautilus:

      Edit Menu -> Preferences
      Views Tab -> Default View -> Show hidden and backup files (Checked)

    How to change default file type "Open with" program?

    1. Read General Notes.

    2. Then:

      Right click on file -> Properties
      
      Open With Tab -> Add
      Select "Open with" program
      Select "Open with" program (Checked)

    How to change preferred email client to Mozilla Thunderbird?

    1. Read General Notes.

    2. Click on System -> Preferences -> Preferred Applications

    3. In Preferred Applications

      Mail Reader Tab -> Default Mail Reader -> Command: mozilla-thunderbird %s

    How to disable beep sound in Terminal mode?

    1. Read General Notes.

    2. Click on Applications -> System Tools -> Terminal

    3. In Terminal

      Edit Menu -> Current Profile...
      General Tab -> General -> Terminal bell (Un-Checked)

    How to tune up GNU Iceweasel's performance?

    1. Read General Notes.

    2. Click on Applications -> Internet -> Iceweasel Web Browser

    3. In GNU Iceweasel

      Address Bar -> about:config
      Filter: ->
      network.dns.disableIPv6 -> true
      network.http.pipelining -> true
      
      network.http.pipelining.maxrequests -> 8
      network.http.proxy.pipelining -> true
    4. Restart GNU Iceweasel.

    How to disable beep sound for link find function in GNU Iceweasel?

    1. Read General Notes.

    2. Click on Applications -> Internet -> Iceweasel Web Browser

    3. In GNU Iceweasel

      Address Bar -> about:config
      Filter: -> accessibility.typeaheadfind.enablesound -> false
    4. Restart GNU Iceweasel.

    How to apt-get the easy way (Synaptic)?

    1. Read General Notes.

    2. Click on System -> Administration -> Synaptic Package Manager

    3. In Synaptic Package Manager

      1. To refresh the list of known packages (equivalent to apt-get update)

        Edit Menu -> Reload Package Information
      2. To install all possible upgrades (equivalent to apt-get upgrade)

        Edit Menu -> Mark All Upgrades... -> Default Upgrade
        
        Edit Menu -> Apply Marked Changes
      3. To search for a package (equivalent to apt-cache search package_name)

        Edit Menu -> Search... Specify the package name
      4. To install the selected package (equivalent to apt-get install package_name)

        Select "package_name"
        
        Package Menu -> Mark for Installation
        Edit Menu -> Apply Marked Changes
      5. To remove installed package (equivalent to apt-get remove package_name)

        Select "package_name"
        Package Menu -> Mark for Removal
        
        Edit Menu -> Apply Marked Changes

    How to install/uninstall .deb files?

    1. Read General Notes.

    2. To install .deb file:

      # dpkg -i package_file.deb
    3. To uninstall .deb file

      # dpkg -r package_name

    How to convert .rpm files to .deb files?

    1. Read General Notes.

    2. Type the following command(s):

      # alien package_file.rpm

    How to rename all files in directory at once?

    1. Read General Notes.

    2. To install "mvb" file name renamer:

      $ wget -c http://frankandjacq.com/ubuntuguide/mvb_1.6.tgz
      # tar zxvf mvb_1.6.tgz -C /usr/share/
      # chown -R root:root /usr/share/mvb_1.6/
    3. To rename all files in directory at once:

      mvb NEW_NAME

    How to manipulate all image files in directory at once?

    1. Read General Notes.

    2. To install bash batch image processing script:

      1. Read How to add extra repositories?

      2. Type the following command(s):

        $ wget -c http://frankandjacq.com/ubuntuguide/bbips.0.3.2.sh
        # cp bbips.0.3.2.sh /usr/bin/bbips
        # chmod 755 /usr/bin/bbips
    3. To manipulate all image files in directory at once:

      bbips

    How to set System-wide Environment Variables?

    1. Read General Notes.

    2. Type the following command(s):

      # cp /etc/profile  /etc/profile_backup
      # gedit /etc/profile
    3. Append the System-wide environment Variables at the end of file.

    4. Save the edited file

    How to save "man" outputs into files?

    1. Read General Notes.

    2. Type the following command(s):

      $ man command | col -b > file.txt

    How to hide GRUB menu on boot-up?

    1. Read General Notes.

    2. cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
      gedit /boot/grub/menu.lst
    3. Find this line:

      ...
      #hiddenmenu
      ...
    4. Replace with the following line:

      hiddenmenu
    5. Save the edited file (Sample)

    How to change the timeout seconds for GRUB menu on boot-up?

    For installed mode

    1. Read General Notes.

    2. cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
      gedit /boot/grub/menu.lst
    3. Find this line:

      ...
      timeout 3
      ...
    4. Replace with the following line:

      timeout X_seconds
    5. Save the edited file (Sample)

    How to change default Operating System boot-up for GRUB menu?

    1. Read General Notes.

    2. cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
      gedit /boot/grub/menu.lst
    3. Find this line:

      ...
      default 0
      ...
    4. Replace with the following line:

      default X_sequence
    5. Save the edited file (Sample)

    How to temporary skip boot-up services?

    1. Read General Notes.

    2. Press 'Ctrl + C'

    How to permanently disable/enable boot-up services?

    1. Read General Notes.

    2. To disable servive:

      # chmod -x /etc/init.d/service_name
    3. To re-enable service:

      # chmod +x /etc/init.d/service_name

    How to clean /tmp/ folder contents on shutdown?

    1. Read General Notes.

    2. Type the following command(s):

      # cp /etc/init.d/sysklogd /etc/init.d/sysklogd_backup
      # gedit /etc/init.d/sysklogd
    3. Find these lines:

      ...
      stop)
      log_begin_msg "Stopping system log daemon..."
      start-stop-daemon --stop --quiet --oknodo --exec $binpath --pidfile $pidfile
      log_end_msg $?
      ...
    4. Add the following line below it:

       rm -fr /tmp/* /tmp/.??*
    5. Save the edited file (Sample)

    How to scroll up and down to view previous outputs in Console mode?

    1. Read General Notes.

    2. To scroll up to view previously outputs:

      Press 'Shift + Page Up'
    3. To scroll down to view previously outputs:

      Press 'Shift + Page Down'


    How to enable "auto save" feature in gedit and disable creating backup (some_file~) files?

    1. Read General Notes.

    2. Click on Applications -> System Tools -> Configuration Editor

    3. In Configuration Editor

      / -> apps -> gedit-2 -> preferences -> editor -> save -> create_backup_copy (UnChecked)
      
      / -> apps -> gedit-2 -> preferences -> editor -> save -> auto_save (Checked)

    How to temporary active nautilus location bar?

    1. Read General Notes.

    2. Click on Places -> Home Folder

    3. In Home

      Ctrl+L

    How to permanently active nautilus location bar?

    1. Read General Notes.

    2. Click on Applications -> System Tools -> Configuration Editor

    3. In Configuration Editor

      /-> apps -> nautilus -> preferences -> always_use_location_entry (Checked)

    Samba Server


    How to start Samba Server for files/folders sharing service?

    1. Read General Notes.

    2. Type the following command(s):

      # /etc/init.d/samba start

    How to add/edit/delete network users?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. To add network user:

      1. Read How to add/edit/delete system users?

      2. Type the following command(s):

        # smbpasswd -a system_username
        # gedit /etc/samba/smbusers
      3. Insert the following line into the new file:

        system_username = "network username"
      4. Save the edited file (Sample)

    4. To edit network user:

      # smbpasswd -a system_username
    5. To delete network user:

      # smbpasswd -x system_username

    How to share home folders with read only permission (Authentication=Yes)?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. Type the following command(s):

      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      # gedit /etc/samba/smb.conf
    4. Find this line:

      ...
      ; security = user
      ...
    5. Replace with the following lines:

       security = user
      username map = /etc/samba/smbusers
    6. Save the edited file (Sample)

    7. Read How to add/edit/delete system users?

    8. Type the following command(s):

      # testparm
      # /etc/init.d/samba restart

    How to share home folders with read/write permissions (Authentication=Yes)?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. Type the following command(s):

      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      #gedit /etc/samba/smb.conf
    4. Find this line:

      ...
      ; security = user
      ...
    5. Replace with the following lines:

       security = user
      username map = /etc/samba/smbusers
    6. Find this line:

      ...
      # 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
      ...
    7. Replace with the following lines:

      # 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 = yes
    8. Save the edited file (Sample)

    9. Read How to add/edit/delete system users?

    10. Type the following command(s):

      # testparm
      # /etc/init.d/samba restart

    How to share group folders with read only permission (Authentication=Yes)?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. Type the following command(s):

      # mkdir /home/group
      # chmod 777 /home/group/
      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      # gedit /etc/samba/smb.conf
    4. Find this line:

      ...
      ; security = user
      ...
    5. Replace with the following lines:

       security = user
      username map = /etc/samba/smbusers
    6. Append the following lines at the end of file:

      [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
    7. Save the edited file (Sample)

    8. Read How to add/edit/delete system users?

    9. Type the following command(s):

      # testparm
      # /etc/init.d/samba restart

    How to share group folders with read/write permissions (Authentication=Yes)?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. Type the following command(s):

      # mkdir /home/group
      # chmod 777 /home/group/
      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      # gedit /etc/samba/smb.conf
    4. Find this line:

      ...
      ; security = user
      ...
    5. Replace with the following lines:

       security = user
      username map = /etc/samba/smbusers
    6. Append the following lines at the end of file:

      [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
    7. Save the edited file (Sample)

    8. Read How to add/edit/delete system users?

    9. Type the following command(s):

      # testparm
      # /etc/init.d/samba restart

    How to share public folders with read only permission (Authentication=Yes)?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. Type the following command(s):

      # mkdir /home/public
      # chmod 777 /home/public/
      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      # gedit /etc/samba/smb.conf
    4. Find this line:

      ...
      ; security = user
      ...
    5. Replace with the following lines:

       security = user
      username map = /etc/samba/smbusers
    6. Append the following lines at the end of file:

      [public]
      comment = Public Folder
      path = /home/public
      public = yes
      writable = no
      create mask = 0777
      directory mask = 0777
      force user = nobody
      force group = nogroup
    7. Save the edited file (Sample)

    8. Read How to add/edit/delete system users?

    9. Type the following command(s):

      # testparm
      # /etc/init.d/samba restart

    How to share public folders with read/write permissions (Authentication=Yes)?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. Type the following command(s):

      # mkdir /home/public
      # chmod 777 /home/public/
      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      #gedit /etc/samba/smb.conf
    4. Find this line:

      ...
      ; security = user
      ...
    5. Replace with the following lines:

       security = user
      username map = /etc/samba/smbusers
    6. Append the following lines at the end of file:

      [public]
      comment = Public Folder
      path = /home/public
      public = yes
      writable = yes
      create mask = 0777
      directory mask = 0777
      force user = nobody
      force group = nogroup
    7. Save the edited file (Sample)

    8. Read How to add/edit/delete system users?

    9. Type the following command(s):

      # testparm
      # /etc/init.d/samba restart

    How to share public folders with read only permission (Authentication=No)?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

    3. Type the following command(s):

      # mkdir /home/public
      # chmod 777 /home/public/
      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      # gedit /etc/samba/smb.conf
    4. Find this line:

      ...
      ; security = user
      ...
    5. Replace with the following lines:

       security = share
    6. Append the following lines at the end of file:

      [public]
      comment = Public Folder
      path = /home/public
      public = yes
      writable = no
      create mask = 0777
      directory mask = 0777
      force user = nobody
      force group = nogroup
    7. Save the edited file (Sample)

      # testparm
      # /etc/init.d/samba restart

    How to share public folders with read/write permissions (Authentication=No)?

    1. Read General Notes.

    2. Read How to start Samba Server for files/folders sharing service?

      # mkdir /home/public
      # chmod 777 /home/public/
      # cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
      # gedit /etc/samba/smb.conf
    3. Find this line:

      ...
      ; security = user
      ...
    4. Replace with the following lines:

       security = share
    5. Append the following lines at the end of file:

      [public]
      comment = Public Folder
      path = /home/public
      public = yes
      writable = yes
      create mask = 0777
      directory mask = 0777
      force user = nobody
      force group = nogroup
    6. Save the edited file (Sample)

    7. Type the following command(s):

      # testparm
      # /etc/init.d/samba restart



    SSH Server


    How to SSH into remote Parsix GNU/Linux machine?

    1. Read General Notes.

    2. e.g. Assumed that remote Parsix GNU/Linux machine have installed SSH Server service
      Read How to install SSH Server for remote administration service? Remote Parsix GNU/Linux machine: 192.168.0.1
    3. Type the following command(s):

      $ ssh username@192.168.0.1

    How to copy files/folders from remote Parsix GNU/Linux machine into local machine (scp)?

    1. Read General Notes.

    2. e.g. Assumed that remote Parsix GNU/Linux machine have installed SSH Server service
      Read How to install SSH Server for remote administration service? Remote Parsix GNU/Linux machine: 192.168.0.1 Remote files/folders location: /home/username/remotefile.txt Local machine save location: . (current directory)
    3. Type the following command(s):

      $ scp -r username@192.168.0.1:/home/username/remotefile.txt .

    How to copy files/folders from local machine into remote Parsix GNU/Linux machine (scp)?

    1. Read General Notes.

    2. e.g. Assumed that remote Parsix GNU/Linux machine have installed SSH Server service
      Read How to install SSH Server for remote administration service? Remote Parsix GNU/Linux machine: 192.168.0.1 emote Parsix GNU/Linux machine save location: /home/username/
    3. Type the following command(s):

      $ scp -r localfile.txt username@192.168.0.1:/home/username/

    How to copy files/folders from remote Parsix GNU/Linux machine into local machine (rsync)?

    1. Read General Notes.

    2. e.g. Assumed that remote Parsix GNU/Linux machine have installed SSH Server service
      Read How to install SSH Server for remote administration service? Remote Parsix GNU/Linux machine: 192.168.0.1 Remote files/folders location: /home/username/remotefile.txt Local machine save location: . (current directory)
    3. Type the following command(s):

      $ rsync -v -u -a --delete --rsh=ssh --stats username@192.168.0.1:/home/username/remotefile.txt .

    How to copy files/folders from local machine into remote Parsix GNU/Linux machine (rsync)?

    1. Read General Notes.

    2. e.g. Assumed that remote Parsix GNU/Linux machine have installed SSH Server service
      Read How to install SSH Server for remote administration service? Remote Parsix GNU/Linux machine: 192.168.0.1 emote Parsix GNU/Linux machine save location: /home/username/
    3. Type the following command(s):

      $ rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.1:/home/username/

    How to SSH into remote Parsix GNU/Linux machine via Windows machine?

    1. Read General Notes.

    2. e.g. Assumed that remote Parsix GNU/Linux machine have installed SSH Server service
      Read How to SSH into remote Parsix GNU/Linux machine?
    3. Download PuTTY: here.

    How to copy files/folders from/into remote Parsix GNU/Linux machine via Windows machine?

    1. Read General Notes.

    2. e.g. Assumed that remote Parsix GNU/Linux machine have installed SSH Server service
      Read How to SSH into remote Parsix GNU/Linux machine?
    3. Download WinSCP: here.



    DHCP Server


    How to install DHCP Server for automatic IP addresses assignment?

    1. Read General Notes.

    2. Read How to add extra repositories?

    3. Assumed that "eth0" is the interface for network card
      IP Address Range: 192.168.0.100 to 192.168.0.200
      Subnet Mask: 255.255.255.0
      DNS Servers: 202.188.0.133, 202.188.1.5
      Domains: tm.net.my
      Gateway Address: 192.168.0.1
    4. Type the following command(s):

      # apt-get install dhcp3-server
      # cp /etc/default/dhcp3-server /etc/default/dhcp3-server_backup
      #gedit /etc/default/dhcp3-server
    5. Find this line:

      ...
      INTERFACES=""
    6. Replace with the following lines:

      INTERFACES="eth0"
    7. Save the edited file (Sample)

    8. Type the following command(s):

      # cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_backup
      # gedit /etc/dhcp3/dhcpd.conf
    9. Find this line:

      ...
      # 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;
      ...
    10. Replace with the following lines:

      # 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;
    11. Find this line:

      ...
      # 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;
      # max-lease-time 7200;
      #}
      ...
    12. Replace with the following lines:

      # A slightly different configuration for an internal subnet.
      subnet 192.168.0.0 netmask 255.255.255.0 {
      range 192.168.0.100 192.168.0.200;
      option domain-name-servers 202.188.0.133, 202.188.1.5;
      option domain-name "tm.net.my";
      option routers 192.168.0.1;
      option broadcast-address 192.168.0.255;
      default-lease-time 600;
      max-lease-time 7200;
      }
    13. Save the edited file (Sample)

    14. Type the following command(s):

      # /etc/init.d/dhcp3-server restart



    Database Server


    How to install MYSQL Database Server?

    1. Read General Notes.

    2. Read How to add extra repositories?

    3. Type the following command(s):

      # apt-get install mysql-server
      # mysqladmin -u root password db_user_password

    How to install MYSQL Control Center?

    1. Read General Notes.

    2. Read How to add extra repositories?

    3. Read How to install MYSQL Database Server?

    4. Type the following command(s):

      # apt-get install mysqlcc
      # gedit /usr/share/applications/MySQLCC.desktop
    5. Insert the following lines into the new file:

      [Desktop Entry]
      Name=MySQLCC
      Comment=MySQLCC
      Exec=mysqlcc
      Icon=/usr/share/pixmaps/mysqlcc.xpm
      Terminal=false
      Type=Application
      Categories=Application;System;
    6. Save the edited file (Sample)

    7. Read How to refresh GNOME panel?

    8. Click onApplications -> System Tools -> MySQLCC


    Apache HTTP Server


    How to install Apache HTTP Server for HTTP (Web) Server service?

    1. Read General Notes.

    2. Read How to add extra repositories?

    3. Type the following command(s):

      # apt-get install apache2 or apt-get install apache
    4. Type in GNU Iceweasel location bar: http://localhost

    How to install PHP for Apache HTTP Server?

    1. Read General Notes.

    2. Read How to add extra repositories?

    3. Read How to install Apache HTTP Server for HTTP (Web) Server service?

      # apt-get install php4 or apt-get install php5
      # gedit /var/www/testphp.php
    4. Insert the following lines into the new file:

      <?php phpinfo(); ?>
    5. Save the edited file (Sample)

    6. Type in GNU Iceweasel location bar: http://localhost/testphp.php

    How to install MYSQL for Apache HTTP Server?

    1. Read General Notes.

    2. Read How to add extra repositories?

    3. Read How to install Apache HTTP Server for HTTP (Web) Server service?

    4. Read How to install PHP for Apache HTTP Server?

    5. Read How to install MYSQL Database Server?

      # apt-get install libapache2-mod-auth-mysql or apt-get install libapache-mod-auth-mysql
      # apt-get install php4-mysql or apt-get install php5-mysql
      # /etc/init.d/apache2 restart or apachectl restart

    How to map URLs to folders outside /var/www/?

    1. Read General Notes.

    2. Read How to install Apache HTTP Server for HTTP (Web) Server service?

    3. Type the following command(s):

      # gedit /etc/apache2/conf.d/alias or gedit /etc/apache/httpd.conf
    4. Insert the following lines into the new file:

      Alias /URL-path /location_of_folder/
      <directory /location_of_folder/>
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
      </directory>
    5. Save the edited file (Sample)

      # /etc/init.d/apache2 restart
    6. Type in GNU Iceweasel location bar: http://localhost/URL-path

    How to change the default port number for Apache HTTP Server?

    1. Read General Notes.

    2. Read How to install Apache HTTP Server for HTTP (Web) Server service?

    3. .g. Assumed that new port number is 78.
    4. Type the following command(s):

      # cp /etc/apache2/ports.conf /etc/apache2/ports.conf_backup
      # gedit /etc/apache2/ports.conf
    5. Find this line:

      Listen 80
    6. Replace with the following lines:

      Listen 78
    7. Save the edited file (Sample)

    8. Type the following command(s):

      # /etc/init.d/apache2 restart
    9. Type in GNU Iceweasel location bar: http://localhost:78

    How to parse RSS into PHP for Apache HTTP Server?

    1. Read General Notes.

    2. Read How to install Apache HTTP Server for HTTP (Web) Server service?

    3. Read How to install PHP for Apache HTTP Server?

    4. e.g. Assumed that RSS is DistroWatch.com - News.
    5. Type the following command(s):

      $ wget -c http://frankandjacq.com/ubuntuguide/magpierss-0.71.1.tar.gz
      # mkdir /var/www/feeds
      # tar zxvf magpierss-0.71.1.tar.gz -C /var/www/feeds/
      # mv /var/www/feeds/magpierss-0.71.1/* /var/www/feeds/
      # rm -fr /var/www/feeds/magpierss-0.71.1/
      # chown -R www-data:root /var/www/feeds/
      # gedit /var/www/feeds/index.php
    6. In sert the following lines into the new file:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <head>
      <title>DistroWatch.com - News</title>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
      <style type="text/css">
      /*<![CDATA[*/
      /*
      DEFAULT TAG STYLES
      */
      body {
      background: #ffffff;
      margin-left: 20px;
      font-family: bitstream vera sans,sans-serif;
      font-size: 9pt;
      }
      h1 {
      font-family: luxi sans,sans-serif;
      font-size: 15pt;
      }
      /*]]>*/
      </style>
      </head>
      <body>
      <?php
      Require_once 'rss_fetch.inc';
      error_reporting(E_ERROR);
      $url = 'http://distrowatch.com/news/dw.xml';
      $rss = fetch_rss($url);
      if ($rss) {
      echo "<h1>";
      echo "<a href=$url>", $rss->channel[title], "</a><br/>";
      echo "</h1>";
      foreach ($rss->items as $item ) {
      $url = $item[link];
      $title = $item[title];
      $description = $item[description];
      echo "<li>";
      echo "<b>Topic:</b> <a href=$url><b><u>$title</u></b></a><br/><br/>";
      echo "$description<br/><br/>";
      echo "</li>";
      }
      }
      else {
      echo "<a href=$url>", $url, "</a> - Server Down!<br/>";
      }
      ?>
      </body>
      </html>
    7. Save the edited file (Sample)

    8. Type in GNU Iceweasel location bar: http://localhost/feeds/index.php


    Troubleshooting


    Configuring network interfaces... (taking too long to load)

    1. Read General Notes.

    2. Read How to temporary skip boot-up services?

    How to forcefully empty Trash in GNOME?

    1. Read General Notes.

    2. Type the following command(s):

      # rm -fr ~/.local/share/Trash
    Last modified 5 years ago Last modified on Mar 30, 2011, 4:37:33 PM

    Attachments (3)

    • trac.png (6.1 KB) - added by SashaLenor 3 years ago. A room will take any number of decorating combinations when you use exotic Bohemian bedding sets. Mix and match tones with various fabrics and color combinations. Almost anything goes with the martha stewart sheet sets. Give your bed a total makeover with bedroom flair. Some colors argue with one another, struggling to take center stage, but with the exotic you get with white and black comforters blends like a great cup of coffee and smooth relaxation. The bedroom is one of the most popular places to incorporate an martha stewart bedding sets. This is because it is where most people can express their individuality. Wall paintings are also very popular in such a setting. The most common way to incorporate this theme in the bedroom is through specific martha stewart bed in a bag set. This is the easiest way to do so as well. Sheet sets are typically all inclusive and have done the dirty work for you. All you have to do is purchase the set and everything you need to have perfect new owl bedding sets is complete. Wall decorations and surfboards in the corner are also a nice added touch. When choosing a color scheme, go for neutral colors for the background; this is especially true if the loft is visible from other areas inside your home and with the black and red comforter sets. Since loft spaces are generally open to other portions of your home, make sure that the colors that you use in your loft space work with the white and navy bedding the space and look good when you see the loft from other vantage points in your home. Adding a pop of color with pink bedding damask sets or bring life to the space while still permitting it blend with the rest of the home. They clip inside the corners of your bedding for girls set, securing your comforter to your duvet cover or you can sew ties inside each corner of the cover to hold the leopard bedding sets in place. Another important thing to remember when purchasing this type of damask bedding sets is the fabric and the thread count. Finally we can now decide on the right design and colors that will look great with the animal bedding sets and decor in your bedroom. When deciding on the color, it is always a good idea to go with the color of your walls. You do not want to get a purple bedding sets that has too much of the color you have on the walls. Less is always more. When looking for the white and black bedding, it just depends on the look you are going for. There are many options when choosing the style of your mickey mouse bedding sets room. When you need to decide on the larger furniture, for a more western themed white and black floral bedding sets bedroom, you may think about using a heavy black wrought iron bed frame. Combined with martha stewart quilts that carries with it, a distinct bunkhouse ranch cowboy feel, you'll easily have a winning combination.
    • KAV-2014-200x31010-211337.png (47.9 KB) - added by couponcode 3 years ago. Parallels can run both operating systems side-by-side seamlessly as if you are actually using a PC to run your Windows programs. Meanwhile, you can still run your Mac programs with no issues at all. Parallels makes it so you never have to worry about system compatibility. Instead, you can use all the programs you want with no worries at all. Never worry about system compatibility again. Instead, use Parallels to make sure you are compatible with every program. Take advantage of some of the discounts on Parallels by using the following tips: Do a simple search in Google.com by typing in "Parallels coupon codes." While a number of coupon savings websites such as Retailmenot.com become available in the search query, be sure to look at each <a href="http://techpromocodes.com/vmware-promo-code/">coupon</a> to find which ones are valid and which ones have expired. Be sure to also follow for news on Parallels.com and social media sites.
    • blue1.jpg (65.6 KB) - added by Slavon 20 months ago. meetingsnet.com specialevents.com

    Download all attachments as: .zip