Thursday, March 7, 2013

root folder in lamp and svn then db dump

web root folder in lamp installation isnormally kept at /usr/local/apache/htdocs

to add files commited to svn to web root,
come to web root folder and type
 svn checkout http://url of svn/trunk/
user name and password

then will get the files
for creating db via ssh ,

upload files to web root
then type mysql
>show databases;
>CREATE DATABASE 'dbname';
>use  'db name';---- enter database name at the place of 'dbname'
>show tables;

db will create.




No comments:

Post a Comment