Posts

Showing posts from March, 2025

Deploying a Node.js Project with HTML, CSS, and JavaScript on Google Cloud (GCP)

Deploying a Node.js Project with HTML, CSS, and JavaScript on Google Cloud (GCP) This guide explains how to set up and run a Node.js project on a Google Cloud Platform (GCP) Virtual Machine (VM) instance, configure the firewall for external access, and manage file transfers using FileZilla. Step 1: Set Up a GCP Virtual Machine (VM) Log in to Google Cloud Console : Go to Google Cloud Console . Create a Compute Engine VM Instance : Navigate to Compute Engine → VM Instances . Click Create Instance . Configure the instance: Name : nodejs-server Region : Choose the nearest location. Machine type : e2-medium (recommended for small projects) Boot disk : Click Change . Select Ubuntu 22.04 LTS . Click Select . Firewall : Check Allow HTTP traffic and Allow HTTPS traffic . Click Create . Note the External IP Address : After the VM is created, note its External IP (you’ll need this later). Step 2: Connect to the VM via SSH Open the SSH Terminal : In Google Clo...

Guide: Using FileZilla SFTP to Connect MacBook Air M1 to GCP Server

Guide: Using FileZilla SFTP to Connect MacBook Air M1 to a GCP Server This guide explains how to generate an SSH key on your MacBook Air M1, add it to your Google Cloud instance, configure FileZilla for SFTP access, and handle common permission issues. Step 1: Generate an SSH Key on MacBook Air Open Terminal: Press Command + Space , type Terminal , and press Enter . Generate the SSH key: Run the following command (replace "your-email@example.com" with your actual email): ssh-keygen -t rsa -b 4096 -C "your-email@example.com" Follow the prompts: Press Enter to save the key to the default location ( ~/.ssh/id_rsa ). Optionally, enter a passphrase or press Enter for none. Copy your public key: Run the command below and copy the entire output: cat ~/.ssh/id_rsa.pub Step 2: Add the SSH Key to Google Cloud Log in to Google Cloud Console: Navigate to Compute Engine → VM Instances . Select your instance: Click on your instance name. Add the S...

How to Install Lucee on MacBook

How to Install Lucee on MacBook Prerequisites Before installing Lucee, ensure that you have the following installed on your MacBook: Java Development Kit (JDK) (Lucee requires Java to run) Homebrew (Optional, but useful for managing installations) Step 1: Install Java Lucee requires a Java runtime environment. You can install OpenJDK via Homebrew: brew install openjdk Verify the installation by checking the Java version: java -version If Java is installed correctly, you should see output similar to: openjdk version "XX.X.X Step 2: Download Lucee Express Lucee Express is the easiest way to run Lucee without complex setup. Go to the Lucee Download Page Download Lucee Express (latest version) Extract the downloaded ZIP file to a location of your choice, e.g., ~/Downloads/lucee-express Step 3: Start Lucee Navigate to the extracted folder in the Terminal: cd ~/Downloads/lucee-express- Start the Lucee server using: ./bin/startup.sh If successful, you should ...

Guide to Install Jedit and Temurin on Mac

Guide to Install Jedit and Temurin on Mac Follow these steps to install Jedit and Temurin using Homebrew. Prerequisites A Mac computer with Homebrew installed. Terminal access. You can open Terminal by searching in Spotlight or navigating to Applications > Utilities > Terminal. Steps 1. Open Terminal Launch the Terminal application on your Mac. 2. Update Homebrew Ensure that your Homebrew is up to date by running: brew update 3. Install Jedit Install Jedit with Homebrew using the following command: brew install --cask jedit This command downloads and installs the latest version of Jedit. 4. Install Temurin Since Jedit might require a Java environment, install Temurin, an OpenJDK distribution, by running: brew install --cask temurin

How to Move the Skype Chat History to Microsoft Teams

How to Move the Skype Chat History to Microsoft Teams Migrating your communication history from Skype to Microsoft Teams can feel daunting, but in this blog post we'll guide you through the process with clear instructions and helpful tips. Table of Contents Introduction Prerequisites Step-by-Step Migration Process Tips and Best Practices Troubleshooting and FAQs Conclusion Introduction The transition from Skype to Microsoft Teams is part of a broader move towards a more integrated and modern collaboration platform within Microsoft 365. While Teams offers robust features for team collaboration, one common concern is how users can retain their valuable chat history from Skype. In this post, we will explore the practical steps required to migrate your Skype chat history to Microsoft Teams and provide guidance on managing the transition efficiently. Prerequisites Before you begin the migration process, ensure you have the following: A valid Microsoft 365 account wit...

How to Run Ollama on an M1 MacBook Air Using Multipass

How to Run Ollama on an M1 MacBook Air Using Multipass This guide explains how to install and run Ollama on your MacBook Air M1 using Multipass. You'll set up an Ubuntu VM with custom resources and then install Ollama inside it. Follow these steps to get started. Step 1: Install Multipass on Your M1 MacBook Air Download Multipass: Visit the Multipass website . Download the macOS installer compatible with the ARM architecture. Install Multipass: Open the downloaded installer package. Follow the on-screen instructions to complete the installation. Once installed, Multipass is ready to manage Ubuntu VMs. Step 2: Launch an Ubuntu Instance with Custom Resources Since installing Ollama may require additional space and memory, launch a new instance with custom allocations. Open Terminal: Use the built-in Terminal on your Mac. Delete Existing Instances (if necessary): If you have an instance with the same name, delete it by running: multipass delete myubuntu P...

How to Run an Ubuntu Terminal VM on a MacBook Air M1 Using Multipass

A Comprehensive Guide to Setting Up Multipass on MacBook Air M1 with Custom VM Resources This guide covers everything from downloading Multipass to creating and managing an Ubuntu VM with custom memory and disk settings. Follow these steps to set up your environment on your MacBook Air M1. Step 1: Download and Install Multipass Download Multipass: Visit the Multipass website . Download the macOS installer that is compatible with ARM architecture. Install Multipass: Open the downloaded installer package. Follow the on-screen instructions to complete the installation. Once installed, Multipass will be available for creating and managing Ubuntu VMs. Step 2: Launch Your First Ubuntu Instance Before customizing your VM’s resources, you can test the basic launch process. Open Terminal: Use the built-in Terminal app on your Mac. Launch an Instance: Run the following command to launch a basic instance: multipass launch --name test-vm Multipass will download the...

Installing and Accessing Ollama with Llama2 on Google Cloud VM (External Access)

Installing and Accessing Ollama with Llama2 on Google Cloud VM (External Access) This guide provides a comprehensive step-by-step process for installing Ollama, running the Llama2 model, and making it accessible from your external PC using a Google Cloud VM. Prerequisites A Google Cloud Account Basic familiarity with the Linux command line. Step 1: Create a Google Cloud VM Instance (Ubuntu) Go to the Google Cloud Console. Navigate to "Compute Engine" -> "VM instances." Click "Create Instance." Name: Provide a name for your VM instance. Region and Zone: Choose a region and zone that's geographically close to you. Machine Configuration: Select a machine type that meets your needs. For running Llama2, consider a machine with sufficient CPU and RAM. Boot Disk: Click "Change." Select "Ubuntu" as the operating system. Choose a version of Ubuntu (e.g., Ubuntu 22.04 LTS). Select a boot disk size (e.g., 50 GB). Cl...

FileZilla Google Cloud Platform access by SFTP with PUTTY

 1. Download and install  PUTTY  2. Download and install FileZilla 3.  chmod 777 /path/to/directory references :  1. Youtube

Install and configure FTP server on an Ubuntu GCP VM

  You can use the following steps to install and configure FTP server on an Ubuntu GCP VM: Install vsftpd: sql Copy code sudo apt - get update sudo apt - get install vsftpd Configure vsftpd: bash Copy code sudo nano /etc/vsftpd.conf Make the following changes in the configuration file: makefile Copy code write_enable=YES local_umask=022 chroot_local_user=NO Create a new user for FTP access: Copy code sudo adduser ftpuser Restart the vsftpd service: Copy code sudo service vsftpd restart Allow incoming FTP traffic in the GCP firewall: vbnet Copy code Go to the GCP Console. Navigate to the VM instances page. Click on the instance name to open its details page. Click on the Edit button at the top of the page. Navigate to the Networking section. Click on the Edit button next to Firewall rules. Click on the Create a new firewall rule button. Enter a name for the firewall rule. Set the Protocols and ports to "tcp:21" . Set the Targets to "All instances in t...