I would like to install Plesk on a VPS with Debian 10. The VPS has nginx running with one site pointing from a domain using the /etc/nginx/sites-available/mysite.com configuration. Can I install plesk via the plesk installer and then afterwards still have my site running?
Thanks for any help
Related
I have two different shared hosting on GoDaddy server (cPanel and Plesk odin), I want to host my NodeJS project there.
You CAN do this.
Most tutorials have you downloading node + npm through the command line... and since you cannot use sudo in terminal on a shared GoDaddy server you have to install nvm to install npm and node.
But really, you only need a single file from the Node.js package to get a server running. It is much easier to download the package, and manually add the one file to cPanel.
Follow this tutorial for the most simple method of running a Node.js server on GoDaddy hosting.
You can't host Node project on cpanel. You will need a node server for that. Cpanel does not come with node installed, neither it could be Installed. You can check with aws or blueocean for that.
I have a droplet on Digital Ocean and I spent quite some time setting it up by following their tutorials and all that. Then I SFTP'd my app to my server and it got transferred and everything then I ran sudo npm start and the console says that it's running but when I visit http://share3na.com as you can see nothing shows up. I installed all of the modules by running sudo npm install --save [module] then after manually doing all of them just to be sure, I ran sudo npm install.
I also changed the name servers in my domain.
In Digital Ocean,
Initially we buy a droplet. Later we have to choose the operating system to be installed, in your case you have chosen Linux maybe Ubuntu.
First, set your ssh access and configure ssh if needed
Later we have to update the package manager by using sudo apt-get update
Copy the NodeJs app into your droplet.
Set up the NodeJs by installing its dependencies and configuring the database etc.
Configure Nginx for the your NodeJs app and also add SSL certificate if any to the nginx.
Restart Nginx after configuring it.
Run your NodeJs app.
You should be able to access your NodeJs app if the Nginx is configured correctly.
Hope this helps.
Is is possible to use Apache web server with out installing latest rpm for Apache HTTPD using rpm Uvh httpd<version>.<arch>.rpm or yum install httpd , like we can do for tomcat on Linux machines? Because i don't have root access to run rpm or yum
We can achieve this for tomcat just by copy the tomcat directory toany desired location and run startup.sh , it would start the server running on default port 8080 and could be accessed using hostname:/8080.
But when I looked for such ready to use dump on Apache site i didn't find it for Linux.
However for windows i have such feature available on apachelounge.com... Is offline installation of Apache HTTP Server possible on Linux?
On windows we can download the binaries from http://www.apachelounge.com/download/
and just run the executable httpd.exe which would get the work done in couple of minutes.
I was trying to test my sample application's performance on Nginx and Lighttpd local web servers.
I have successfully installed both the servers on my mac machine (Mac Lion). But I am facing issues in configuring NodeJS app with both servers.
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,