![]() See the Apple Card Customer Agreement for more information. Taxes and shipping are not included in ACMI and are subject to your card’s variable APR. Monthly pricing is available when you select Apple Card Monthly Installments (ACMI) as payment type at checkout at Apple, and is subject to credit approval and credit limit. Once installed, create a new Nginx virtual host configuration file: nano /etc/nginx/conf.d/reveal.Have a question? Call a Specialist or chat online. Next, you will need to configure Nginx as a reverse proxy to access the Reveal.js through port 80.įirst, install the Nginx web server with the following command: apt-get install nginx -y Step 5: Configure Nginx as a Reverse ProxyĪt this point, your Reveal.js server is started and listening on port 8001. Nov 15 10:05:49 ubuntu2004 npm: LiveReload started on port 35729 Nov 15 10:05:49 ubuntu2004 npm: Server started Nov 15 10:05:49 ubuntu2004 npm: Using gulpfile ~/reveal.js/gulpfile.js Nov 15 10:05:47 ubuntu2004 systemd: Started rvice. Loaded: loaded (/lib/systemd/system/rvice static vendor preset: enabled)Īctive: active (running) since Sun 10:05:47 UTC 4s ago You can also verify the status of the service with the following command: systemctl status reveal Next, start the Reveal.js service and enable it to start at system reboot with the following command: systemctl start reveal Save and close the file then reload the systemd service with the following command: systemctl daemon-reload You can create it with the following command: nano /lib/systemd/system/rvice Next, you will need to create a systemd service file to manage the Reveal.js service. Step 4: Create a Systemd Service File for Reveal.js Now, press CTRL+C to stop the running server. LiveReload started on port 35729Īt this point, your development server is started and listening on port 8000. You should get the following output: > start /root/reveal.js Once all the dependencies are installed, start the Node server with the following command: npm start Once the download is completed, change the directory to reveal.js and install all dependencies with the following command: cd reveal.js ![]() You should get the following output: v14.15.0įirst, download the latest version of Reveal.js from the Git repository using the following command: git clone git clone Once Node.js is installed, you can verify the Node.js version with the following command: node -v ![]() Next, install Node.js by running the following command: apt-get install nodejs -y Once all the dependencies are installed, add the Node.js repository with the following command: curl -sL | bash. ![]() So you will need to add the Node.js official repository to your system.įirst, install all the required dependencies with the following command: apt-get install curl gnupg2 unzip git -y By default, the latest version of Node.js is not available in the Ubuntu 20.04 default repository. So you will need to install Node.js in your server. You can do this by running the following commands: apt-get update -yĪpt-get upgrade -y Step 2: Install Node.js Additionally, replace ‘root’ with the username of the admin account if necessary.īefore starting, you have to make sure that all Ubuntu OS packages installed on the server are up to date. You will need to replace ‘IP_Address‘ and ‘Port_number‘ with your server’s respective IP address and SSH port number. Step 1: Log in to the Server & Update the Server OS Packagesįirst, log in to your Ubuntu 20.04 server via SSH as the root user: ssh -p Port_number Access to the root user account (or access to an admin account with root privileges).An Ubuntu 20.04 VPS (we’ll be using our SSD 2 VPS plan).Step 5: Configure Nginx as a Reverse Proxy.Step 4: Create a Systemd Service File for Reveal.js.Step 1: Log in to the Server & Update the Server OS Packages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |