install mysql-admin mysql-query-browser
sudo apt-get install git-gui
sudo apt-get install ruby-full build-essential
sudo gem install rails
sudo apt-get install libmysql-ruby libmysqlclient-dev
sudo gem install mysql
database.yml
adapter: mysql
username: hospital
password: hospital
database: hospital
encoding: UTF8
timeout: 5000
database: mynewapp_development
pool: 5
socket: /var/run/mysqld/mysqld.sock
IMPORT data
mysql --verbose --user=XXXXXXXX --password=XXXXXXXX DB_NAME < /PATH/TO/DUMPFILE.SQL gem install mongrel sudo apt-get install apache2
sudo apt-get install apache2 sudo apt-get install libapache2-mod-proxy-html
sudo a2enmod proxy
sudo ln -s /etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled/proxy_http.loadListen 8000
nano /etc/apache2/sites-available/hospitalcompare
<VirtualHost *:8000> <
# ServerName otherserver.me
ProxyPass /hospital_compare http://localhost:3000/hospital_compare
ProxyPassReverse /hospital_compare http://localhost:3000/hospital_compare
ProxyPreserveHost onProxy *> <
Order allow,deny
Allow from all/Proxy> </VirtualHost>
copy and untar drupal stuff to /var/www/drupal
http://mugdemo.info/drupal.tarsudo a2ensite hospitalcompare
No comments:
Post a Comment