Phpwebsite

From Gentoo Wiki
Jump to: navigation, search
This article is a stub. You can help by expanding it.
Resources
Resources

Installation

USE flags

Cannot load package information. Is the atom www-apps/phpwebsite correct?

MySQL

Create a database for phpwebsite to interact with.

Note
change the changeme's to your own password
root #mysql -u root -p
mysql> CREATE DATABASE IF NOT EXISTS `phpwebsite` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
mysql> CREATE USER 'phpwebsite'@'localhost' IDENTIFIED BY 'changeme';
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `phpwebsite`.* TO 'phpwebsite'@'localhost' IDENTIFIED BY 'changeme';
mysql> \q

Emerge

root #emerge --ask phpwebsite

Web install

Navigate to http://127.0.0.1/phpwebsite

The database name is phpwebsite, database user is phpwebsite, database password is changeme

  • Next
  • Click to continue
  • Create a new root user to administrate the site.
  • Continue to your new site.

Navigate to http://127.0.0.1/phpwebsite to see your finished phpwebsite.