I created CakePHP project on Window 7 and I sent that project under folder(/usr/share/nginx/html/ ) of Ubuntu 14.04 Server.
I installed php, nginx in Ubuntu Server.
How to run CakePHP project
You don't actively 'run' a CakePHP project. You put the files somewhere where they are accessible by the webserver, who than executes your code for a HTTP request.
In your case you shouldn't have to do much more. Assuming that /usr/share/nginx/html/ is the default of your server, you can simply go to your servers IP address and that should be it.
Related
I have successfully installed Apigility to a remote CentOS server. It tell me to go to http://localhost:8888 to access the admin panel. This server does not have a GUI installed so I don't have the ability to remote in to use a web browser. Is there a workaround to access the Apigility interface remotely, possibly restricting access to my IP address? If not do I have to install it on my local machine and then deploy my work to the remote server?
You could add a .htaccess
file
to set a password on it
If you're deploying to AWS you should be able to configure your SecurityGroup to only allow request to your installation if you're trying to access it.
if you want to develop your application right now I would recommend to have a local installation in a docker container or so to perform your changes. If you're going live you shouldn't change anything in the admin surface either.
centOS server using terminal if i am right. The best way to do this with centOs server in terminal is to open port 8888 to the public and access the server from another system serverIP:8888 (using tools like firewalld in the centOs server. U will have to install firewalld) https://www.rootusers.com/how-to-open-a-port-in-centos-7-with-firewalld/
I'm working on ubuntu server 15.04 on Digital Ocean and I've installed Odoo ERP from github alongside with all the required libraries, packages, postgresql ...etc and have followed all the steps in order to set it up on my DO IP. The current situation is when I access it at http://188.166.125.13:8069/ I get an internal server error. As long as I can tell from the terminal after executing the command ./openerp-server --addonspath=addons from inside the Odoo directory everything seems to be working fine, except that it seems to be reading the config locally executing 0.0.0.0 instead of my IP. Any clue about how to launch the application through the public IP and not locally?
Another question, is there a way to execute the droplet physically as backup so that I can reload it on any other server?
First please check your local IP config.
sudo vi /etc/network/interfaces
Next please check that your Apache server allows connection from outside.
First of all please make sure "Apache default page" serves to outside world. Here is guide for Laravel(apache section guide works for Odoo ERP)
https://www.dev-metal.com/install-laravel-4-ubuntu-12-04-lts/
As I checked last time you can't backup droplet from Digital ocean and reload to another server.
Good morning,
Working on installing Meteor on windows using the following guide:https://gist.github.com/gabrielhpugliese/5855677
As pointed out on other posts its a little dated and I needed to install meteor separately, which I used this guide: Unable to install meteorite on Ubuntu VM
Currently, my set up can do the following:
files stay in sync between vagrant and windows
localhost:3000/ is working on the server
What I still need help completing:
when opening localhost:3000/ in my windows browser, I get the "This webpage is not available
I know that the vagrant VM is correctly serving the app because I opened a new instance of vagrant and curled the localhoust:3000/
I am actively working in django and node and can successfully run apps locally on :8000 and :8080, I tested the meteor app on those ports but still couldn't connect. I also created a windows firewall port exception on 3000 but the results didn't change.
I know that there is a windows-preview currently out, but that is not working for me and I have an issue being tracked in gitHub.
Thank you in advance.
One thing that might be worth mentioning is it is somewhat possible to use Meteor on windows.
More details here: https://github.com/meteor/meteor/wiki/Preview-of-Meteor-on-Windows.
With your vagrant machine it sounds like there is a problem with port forwarding on your localhost machine to the VM's ports.
One possible simple way to get passed this is to get your Ubuntu machines IP address and simply load it up using http://<ip address>:3000.
I'm not sure why the port forwarding isn't working on your machine. In general the reason is provided when you run vagrant up, if there was an issue.
I've used PuPHPet to set up a development environment and did "vagrant ssh" to get into the machine. After that I installed meteor via curl https://install.meteor.com/ | sh, which worked as expexcted. I thought it would install it to the sync folder I have set up but it doesn't seem to be there. Can I find the file structure of the virtualized machine on my Windows PC?
How does it work? If meteor tells me I can access my meteor app via localhost:3000 how do I access this on my Windows PC?
I'm not so familiar with vagrant and windows, but give this a try.
Login with vagrant ssh
Open terminal and type hostname --ip-address
Paste <yourip> localhost in your hosts file on your windows machine system32\drivers\etc\hosts
Now, all your localhost requests in your browser are send to your vagrant box. I'm not sure if Meteors standard port works with vagrant, so try something like meteor -p 2000 or meteor -p 8080
If you want something like myapp.dev in your browser, you have to use virtual hosts. I'm only familiar with apaches virtual host system, but meteor is using nodejs so i don't know, what would be the best practice here. :/
I am creating a Flex project on my Windows machine but it will deploy on my Linux machine.
For application server type I selected PHP
I click next to go to the next screen.
I am then asked for Web root. I put in /var/www which is the web root of the linux server where the application will be.
I get an error telling me:
The selected web root folder does not exist.
Of course it does not exist on my windows machine, its on my linux machine. It will not let me click finish.
What do I do? do I have to author my Flex app on the same machine that it will be deployed? I hope not since I do not have a Linux version of Flash Builder.
edit:
By the way I am following this tutorial if it matters.
Use the web root on your windows machine. Sounds like Flex wants to know the webroot so it knows where the testing server is. If you do not have a webroot on your windows machine just install Wampserver or XAMPP
You can get away without installing a wamp server. just make sure the Web Root is a folder that acutally exists. then you can ftp the files over the linux machine for testing. Its easier to have the server on the same machine but whatever your preference is.