Changes between Version 14 and Version 15 of SandBox


Ignore:
Timestamp:
Mar 27, 2008 5:56:49 AM (6 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SandBox

    v14 v15  
    66Go ahead, edit it freely. 
    77 
    8 Example of using `pytb`: 
    9 {{{ 
    10 #!pytb 
    11 Traceback (most recent call last): 
    12   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request 
    13     dispatcher.dispatch(req) 
    14   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 238, in dispatch 
    15     resp = chosen_handler.process_request(req) 
    16   File "build/bdist.linux-i686/egg/webadmin/web_ui.py", line 109, in process_request 
    17   File "build/bdist.linux-i686/egg/combinewiki/web_ui.py", line 58, in process_admin_request 
    18   File "build/bdist.linux-i686/egg/combinewiki/formats.py", line 201, in process_combinewiki 
    19   File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 358, in display 
    20     data = self.hdf.render(template, form_token) 
    21   File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 296, in render 
    22     injector.feed(template.render()) 
    23   File "/usr/lib/python2.4/HTMLParser.py", line 108, in feed 
    24     self.goahead(0) 
    25   File "/usr/lib/python2.4/HTMLParser.py", line 148, in goahead 
    26     k = self.parse_starttag(i) 
    27   File "/usr/lib/python2.4/HTMLParser.py", line 226, in parse_starttag 
    28     endpos = self.check_for_whole_start_tag(i) 
    29   File "/usr/lib/python2.4/HTMLParser.py", line 301, in check_for_whole_start_tag 
    30     self.error("malformed start tag") 
    31   File "/usr/lib/python2.4/HTMLParser.py", line 115, in error 
    32     raise HTMLParseError(message, self.getpos()) 
    33 HTMLParseError: malformed start tag, at line 499, column 81 
    34 }}} 
    358 
    36  
    37 === delete === 
    38  
    39  1. Change this file so it can't be read by anyone except root: 
    40    {{{ 
    41    chmod g=,o= ~/mysql_lockdown.txt 
    42    }}} 
    43  1. Change root user name to {{{sf_admin}}}. 
    44    {{{ 
    45    UPDATE mysql.user SET User = 'sf_admin' WHERE User = 'root'; 
    46    }}} 
    47  1. Provide strong password for {{{sf_admin}}}. 
    48    {{{ 
    49    mysqladmin -u sf_admin password [STRONG-PASSWORD] 
    50    }}} 
    51  1. Change this file so it can't be read by anyone except root: 
    52    {{{ 
    53    chmod g=,o= ~/mysql_lockdown.txt 
    54    }}} 
    55  1. Change root user name to {{{sf_admin}}}. 
    56    {{{ 
    57    UPDATE mysql.user SET User = 'sf_admin' WHERE User = 'root'; 
    58    }}} 
    59  1. Provide strong password for {{{sf_admin}}}. 
    60    {{{ 
    61    mysqladmin -u sf_admin password [STRONG-PASSWORD] 
    62    }}} 
    63  1. Change this file so it can't be read by anyone except root: 
    64    {{{ 
    65    chmod g=,o= ~/mysql_lockdown.txt 
    66    }}} 
    67  1. Change root user name to {{{sf_admin}}}. 
    68    {{{ 
    69    UPDATE mysql.user SET User = 'sf_admin' WHERE User = 'root'; 
    70    }}} 
    71  1. Provide strong password for {{{sf_admin}}}. 
    72    {{{ 
    73    mysqladmin -u sf_admin password [STRONG-PASSWORD] 
    74    }}} 
    75  1. Change this file so it can't be read by anyone except root: 
    76    {{{ 
    77    chmod g=,o= ~/mysql_lockdown.txt 
    78    }}} 
    79  1. Change root user name to {{{sf_admin}}}. 
    80    {{{ 
    81    UPDATE mysql.user SET User = 'sf_admin' WHERE User = 'root'; 
    82    }}} 
    83  1. Provide strong password for {{{sf_admin}}}. 
    84    {{{ 
    85    mysqladmin -u sf_admin password [STRONG-PASSWORD] 
    86    }}} 
    87  
    88 [[ListTagged(four realm:wiki)]] 
     9[[ListTagged(four and one)]]