Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress LAMP Cloud Init HP Cloud
- apache2
- php5
- php5-mysql
- mysql-server
- wget -P /tmp/
- tar -zxf /tmp/latest.tar.gz -C /var/www/
- mysql -e "create database wordpress; create user 'wpuser'@'localhost' identified by 'changemetoo'; grant all privileges on wordpress . \* to 'wpuser'@'localhost'; flush privileges;"
- mysql -e "drop database test; drop user 'test'@'localhost'; flush privileges;"
- mysqladmin -u root password 'changeme'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment