Can Omnipay be used if you don't own the server? - omnipay

Omnipay uses something called "GetComposer.com" for installation whos purpose is apparently to download and install other, required software.
Am I correct that this means Omnipay cannot be used in a shared hosting environment where you don't have hands-on-metal access to the hardware?

I know this is an old question, but it's unanswered so....No, you're not correct.
Composer simply downloads the required libraries for your application. It does require terminal access (Putty for example) to the machine, and that's about the only limitation you could see on a shared hosting environment. Some allow it, others do not.

You can use Omnipay on your website installed on external hosting. To do this first you need to download all libraries on local machine with use Composer an application-level dependency manager. But You must have installed web server with PHP on You local machine.(for example XAMPP) You need to use Command Prompt on Windows or Terminal on Linux to download libraries with use Composer. Then just copy "Vendor" folder to your hosting through FTP. Remember to use proper version of PHP.

Related

How to install OpenAM Web Policy Agent on Windows Apache HTTP Server?

I am trying to install OpenAM using Default Configuration on Windows from the official documentation of OpenAM: https://backstage.forgerock.com/docs/openam/13.5/getting-started/#create-web-policy-agent-profile
In the last step of Setting up the Software: To Install OpenAM Web Policy Agent, they have installed OpenAM Web Policy Agent on Linux. Can someone specify the steps to install it on a Windows system.
PS - I have installed Apache HTTP Server and performed all the previous steps as mentioned.
Are you trying to install the Web Agent on IIS or are you trying to install it via Apache HTTP Server on Windows? I assume the latter. So not much is really different between the 2 operating systems with Apache as you are just installing and enabling the agent module. All the agentadmin really does is write to the apache configuration the location of the module, the configuration location along with some syntax to turn it on. It also does some connectivity / sanity checks etc.
One thing to note is that you have referenced the OpenAM/QuickStart documentation rather than the actual agent documentation itself, where you will find far more useful information.
I am assuming that because you are using 13.5 then you are using the community edition, of which only WPA 4.x will work.
My DockerFile installs the agent like this for apache24 through the following command (using choco to install apache24). However, it can be translated quite easily and is available in the documentation:
RUN ["powershell", "-Command", "C:/web_agents/apache24_agent/bin/agentadmin.exe --s 'C:/Apache24/conf/httpd.conf' 'http://openam.xxx.xx:8080/am' 'http://agent.xxx.xx:80' '/' 'wpa-agent' 'c:/pwd.txt' --acceptLicence --forceInstall"]

How to install Laravel app to free web hosting?

I've been serving my Laravel app on my local machine (MAC OSX Maverick) via the php artisan serve command in the terminal.
How do I install it to my a free a hosting for testing? Technically, I only have a free web hosting account. This means I can't perform any command-line commands (SSH). Is there any simple way to install it? Can I just simply copy my Laravel app folder and put it on a web host?
Easiest solution: Deploy it to OpenShift using a Laravel QuickStart. OpenShift is free, gives you SSH access, and basing your app off the Laravel QuickStart should handle the more complicated configuration bits.
"Can I just simply copy my Laravel app folder and put it on a web host?"
Pretty much this is the answer. You can upload your entire Laravel application to your webserver, and it should work.
But I'll warn you now that without command-line access - your going to have issues in the future. Try and find an alternative host for your website that provides command line access

Configure SVN on WIndows 8

I am new in SVN configuration. I have Windows 8 with 4 drives. I am planing to configure TortoiseSVN 1.7.12 on one of drive and will do the checkout from another drive.
I have installed it but unable to configure it as SVN server.
How can i configure it?
Appreciate you help on this.
Thanks in advance.
You can't get TortoiseSVN configured as a server because it's not a server. TortoiseSVN is a client.
If you wish to run a server, you need to acquire & install Apache (if you want to use HTTP access) and a Win32 command-line build of Subversion (no matter what). You may find this easier via one of the pre-built packages such as CollabNet Subversion Edge, VisualSVN Server, or uberSVN
If you're going to be sharing with someone else, get a separate server set up and managed properly - don't run it off your desktop (what happens when your hard drive crashes, or you go away on vacation?).
The current stable version of TortoiseSVN is 1.7.13. You might consider using that.
Server configuration is an activity which you should do after careful preparation.
You may read the details here:
http://svnbook.red-bean.com/en/1.7/svn.serverconfig.html

How install Wordpress in a EC2 machine?

I have an EC2 instance running with Glassfish Server Open Source Edition.
And now I need to setup the a website in wordpress.
How can I do that ?
I'm looking for 5 minutes installation tutorial but I'm stuck in the part where it's says about the webserver.
I have to install the Apache in Linux then enable the FTP access ? (to upload the wordpress files ? )
For now I'm stuck in this part guys, any tip is very welcome.
Ok. This is going to be a bit of a high level overview of what you need to do. Its a long process which you need to look into.
Glassfish server is (afaik) for Java applications. Wordpress is a PHP/mysql based system.
Apache is a free and open source web server which you can use, which integrates with php and mysql nicely. What you need is called a LAMP setup (LAMP stands for "linux, apache, mysql and php). You haven't specified what your EC2 is running (what linux distro) but lets say its Ubuntu. A quick search for "installing lamp ubuntu" on google turns up many different tutorials and walkthroughs for installing a lamp setup on your machine.
You'll need SSH access (which you'll have with EC2) then if you run through your tutorial of choice you'll have a working web server, you'll specify a public_html directory (usually by default /var/www).
Now to install Wordpress. What you could do is install an FTP server. This is going to be relatively complicated though, however it will be the easiest way to install Wordpress. Install FTP and upload the wordpress files to the public html directory, then you will be able to run through the 5 minute install process using the mysql database credentials you set up in the LAMP tutorial.
An easier way to do what you need to do is to install subversion on your EC2 instance - e.g. sudo apt-get install subversion on ubuntu. That way you can svn export the wordpress repository to your public html folder (http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion).
However, without an FTP server running on your EC2 instance you won't be able to FTP in to modify files or anything. You'll have to do everything over SSH (or SFTP) which may or may not be manageable for you.
In all honesty, and with the utmost respect, if you don't know about apache and installing a LAMP server and such then you're probably a bit out of your depth with Amazon's EC2 server. You'd be better off with a dedicated server from a hosting company who will have installed everything you need.

Is there any equivalent of XAMPP for Pylons?

I'd like to get started with Pylons, to be used on a Windows machine as a local web server. Is there any equivalent of e.g. XAMPP for Pylons that would set up everything with one installer?
Edit: I've just discovered the Pylons web server. Could I use this to serve pages to computers on a LAN?
One thing that you could do is use mod_wsgi with XAMPP. Unfortunately I am not aware of any installers for that combination.
You almost never want to use the web server built into the framework, but Pylons uses Paste, which is quite a bit more capable than most stock web servers so that could be an acceptable alternative if you don't need httpd.
pylons can be installed using easy_install or unzipping the tarball and running "python setup.py install" (like any python package).
the great google god machine says it's possible to run a wsgi app under IIS(shudder),
other than that, once you have your pylons application written, consider running it as a windows service