How to Run WordPress Studio on Ubuntu

WordPress Studio, developed by Automattic, is a powerful open-source tool for managing local WordPress development environments. While pre-built binaries exist for macOS and Windows, Linux users must build the app from source. This guide walks you through setting up and running Studio on Ubuntu, including resolving common issues I encountered.

Prerequisites

Before starting, ensure your Ubuntu system is ready with the necessary tools. Open a terminal (Ctrl+Alt+T) and follow these steps.

Step 1: Update Your System

Keep your package lists and software up to date:

sudo apt update && sudo apt upgrade -y

Step 2: Install Git

Git is required to clone the Studio repository. Install it if you haven’t already:

sudo apt install git -y

Step 3: Install Node Version Manager (nvm)

Studio is built using Node.js, and nvm helps manage the specific Node.js version required. Install nvm with:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

After installation, reload your shell configuration to make nvm available:

source ~/.bashrc

Verify nvm is installed:

nvm --version

You should see a version number (e.g., 0.39.7). If not, close and reopen your terminal, then try again.

Continue reading “How to Run WordPress Studio on Ubuntu”

Looking at Oneself with Humility

Have we looked at ourselves at all?

Most of us have not, because we are proud of our experiences, knowledge, achievement, capacity, opinion. We cling to them, and there is the sense of pride in not giving up an opinion if we have formulated one, not giving up our accumulated knowledge, experience, tradition. We take pride in that, and so pride prevents us from observing ourselves. By dropping pride I can look at myself with great humility. Right? Can we do that?

~ J. Krishnamurti in Saanen, Switzerland, 1 August 1968.

How to Install XAMPP in Linux

XAMPP is a popular open-source software stack that provides developers with a convenient solution for setting up a local web server environment. In this blog post, I’ll guide you through the process of installing XAMPP on a Linux system. This will enable you to create a development and testing environment for your web projects.

Step 1: Download XAMPP

Before we begin, make sure to download the XAMPP installer file from the official website. Once downloaded, navigate to the ~/Downloads/ or your downloaded directory using the following command:

cd ~/Downloads/

Step 2: Making XAMPP Installer Executable

To proceed with the installation, it is necessary to make the XAMPP installer file executable. Run the following command to change the file’s execution bits:

sudo chmod 755 xampp-linux-x64-7.4.29-1-installer.run

Step 3: Running the XAMPP Installer

Execute the XAMPP installer file using the following command:

sudo ./xampp-linux-x64-7.4.29-1-installer.run
Continue reading “How to Install XAMPP in Linux”

Path

Kumbalangi

I maintain that Truth is a pathless land, and you cannot approach it by any path whatsoever, by any religion, by any sect. Truth, being limitless, unconditioned, unapproachable by any path whatsoever, cannot be organized; nor should any organization be formed to lead or to coerce people along any particular path. You must climb towards the Truth. It cannot be ‘stepped down’ or organized for you.

JK

Installing Composer in a XAMPP Environment on Linux

When you’re working with PHP locally, in an environment such as XAMPP on a Linux operating system, you might need to install Composer. Composer is a tool for dependency management in PHP, allowing you to declare and manage the libraries your project depends on.

The Quick Installation Method

Typically, the quickest way to install Composer on a Linux operating system is through the command line as follows:

sudo apt install composer

This approach might not be appropriate for those who already have XAMPP installed. This is because the command would install PHP system-wide, which is unnecessary here since XAMPP already bundles PHP with its package, making this method redundant in such cases.

Continue reading “Installing Composer in a XAMPP Environment on Linux”