Qual a diferença entre wamp bitnami e wampserver? - wamp

https://bitnami.com/stack/wamp
http://www.wampserver.com/
Vem com mais componentes ou é a mesma coisa?

Bitnami WAMP and wampserver are different products. In the case of Bitnami WAMP we bundle the following components:
Apache
MySQL
PHP
PHPMyAdmin
ImageMagick
SQLite
ModSecurity
Git
Zend Framework
Symfony
CodeIgniter
CakePHP
Smarty
Laravel
Plus, we offer WAMP modules for several web applications such as Wordpress, Joomla!, Drupal... amongst others.
Wampserver also offers its components apart from Apache, MySQL and PHP, namely phpMyAdmin, phpsysinfo... therefore you can try both and see which satisfies your needs better.

Related

How is the Bitnami djangostack created and is it a virtualenv?

I have used the Bitnami Djangostack before but I am not sure if this creates some type of virtualenv or what is the underlying mechanism on how it works or how it is put together.
Bitnami stacks are self-contained. In the /opt/bitnami/ folder you can find the most important assets to have a running Django application (from https://docs.bitnami.com/installer/infrastructure/django/)
Python language
Django framework
Apache Web server
MySQL database server (optional)
PostgreSQL database server (optional)
GeoDjango and PostGIS
Mod_wsgi

How may i connect ruby on rails with sql server on windows

Want to use sql server as a database instead of mysql in Windows.What configuration i need to change in database.yml file and what all gems are needed for installation.Please help.
Sorry to disappoint you, but there are no easy solutions for using Rails on a Windows platform. It was not designed to run on Windows and I don't think I would recommend Windows as a platform for a Rails app. Not to say it hasn't been done, but in my experience it would be far easier to setup and run on a Linux platform as it was designed to do.
There is support for MS SQL server and Rails and you can checkout this project for more information.
My recommendation is to learn more about Rails and setting it up the environment, because a red flag to me is that you want to deploy a Rails app and yet do not know how to set it for production. This should be Rails 101 knowledge. Production is just another environment for Rails, there are things you need to be aware of when running a Rails app in production and this information can be found on easily rubyonrails.org.
Put some more time into learning Rails and perhaps setup a Linux virtual machine, deploy your Rails app, and experiment. Once you learn how to deploy Rails on a Linux platform them perhaps it may be a little easier to understand how to go about doing it on Windows.
please refer :-- https://github.com/rails-sqlserver/activerecord-sqlserver-adapter
Or else you can try with this
What is left is to learn is how to use database engine that is probably of the most interest for developers who work on Windows – Microsoft's SQL Server. If you do not have MS SQL Server installed go ahead and download MS SQL Server Express installer from Microsoft's site. I will use version 2014 in this book. Let's first create database that we will use in our Rails application:
osql -b -S localhost -U -P -Q "CREATE DATABASE RwinBookDevel COLLATE SQL_Latin1_General_CP1_CS_AS"
Newest rails adapter for MS SQL Server uses tiny_tds library to connect to MS SQL server and its usage is almost straigtforward. First thing we have to do is to add following two lines to Gemfile:
gem 'tiny_tds'
gem 'activerecord-sqlserver-adapter'
And run bundle install.
With all prerequisites met we can now configure our Ruby on Rails application to use SQL Server. Connection options are displayed below:
development:
adapter: sqlserver
mode: dblib
host: localhost
port: 1433
username: <your_db_user_name>
password: <your_db_password>
database: ABC
Hope this will help you......

how to deploy django 1.8 application with nginx and gunicorn on ubuntu 14.04

Hi am developing my first web application and i have used django for the same. Now, after completing developing the site i want to host the same on a web server. I do have high speed static ip internet and dedicated server available for the same.
I want to use nginx and gunicorn for the purpose of server applications, i have thoroughly googled the topic and gone through at least 20 tutorials for deploying django applications, but almost all them have explained the process with older versions of django.
I have used django 1.8, it would be of great help if someone could provide a source to refer to continue with the deployment of the site.
Thanks in advance
The version of Django does not matter, i suggest you follow the next tutorial Deployment Django nginx supervisor

How to host Django localhost application no openshift?

I have create a Django application in my localhost.Now i need to host in the internet.I have tried openshift and pythonanywhere also.But hosting is not easy as i thought.How can i host localhost application in cloud?
Here are the links and description, you can learn and start.
PythonAnywhere
PythonAnywhere is an online Integrated Development Environment (IDE) and Web hosting service based on the Python programming language.
It provides in-browser access to server-based Python and Bash Command-line interfaces, along with a code editor with Syntax highlighting.
https://www.pythonanywhere.com/wiki/DjangoTutorial
OpenShift
OpenShift is a cloud computing platform as a service product from Red Hat. A version for private cloud is named OpenShift Enterprise.
The software that runs the service is open-sourced under the name OpenShift Origin, and is available on GitHub. Developers can use Git to deploy web applications in different languages on the platform.
https://github.com/openshift/django-example
Heroku
Heroku is a cloud platform as a service (PaaS) supporting several programming languages. Heroku was acquired by Salesforce.com in 2010. Heroku, one of the first cloud platforms, has been in development since June 2007, when it supported only the Ruby programming language, but has since added support for Java, Node.js, Scala, Clojure, Python and PHP and (undocumented) Perl. The base operating system is Debian or, in the newest stack, the Debian-based Ubuntu.
https://devcenter.heroku.com/articles/getting-started-with-django
Gondor
ref link: https://gondor.io/support/django/setup/
sources: wikipedia
You can try this github example, it lets you run the tutorial locally and then push to Openshift w/o any changes.
https://github.com/jfmatth/openshift-django16

how to restart single apache site on a ubuntu vps rather than all sites

I've got a ubuntu vps and apache mod wsgi installed and serving my django sites.
however i have to restart all of apache rather than the site i have amended and its going to be a bit shonky if i tell clients that i have restarted their site cos i updated another site.
is there a tutorial somewhere to teach me how to configure this? i couldnt find one in googles keywords soup.
I'm already using virtualenvs if it helps.
Assuming you use mod_wsgi in daemon mode on UNIX/Apache 2.X system to run Django and have shell access to your machine all you need to do is touch the wsgi configuration for your project.
touch your_project.wsgi
See mod_wsgi documentation on Reloading Source Code and Django - mod_wsgi wiki for more references.