Linux

From Triangle Wiki

Jump to: navigation, search

Contents

Introduction

Guidelines for installing SUSE 10.1 onto a system and configure this for Web / Database serving.

Installation

  • Download the SUSE Linux distribution from OpenSUSE the current version is 10.1 with 10.2 in Alpha 5 stage.

CronTab

  • Crons files are located in var/spool/cron/
  • File is called - [USER] - vi [USER]
  • crontab -u USER -l - To list the Crons under a user
  • crontab -u USER -e - To edit the Crons under a user
field        allowed values
-----        --------------
minute       0-59
hour         0-23
day of month 1-31
month        1-12 (or names, see below)
day of week  0-7 (0 or 7 is Sun, or use names)
  • Run command every 5 minutes during market hours
  • */5 6-13 * * * mon-fri php -f /var/www/html/get_stock_quote.php >> /dev/null

htpasswd

  • htpasswd [-cmdpsD] passwordfile username
  • htpasswd -b[cmdpsD] passwordfile username password
  • htpasswd -n[mdps] username
  • htpasswd -nb[mdps] username password
  • -c Create a new file.
  • -n Don't update file; display results on stdout.
  • -m Force MD5 encryption of the password.
  • -d Force CRYPT encryption of the password (default).
  • -p Do not encrypt the password (plaintext).
  • -s Force SHA encryption of the password.
  • -b Use the password from the command line rather than prompting for it.
  • -D Delete the specified user.

MV [Move File]

* mv [options]... Source... Directory

i.e. mv orange.doc ~/Documents/orange.doc

NFS Installation

PostFix Installation

PostFix Virtual Installation

Wireless Networking

Manufacturers of wireless adapters like Netgear and Belkin refuse to develop drivers for any other OS than M$ Windows. To overcome this problem, a wrapper application has been developed by the Linux community, and lets you use your windows drivers within Linux.

For an example step-by-step procedure of how to do this with a Netgear WG311T PCI adapter, look at this site:

These instructions can be adapted to use with other mainstream wireless adapters, but I have only managed to make it work with this particular adapter.

External Links

Personal tools