Changes between Version 4 and Version 5 of InstallationGuidelines/VirtualMachine


Ignore:
Timestamp:
11/06/11 14:31:13 (13 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/VirtualMachine

    v4 v5  
    5050
    5151=== Security and accounts ===
    52 ''root'' password is set through a dialog box on first boot.
     52The ''root'' password is set through a dialog box on first boot.
    5353
    54 The user named ''dev'' should have it's password set from the command line, when first boot is complete, with the command:
     54The development environment is owned by the ''dev'' account. When first boot is complete, change its password too: Start a terminal window (from the accessories menu), and enter the command:
    5555{{{
    5656passwd dev
    5757}}}
    5858
    59 You should then reboot & use the GUI to login as the user 'dev'.
     59Then reboot and use the GUI to log in as user ''dev''.
    6060
    61 Note: There is no practical reason to login in as ''root''.
    62 If one needs root privileges, ''dev'' has sudo privileges. In a terminal window, to execute one command or a pipeline of commands as root:
     61Note: There is no practical reason to log in in as ''root''.
     62If one needs root privileges, ''dev'' has sudo privileges. In a terminal window, to execute one command or a pipeline of commands with root privileges:
    6363{{{
    6464sudo command-to-execute-as-root
    6565}}}
    66 This will prompt for a password if sudo hasn't been run recently -- it is asking for the ''dev'' password.
     66This will prompt for a password if sudo hasn't been run recently -- it is asking for the current user's password -- here, that's the ''dev'' password.
    6767
    68 To change passwords after first boot: log in as ''dev'', start a terminal window, and enter the following commands:
     68To change passwords after first boot, log in as ''dev'', start a terminal window, and enter the following commands:
    6969{{{
    7070sudo passwd root #change root password
     
    7474The Web2py administration password is set when Web2py is started. For starting Web2py from the command line:
    7575{{{
    76 /home/dev/web2py.py -a xxx -i 127.0.0.1 -p 80
     76/home/dev/web2py.py -a admin -i 127.0.0.1 -p 80
    7777}}}
    78 Replace {{{xxx}}} with the password you want.
     78That will set the administration password to "admin".  When Web2py is started from Eclipse, it uses a command that is set when Eclipse is configured -- that will be covered later.
    7979
    8080Although it's usually good to get security updates for the operating system and applications, updating may lead to incompatibilities with other software, and has been known to render the system unusable. So do the following only if you know there is a security issue, and not when you're in the middle of something critical.[[br]]
     
    8989
    9090=== Scripts ===
    91 /usr/local/bin contains three helpful scripts. To run them, start LXTerminal (in the accessories menu) and simply enter the commands as demonstrated below. They are in all users' paths, so may be executed from any working directory.
     91/usr/local/bin contains three helpful scripts. To run them, start a terminal window and enter the commands below. They are in all users' paths, so may be executed from any working directory.
    9292==== Update web2py ====
    9393Enter the command with or without a revision number, as demonstrated below: