[aur-dev] INSTALL: Added MYUSER (needed from root)

Dan McGee dpmcgee at gmail.com
Wed Dec 5 09:19:25 EST 2012


On Wed, Dec 5, 2012 at 6:05 AM, Marcel Korpel <marcel.lists at gmail.com> wrote:
> ---

What on earth are you doing running any of these commands as root? You
most definitely should not be doing this when populating a database,
adding sample data, etc.

>  INSTALL | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/INSTALL b/INSTALL
> index 1a41066..a26dce9 100644
> --- a/INSTALL
> +++ b/INSTALL
> @@ -63,17 +63,17 @@ Setup on Arch Linux:
>
>   - Issue the following commands to the mysql client
>     mysql> GRANT ALL PRIVILEGES ON AUR.* to aur at localhost
> -        > identified by 'aur';
> +       -> identified by 'aur';
>     mysql> FLUSH PRIVILEGES;
>     mysql> quit
>
>   - Load the schema file
> -   # mysql -uaur -p AUR < ~/aur/support/schema/aur-schema.sql
> +   # mysql -uaur -p AUR < ~MYUSER/aur/support/schema/aur-schema.sql
>     (give password 'aur' at the prompt)
>
>   - Optionally load some test data for development purposes.
> -   # pacman -S words mysql-python
> -   # cd ~/aur/support/schema/
> +   # pacman -S words fortune-mod
> +   # cd ~MYUSER/aur/support/schema/
>     # python gendummydata.py dummy-data.sql
>     # bzip2 dummy-data.sql
>     # bzcat dummy-data.sql.bz2 | mysql -uaur -p AUR
> @@ -85,7 +85,7 @@ Setup on Arch Linux:
>     mysql> UPDATE Users SET Email = RAND() * RAND();
>
>  7) Copy the config.inc.php.proto file to config.inc.php. Modify as needed.
> -   # cd ~/aur/web/lib/
> +   # cd ~MYUSER/aur/web/lib/
>     # cp config.inc.php.proto config.inc.php
>
>  8) Point your browser to http://aur
> --
> 1.8.0.1


More information about the aur-dev mailing list