How to upload laravel project on remote server - linux

I'm trying to install new laravel project via ssh connection on remote server based on ubuntu. I've faced following problem:
This project requires php 7.2 zip extension I guess. But I've already had php 7.2.
Can someone help me with this?
P.S. I've tried every command like sudo apt-get install php7*- and etc...

Related

How to install Nodejs using bash script in Windows Server 2012

I have a bash file. It has to install some dependency apps like Nodejs(MSI file) and Chrome(EXE file) when I run it in Windows server.
Can you help me, please?

What else do i have to do after the Gitlab Omnibus installation?

im trying to get Gitlab to work, but obviously im missing something in the process of installation. I followed this installation guide: https://about.gitlab.com/downloads/#ubuntu1404
to install it on my ubuntu 14.04 server.
Are there any further steps i have to take before it works? Because when i go to git.codefighters.org it shows the apache index.html page.
I changed the external_url part in the gitlab.rb file, but i notices that nearly all other lines in that file are commented out.
Thanks to everyone who can help me to solve this!
Alright, so what i did now is just a complete reinstall of gitlab (which did not really solve the problem). Because now, even after configuring apache like they said here: http://doc.gitlab.com/omnibus/settings/nginx.html#using-a-non-bundled-web-server
On git.codefighters.org, there is just the plesk default page showing up. I guess im going to open another thread for that.
This is what i did for the complete re-install of gitlab:
Complete uninstall of gitlab
sudo gitlab-ctl uninstall
sudo apt-get remove gitlab-ce
sudo apt-get purge gitlab-ce
And then remove the rest of the gitlab files manually with:
sudp rm -rf /opt/gitlab/
After this, postgresql is working fine again and i could configure th gitlab.rb and apache config files.

Configuration Node.Js on Jenkins on Mac

Do you know how to install NodeJs in Jenkins with a MacOs ? I've tried to install it automatically but when I build a job I got this error Error: Cannot find module 'config-chain'.
I tried to install node in the right folder but I already have an installation of node so it doesn't work. Does anyone know what to put in those field ? sreenshot
I resolved this problem by adding that :
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH
I don't know if it's the better way to do it but it works because Jenkins now use the node js installation of my machine.

How to install Cloud9 Local IDE on Chromebook

i'm using a Chromebook HP 11 in developer mode.
I installed Ubuntu v12.04 Unity on it, with Crouton.
On Ubuntu, i installed Nodejs (v0.6.12), npm (v1.1.4) and build-essential as it's said here : https://c9.io/site/blog/2012/06/cloud9ide-new-features/
But i don't know how to install the Cloud9 Local IDE, which i downloaded here :
http://static.c9.io/c9local/prod/c9local-latest.tgz
Can someone tell me how i should do it ?
In advance, Thanks.
you can do this two ways...
if you plan to install it directly to chromeOS you will need to put your machine into developer mode and have writeable rootfs. There's a tutorial here. NOTE- it's my understanding that this option voids a warranty, although perhaps that's true also with option #2 below
The other option is to install Ubuntu with Crouton as it's own OS and then install node/npm.
I opted for the later and have the cloud9 service running locally with Apache and MySql. Ubuntu will share the Downloads folder, so you can set up a folder there to manage all your local virtual hosts, etc.

/xampp/lang.php not found

I am new to linux(ubuntu). I installed XAMPP server in my system.. but after installing when i am using browser it shows the following error:
Not Found
The requested URL /xampp/lang.php was not found on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
If you are using linux, you don't need xampp, linux has native packages for PHP development, called lamp (linux, apache, MySQL, PHP). In fact almost all web servers around the world that runs PHP are linux servers.
There are some easy steps that you can quickly install lamp unsing ubuntu's terminal.
sudo apt-get install lamp-server^
Note The caret (^) at the end of the command is important.
This will install the latest PHP, MySQL and Apache2 that is it in the Ubuntu repository (depending on your ubuntu version)
You can also install each component individually, here you can find the complete steps
Install LAMP Server on Ubuntu with a 1-line Command
It is also a good idea for development environment to setup a workspace directory in your home folder to hold your projects and than making virtualhost files in your /etc/apache2/sites-available folder (you need sudo privileges).
More about virtual hosts on Apache virtual hosts
This approach helps a lot with permissions of read/writes on your project files.
Best regards,

Resources