Changes

Jump to navigation Jump to search
18 bytes removed ,  10:01, 16 November 2007
no edit summary
Line 1: Line 1:  
'''Created by: [[User:PicsOne|PicsOne]] (Normando Hall), added info: [[User:Kruhm|Kruhm]]'''
 
'''Created by: [[User:PicsOne|PicsOne]] (Normando Hall), added info: [[User:Kruhm|Kruhm]]'''
   −
===Apache Related Commands===
+
==Apache Related Commands==
    
*Expand <b>httpd.conf</b> template:
 
*Expand <b>httpd.conf</b> template:
Line 36: Line 36:  
  /etc/init.d/httpd-e-smith restart
 
  /etc/init.d/httpd-e-smith restart
   −
===PHP Related Commands===
+
==PHP Related Commands==
 
*Expand <b>php.ini</b> template:
 
*Expand <b>php.ini</b> template:
   Line 81: Line 81:  
Not secure. Instead use per ibay or directory.
 
Not secure. Instead use per ibay or directory.
   −
===Squid Cache===
+
==Squid Cache==
 
Extracted from: http://forums.contribs.org/index.php?topic=38848.msg176737#msg176737
 
Extracted from: http://forums.contribs.org/index.php?topic=38848.msg176737#msg176737
   −
====Flush and Restart====
+
===Flush and Restart===
    
  sv d /service/squid
 
  sv d /service/squid
Line 93: Line 93:  
  sv s /service/squid
 
  sv s /service/squid
   −
===Command-Line Quick Reference Guide===
+
==Command-Line Quick Reference Guide==
 
Below is a list of commands that I use all the time & tend to forget.
 
Below is a list of commands that I use all the time & tend to forget.
====Generic Linux====
+
===Generic Linux===
 
  COMMAND NAME DESCRIPTION
 
  COMMAND NAME DESCRIPTION
 
  man <commandname>      shows more info about a command
 
  man <commandname>      shows more info about a command
Line 121: Line 121:  
  mdadm --detail /dev/mdx (where x is 0,1,2,etc) gives raid info
 
  mdadm --detail /dev/mdx (where x is 0,1,2,etc) gives raid info
   −
====RPM's====
+
===RPM's===
 
  rpm -qa         shows all rpms installed
 
  rpm -qa         shows all rpms installed
 
  rpm -qa --last shows all rpms installed & installation date
 
  rpm -qa --last shows all rpms installed & installation date
Line 129: Line 129:  
  rpm -qf <filename>      reports what package a file belongs to
 
  rpm -qf <filename>      reports what package a file belongs to
   −
====YUM'ing====
+
===YUM'ing===
 
  yum install <packagename>              installs packagename & any package it may need
 
  yum install <packagename>              installs packagename & any package it may need
 
  yum remove <packagename>                removes packagename
 
  yum remove <packagename>                removes packagename
Line 138: Line 138:  
  yum --enablerepo=<reponame> <command>  enables a repo not normally enabled
 
  yum --enablerepo=<reponame> <command>  enables a repo not normally enabled
   −
====SME specific====
+
===SME specific===
 
  signal-event post-upgrade performs sme to go through templates
 
  signal-event post-upgrade performs sme to go through templates
 
  signal-event reboot                    reboots the server
 
  signal-event reboot                    reboots the server
985

edits

Navigation menu