I want to set up and deploy my laravel project to Ubuntu 22.04 VPS (unmanaged) I tried all tutorials, guides etc. Tried installing nginx instead of apache and vice versa, all the "needed" php modules/plugins (different tutorial, different amount on modules) to set up and install laravel on a ubuntu server. None on them solve my problem, one tutorial works just half way, another tutorial works but composer create-project stucks and so. So I dont know how to do all that VPS set up and installation with LARAVEL on Ubuntu for deployement, all the tutorials are different. So I want you guys to help me set up Ubuntu 22.04 for Laravel server vps.
Tried youtube tutorials, web tutorials, guides. Every tutorial is different so I dont know how to do it right... Tried to change Ubuntu versions, change web servers (nginx and apache) none of that works for me.
Related
I am currently running a 5.x version of XAMPP on a Windows 10 box, which has been working really well.
However I think it is time I look at upgrading to version 7.x to test my sites before I get my production VPS server to run php 7 etc
Can I install the new version in a separate directory (e.g. xampp7) and choose what xampp to run as needed via its control panel? Will each install know what version of php etc to load and use while that version is operating?
I have not tested this yet, I didn't want to risk stuffing up my existing install :)
Cheers
I am wondering If we can use a different distro in Laravel Homestead. Right now it is preconfigured to use an Ubuntu Distro. Can we use other distro like fedora, arch etc?
Short Answer: No because it's not a simple matter.
Long Answer: I'm working on it, it's just slow going. In my day job I've always used RHEL or CentOS so I've always wanted a CentOS flavored version of Homestead. That's exactly what I've started building with EnterpriseHomestead and EnterpriseSettler projects. It's not quite ready for a alpha, but it is close (despite I haven't had much time to work on it lately, Homestead and support keeps my OSS time pretty tied up)
If you'd like to help out please jump into the repo and start testing / asking questions. I also have #enterprisehomestead on the Freenode IRC network.
After i installed composer in mac os sierra then installed laravel framework 5.3, i cannot create cache directory or my directory is not writable, Proceeding without cache ( below detail error when installing laravel framework )
Please give me advise how to fix my problem, cause i'm newbie using mac
Thanks,
problem picture
My best advice is to use Laravel Homestead instead of running the Laravel directly on Mac OSX.
Homestead installation on Laracasts: Hello to laravel homestead or
Laravel 5 Fundamentals
This should be enough for local development. If you want to go online look at the following steps:
Create a Bitbucket repository
Link your homestead to the bitbucket (That’s the tricky part). You will need to have SSH setup. This video should give you some hint. (Remember, you do not have to install git as it is included in homestead)
By the way, this is my go to resources for git.
Once that done, the worse is behind you.
Use Forge, this videos explains everything pretty well
It may seem like a lot, but in reality that will give you a really scalable environment that will spare you tons of trouble in the future.
I Currently have projects I'm working on using MAMP. But, I wanted to try out laravel, and I did so by installing virtual box, and then installing homestead through the virtual box. I have projects I am currently working on in MAMP, so my concern is will I be able to run homestead and MAMP simultaneously.
...will that affect my existing MAMP Installation?
No it won't. That is one the main points (having an independent from your local machine's environment) of using a vm (homestead).
...will I be able to run homestead and MAMP simultaneously
Yes, you can run them simultaneously.
I am a openshift origin noob and I try to install it on my laptop & play with it...
On windows 7 I have installed vagrant, virtualbox and Vagrant-openshift plugin (https://github.com/openshift/vagrant-openshift)
I have created the box & is starting when I do vagrant up & I can connect using ssh to the machine
My question is what do I need to do next?
How can I connect to the web console of openshift?
Where do i need to install rhc and how? to be able to create/deploy apps?
Thank you,
Bogdan
Once installed, you can access Openshift console at https://hostname-OR-IP:8443/console
If you can't access check the status of your routes with ip route and verify that the vagrant default interface(usually eth0) is not configured as the default route.
If you are able to login in the server, you can run oc and oadm commands to create/configure apps.
i think that windows isn't a good plataform to install openshift, if you have a VM try to install CentOS 6 or fedora (or RHEL 6 if you have access to any distribution) there's a very larger amount of information to these OS than windows, or you just can install the openshift OS distribution that is supposed to do everything for you, you only have to configure the DNS server and DHCP and a few thing that scripts doesn't can do for you.
If you try to install it on one of the Linux distribution mentioned above you can just install it from the webpage or try to install from the deployment guide that is very complete: www.openshift.org/documentation/oo_deployment_guide_comprehensive.html
In my personal experience i had a very hard time with the deployment guide but it worth if you think in the knowledge and experience that you gain.
all is there, hope it weren't too late to answer you.