You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
su - deploy
git clone /srv/git/foo.git tmp
wget http://wordpress.org/wordpress-3.3.2.tar.gz
tar -xzf wordpress-3.3.2.tar.gz
rm wordpress-3.3.2.tar.gz
mv wordpress foo.bar
# create mysql db and user (see below), then:
gunzip < tmp/live.sql.gz | mysql -u foorw foodb --password=foopasswd
rm tmp/live.sql.gz
mv tmp/* foo/
Mysql
database: foodb
user: foorw
passwd: foopasswd
CREATE USER 'foorw'@'localhost' IDENTIFIED BY 'foopasswd';
CREATE DATABASE foodb;
GRANT ALL ON foodb.* TO 'foorw'@'localhost';
su - deploy
git clone /srv/git/foo.git
cd foo
wget http://wordpress.org/wordpress-3.3.2.tar.gz
tar -xzf wordpress-3.3.2.tar.gz
rm wordpress-3.3.2.tar.gz
Depends on Php Fastcgi, Mysql, Nginx and Deploy.
File structure
Create the following dirs:
Place project files
Mysql
database: foodb
user: foorw
passwd: foopasswd
Nginx
Create
/etc/nginx/sites-available/foo
with:Create the following link
Restart nginx
The text was updated successfully, but these errors were encountered: