Error deploying yii2-starter-kit Yii2 installation - web-services

I'm trying to deploy this Yii2 installation (https://github.com/trntv/yii2-starter-kit/blob/master/docs/installation.md#configure-your-web-server) but I'm having problems.
I think problems are related with this configuration step: "Configure your web server".
I've the webpage running here: http://vector5.raspctl.com/yii2-starter-kit/frontend/web/
But no one of the options works. For example, "Connect" option (http://vector5.raspctl.com/yii2-starter-kit/frontend/web/user/sign-in/login)
I can't found the error, any help?
Thanks.

The Yii2-Starter-Kit is not ready to work in a single-domain installation. You must enable, for example: backend.website.com, storage.website.com and the frontpage www.website.com
The installation guide, specifies this.
You can use this guide, to setup your single-domain installation (remember that the yii2-starter-kit also uses the storage folder!).
Have a great week.

Related

Google Cloud SDK installation fails on Windows

Tried installing Google SDK on Windows 2016 machine using both online and offline install. In both the cases installation fails with below error. Machine is behind firewall.
ERROR: (gcloud.components.update) Failed to fetch component listing from server. Check your network settings and try again.
When the error: "ERROR: (gcloud.components.list)" appears, it means that GCloud is attempting to make a request to the following url: "https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json". It seems that your configuration prevents this URL from being fetched, and there could be many factors for this behavior.
My suggestion is to:
Check if dl.google.com is part of the allowed IPs in your firewall rules.
According to the official documentation if you are behind a proxy/firewall, the components that the Cloud SDK installers download from the internet may not work correctly.
Sometimes this error is caused because SSL Cert Verification is failing for the component listing request from Google's servers. I have found a post where someone from the community resolved this issue.
Also, I found this other thread with a similar problem.
For a simpler installation process when proxy configuration is necessary, you might follow these instructions to install the SDK using self-contained versioned archives.
I have found another post where a user with the same error message was able to resolve it only disabling the IPv6, you can use the follow the next guide to disable your IPv6 on windows

How to deploy Cakephp website on Aws EC2?

I am a novice when it comes to deploying website. I have set up an EC2 instance and linked it to my domain. I proceeded to install Apache and I have obtained this result when I open my domain in browser.
implying I have done everything right until here.
Where do I go from here? I don't have prior linux experience one of the reasons for my situation. I need to deploy the cakephp project I have created.
I apologies for the rather broad question, it was only very recently that I learned to code.
Cakephp has a detailed documentation on how to install and configure cakephp.
https://book.cakephp.org/3.0/en/installation.html

Amazon AWS Service Error

I am currently trying to set up a Virtual Machine and a Database Server for my website to launch off of. I decided to go with Amazon's AWS.
I have beeing working through This Tutorial and am at Part 3 now.
I got to the point where I started the Apache Web Server and went to my local DNS name in my browser, and successfully saw the Test Page.
I proceeded forward with Downloading "Drupal" and got to the section where it says "Configure Drupal". I am now trying to load my local DNS name in my browser again, only to get a 500 Server Error.
I'm not sure what could've went wrong, I only entered the commands in the tutorial for the whole section on "Install Drupal".
Thank you
EDIT: Also, what exactly does Drupal do? And do I need to use it?
Drupal is a CMS system, and you don't have to use it. It is only being used to provide an example for a website. Instead of installing Drupal, you can install your own site on the server if you prefer or even something like Wordpress if you're more familiar with that.
However, if you do want to follow the example your best bet for discovering the problem is to look into what the exact error is. You should be able to find more information about that in the log files located in /var/log/httpd. The error log in there should show you more details about what failed.

Typesafe activator not starting

I installed typesafe activator(Windows) for using akka frame work. But when i am trying to start the activator it is not opening in the browser as mentioned on the Akka website. I tried opening it using command prompt but it is showing "jansi 1.11 could not be retrieved" error. How to reslove this?
Looks like you can't download the right version of the jansi.jar which unfortunately isn't included in the download.
If you are using a web proxy on Windows you have to follow the configuration steps described here http://typesafe.com/activator/docs in the section "Behind a proxy"
try setting the http_proxy environment variable. It worked for me. See this

Issues while deploying tomcat 7 in cloudfoundry

I have a java Spring application that I want to deploy to Cloudfoundry on Tomcat7. I am newbie to Cloudfoundry and followed the steps mentioned here but when I issue vmc push command I am getting warning Can't determine the Application Type with no options provided. Any idea to resolve this ?
C:\apps\tomcat7>vmc push
Would you like to deploy from the current directory? [Yn]:
Application Name: myApp77
[WARNING] Can't determine the Application Type.
Select Application Type:
Dan's comment is correct. You should be given the option to choose standalone app.
You may want to have a look at https://github.com/ericbottard/cloudfoundry-tomcat-7 which is a distribution of tomcat already customized (and tested) as described in the blog post you mention.
Even better, if you're using Maven, just follow the README and you'll be able to deploy your war project automatically as a tomcat7 standalone.
Hope this helps,
This actually sounds correct to me, in the list of application types should be an entry named "standalone application". Select that one and then provide the command you wish to start the application with, in this case it's 'bin/startup.sh'