Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [code]
- echo "Gathering pertinent information...."
- echo "Please enter a password for the 'gvsms' MySQL User and press enter:"
- read installdbpass
- mysql -uroot -p -Be "SET PASSWORD FOR 'gvsms'@'localhost' = PASSWORD( '$installdbpass' )"
- echo "Database Password Set! Remember it!"
- echo " "
- echo "Please enter the email address that is associated with your GVoice account:"
- read gvemail
- echo " "
- echo "Please enter the password that is associated with your GVoice account:"
- read gvpass
- echo " "
- echo "Setting values..."
- cd /var/www/html/gvsms
- echo "<?php" >> config.inc.php
- echo "$username = 'gvsms';" >> config.inc.php
- echo "$password = '$installdbpass';" >> config.inc.php
- echo "$database = 'gvsms';" >> config.inc.php
- echo "$server = 'localhost';" >> config.inc.php
- echo "$gvoiceuser = '$gvemail';" >> config.inc.php
- echo "$gvoicepass = '$gvpass';" >> config.inc.php
- echo "?>" >> config.inc.php
- echo "Values set!"
- [/code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement