Difference between revisions of "How-To Guides"

From Secure Computing Wiki
Jump to: navigation, search
(adding an article about how i decompressed an snom firmware)
 
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Here, please find how-to documents.
+
Many systems administration tasks are only achieved by following someone's How-To document.  This is our attempt to contribute to those much needed pages on the World Wide Web.
  
* [[Dump Over SSH]]
+
== Apple Macintosh ==
 +
=== ExpressCard EVDO Cards ===
 +
* [[Novatel Merlin EX720]] with Sprint
  
=== Wiki Stuff ===
+
=== Mail.app ===
* [[Extra Edit Buttons]]
+
* [[Transfer Mail.app]]
  
=== Windows (Bleh) Notes ===
+
== Networking ==
* Windows XP WPA2 Support [[WinXP WPA2]]
+
* [[IPv6 on FreeBSD 6.2]]
 +
* [[IPv6 DNS]]
 +
* [[DHCP6 Server]] on FreeBSD 6.2
 +
* [[DHCP6 Client]] on FreeBSD 6.2
  
=== Mail Server Stuff ===
+
== Electronic Mail ==
First off, the learning curve on postfix blows donkey balls.  Secondly, I've been using sendmail for way too long and don't really WANT to use postfix.  However, I admit that there are quite a few great advantages to the postfix MTA, such as Virtual Domains and the user interface.
+
* [[Postfix Mail Server Hints]]
 +
* [[Postfix Install]]
 +
* [[Delete Gmail Archives]]
  
==== SpamAssassin ====
+
== Cryptography/Encryption ==
* [http://sourceforge.net/projects/saq Cool quarantine for Postfix/SA]
+
* Secure Computing Root SSL and Various OS SSL Import How-To's: [[SCN-Root]]  
  
==== Postfix ====
+
== Backups/Data Preservation ==
[http://www.freesoftwaremagazine.com/articles/secure_email_servers_from_scratch_with_freebsd_6_part_2 http://www.freesoftwaremagazine.com/articles/secure_email_servers_from_scratch_with_freebsd_6_part_2]
+
* How to Perform [[Dump Over SSH]] with FreeBSD
 +
* Using [[gmirror]] on FreeBSD
  
[[Postfix How-To]]
+
== Databases ==
 +
* [[MySQL]]
  
==== vMail.Admin ====
+
== Log Analysis ==
Link sudo to /usr/bin/sudo
+
* [[Awstats and maillog]]
<pre># ln -s /usr/local/bin/sudo /usr/bin/sudo</pre>
+
  
== How to clear the queue ==
+
== System/Hardware Monitoring ==
From time to time your mail queue may get filled up. This may be due to network problems or misconfiguration. For instance, if you botch (typo) the relayhost parameter, the mail will be undeliverable.
+
* [[BMC Nagios]]
 +
** A plugin for Nagios 2+ to monitor Dell BMC data.
 +
* [[PDU Nagios]]
 +
** A plugin for Nagios 2+ to monitor SNMP data from enabled PDUs and UPSes.
 +
* [[PDU Cacti]]
 +
** XML and scripts to monitor SNMP enables PDU's and UPSes.
  
The first thing to do is fix the problem, meaning get the network back online, or fix the configuration. Issuing this command will tell postfix to try and deliver the mail from the queue.
+
== Trac/SVN/Apache+DAV ==
 +
* [[SVN & Whistles]]
  
  postfix flush
+
== Web Browsing ==
 +
* [[secure browsing]]
  
However if you discover (using the ''mailq'' command) that the deferred mail is useless anyway, it may be desirable to just purge it from the queue without delivering, like so...
+
== Document Handling / Formatting ==
 +
* [[Compress PDF]]
  
  postsuper -d ALL deferred
+
== Firmware Handling / Decompression ==
 
+
* [[Decompressing Snom Firmware]]
Finally, specific messages can be removed based on their message ID, which is the first thing shown for each message shown in the ''mailq'' output.
+
 
+
  postsuper -d 0C0FF240F2
+
 
+
=== Firefox ===
+
* No Scroll Tabs: goto about:config, set browser.tabs.tabMinWidth=1
+
* Close on Tab: goto about:config, set browser.tabs.closeButtons=1
+
 
+
=== MySQL Stuff ===
+
==== Links ====
+
* [http://www.howtogeek.com/howto/programming/mysql-give-root-user-logon-permission-from-any-host/ http://www.howtogeek.com/howto/programming/mysql-give-root-user-logon-permission-from-any-host/]
+
 
+
 
+
 
+
==Command Line Foo==
+
*perform grep to highlight only certain text, but display all:
+
<pre>grep -e ".*<regex>.*" -e '$'</pre>
+
 
+
*perform grep on output from other commands like tail the use line buffering so there's no delay in post:
+
<pre>grep -e "regex" --line-buffered</pre>
+

Latest revision as of 19:56, 20 September 2016

Many systems administration tasks are only achieved by following someone's How-To document. This is our attempt to contribute to those much needed pages on the World Wide Web.

Apple Macintosh

ExpressCard EVDO Cards

Mail.app

Networking

Electronic Mail

Cryptography/Encryption

  • Secure Computing Root SSL and Various OS SSL Import How-To's: SCN-Root

Backups/Data Preservation

Databases

Log Analysis

System/Hardware Monitoring

  • BMC Nagios
    • A plugin for Nagios 2+ to monitor Dell BMC data.
  • PDU Nagios
    • A plugin for Nagios 2+ to monitor SNMP data from enabled PDUs and UPSes.
  • PDU Cacti
    • XML and scripts to monitor SNMP enables PDU's and UPSes.

Trac/SVN/Apache+DAV

Web Browsing

Document Handling / Formatting

Firmware Handling / Decompression