Some useful notes from the board ...
Run states of Unix and Linux systems:
0 - Halted
1 - Single User
2 - Multiuser
3 - Full Multiuser (inc servers)
5 - Same + X Windows
6 - transient reboot
Install Order for LAMP
Linux ...
... then Apache httpd
... then MySQL
... then PHP.
PHP
must be after MySQL if you want to load in the drivers from the MySQL distribution within the PHP!
Lots of bin directories
bin directories contain (or originally contained) binary programs.
/bin - needed at boot time
/usr/bin - regular part of the operating system
/usr/local/bin - local additions to the OS
/usr/local/java/bin - Java binaries
/sbin - system admin binaries needed at boot
/usr/sbin - systenm admin binaries not needed at boot
Shell Special Characters
$ - Shell variable substitution
' - protect string from shell
" - protect string from shell (not $)
\ - protect next char from shell
` - run embedded command first
* - match any characters in file name
? - match any one character in file name
[] - match any listed character in file name
> - redirect stdout (output)
< - redirect stdin (input)
| - pipe output in to next command
space - separate paramaters
c/r - command terminator
; - multiple commands on one line
& - run command in background
(written 2007-08-03 00:20:43)
Associated topics are indexed under
A164 - Web Application Deployment - Services and Regular JobsA191 - Web Application Deployment - Installing LinuxA162 - Web Application Deployment - Backups and File System ManagementA101 - Web Application Deployment - Linux -An Introduction For Users
Some other Articles
DHCP automatic IP address v Static IPDay trip to WeymouthBadges, Breakfasts and TriggerPure PerlLinux run states, shell special commands, and directory structuresWork and play at Well House Manor - Football and Shell ShortcutsA wasted evening?In the army, or in civvie street?An update on the West Wilts show ...Generating traffic for network testing