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"]
Related
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.
What is the best way to develop with open shift origin? Is it using vm or install it locally? I have tried installing the vm and I could not login to the vm. What is the default credential used to login to fedora vm.
Default credentials
Depending on which route you follow (see below) there might or might not be real authorization in place.
If you have the AllowAllPasswordIdentityProvider in place you can get away with test/test or whatever.
If you take the binary version (see below) this is what you'll have by default. I changed it to be HTPasswdPasswordIdentityProvider instead.
For the other options I think you will have a user called system, with the password admin coming with the setup.
Docker container version
You can quickly get OpenShift running in a Docker container using
images from Docker Hub on a Linux system. This method is supported on
Fedora, CentOS, and Red Hat Enterprise Linux (RHEL) hosts only.
Link: https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container
As per the origin folks, this setup is not (yet) a full example, but very easy to get started with. You should be able to follow the instructions to get an all-in-one instance up and running in no time. However, this approach cannot teach you how to create a cluster (master(s) and node(s))
Vagrant VM
This image is based off of OpenShift Origin and is a fully functioning
OpenShift instance with an integrated Docker registry. The intent of
this project is to allow Web developers and other interested parties
to run OpenShift V3 on their own computer. Given the way it is
configured, the VM will appear to your local machine as if it was
running somewhere off the machine.
The OpenShift Master, Node, Docker Registry, and other pieces are running in one VM. Given it's focus on application developers, it should NOT be used in production.
Link: https://www.openshift.org/vm
Binary option
Red Hat periodically publishes binaries to GitHub, which you can
download on the OpenShift Origin Releases page.
Link: https://github.com/openshift/origin/releases
This is the option I follow currently. You download the binaries, install GO, then setup the OC client tools. Next step you generate the configuration files and start adding your system components (router, ...).
Follow this page to understand the basics:
Link: https://github.com/openshift/origin/blob/master/examples/sample-app/README.md
Ansible route
For production installation you probably want to install your cluster via Ansible.
My humble advice is to do this once you got a bit of an experience via configuring by hand (see previous point). Let's hear some people with more experience though.
Link: https://docs.openshift.org/latest/install_config/install/index.html
Documentation in general
Link: https://docs.openshift.org/latest/install_config/master_node_configuration.html#creating-new-configuration-files
Spin up a Centos.7 VM, download the latest origin tools:
wget https://github.com/openshift/origin/releases/download/v1.3.0-alpha.2/openshift-origin-client-tools-v1.3.0-alpha.2-983578e-linux-64bit.tar.gz
tar xzvf openshift-origin-client-tools-v1.3.0-alpha.2-983578e-linux-64bit.tar.gz
ln -s /root/openshift-origin-client-tools-v1.3.0-alpha.2-983578e-linux-64bit/oc /usr/local/bin/oc
chmod 755 /root/openshift-origin-client-tools-v1.3.0-alpha.2-983578e-linux-64bit/oc
Bring up your single node origin cluster:
oc cluster up --use-existing-config --host-data-dir=/var/tmp/etcd
Login using the instructions provided.
I had a good experience configuring ColdFusion applications using IIS Web server but my client is asking me to configure the applications using Apache. I found few links where in I did not get the exact required information. My Question is is there any official path to download the Apache. If yes can any one share the path. How do I go after downloading the Apache web server. Does any one have step by step process to configure the Apache in ColdFusion.
By the way I am using ColdFusion 11 enterprise edition. We had multiple instances related to this ColdFusion 11. I had a option to select Apache when going to WSConfig file. But I am not exactly sure if I need to download the software before doing this process.
As per the ColdFusion 11 Support Matrix, Apache 2.2.26 and 2.4 are supported. You can download Apache 2.4 from here.
You can refer to this document, for how to install, configure and run Apache 2.4 under Microsoft Windows.
And lastly, you can refer to ColdFusion 11 Installation guide for installing and configuring CF11 with Apache.
I am trying to install Solr 4.6 with Drupal 7. For some reason, I am not able to. Probably, I am trying to install it on a remote server (my website server).
Here are the steps I am doing:-
Download Apache Solr Drupal Module from here and placed it in my Drupal modules folder (sites/all/modules/)
Enabled Apache Solr search and Apache Solr framework modules in admin/modules
Downloaded Apache Solr 4.2 from http://www.dsgnwrld.com/am/lucene/solr/4.6.0/
Unpack it outside my drupal installation and outside my web root/folder. (~/srv/www/solr)
Went to sites/all/modules/apachesolr/solr-conf/solr-4.x and copied all files to ~/srv/www/solr/example/solr/conf
I am stuck after this. I know I have to access my server at this address ~/srv/www/solr/example through command prompt (Terminal) to start the Apache Service but how can I do that?
Plus, on the site, it's written that I can access the Solr admin interface by visiting
http://localhost:8983/solr/admin, but how can I do that when my site is located on a remote server?
Please help.
Thanks.
I believe you have solr 4.6 (rather than 4.2) from the link you presented but the steps are the same for both.
Although Solr can run in any Java Servlet Container of your choice, the example index includes a small installation of Jetty.
To launch Jetty with the Solr WAR, and the example configs, just run the start.jar ...
user:~$ cd ~/srv/www/solr/example
user:~/srv/www/solr/example$ java -jar start.jar
At that point the server should be listening on 0.0.0.0:8983.
You can then access this server using http://remote.ip.or.hostname:8983/solr/admin (ex. http://8.8.8.8:8983/solr/admin)
You may want to consult the tutorial in the docs for further information.
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.