Skip to main content

How to Upgrade Your RAM and SSD on Ubuntu: A Complete Guide 2025 - 2026 midway

Ubuntu system PHP setup

Tech Easy Solutions


1 php -v

2 apche2

3 mysql

4 sudo apt update

5 sudo apt install apache2

6 sudo apt install mysql-server

7 sudo mysql_secure_installation

8 sudo mysql

9 sudo apt install php libapache2-mod-php php-mysql

sudo apt-get install php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc

10 sudo nano /etc/apache2/mods-enabled/dir.conf


/etc/apache2/mods-enabled/dir.conf

<IfModule mod_dir.c>

DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm

</IfModule>



11 sudo systemctl restart apache2

12 sudo systemctl status apache2

13 apt search php- | less

14 apt show php-cli

15 php -v

16 sudo apt install php-cli

17 sudo apache2ctl configtest

18 sudo systemctl restart apache2

19 sudo nano /var/www/info.php

20 sudo nano /var/www/html/info.php

21 sudo apt update

22 sudo apt install php phpmyadmin php-mbstring php-gettext

23 sudo phpenmod mbstring

24 sudo systemctl restart apache2

25 sudo mysql

26 mysql -u root -p

## update root user password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'ss008';


## change php max value


27 sudo nano /etc/php/7.2/apache2/php.ini

28 sudo systemctl restart apache2



Comments

Popular posts from this blog

Fixing PHP 8.2 zip Extension Error on Ubuntu 25 for Laravel 10,11,12 Shopify Apps

Tech Easy Solutions           Solution : How to Fix PHP 8.2 zip Extension Error on Ubuntu 25 Since Ubuntu 25’s PPAs don’t yet support this extension directly, there are three approaches to fix this: server  / local Ubuntu   Compile the Zip Extension from Source (Recommended) Install development packages: $ sudo apt-get install php8.2-dev libzip-dev build-essential unzip Install the zip extension via PECL:  $ sudo pecl install zip Enable the extension:  $ echo "extension=zip.so" | sudo tee /etc/php/8.2/cli/conf.d/20-zip.ini $ echo "extension=zip.so" | sudo tee /etc/php/8.2/fpm/conf.d/20-zip.ini Restart PHP services : $ sudo systemctl restart php8.2-fpm Verify $ :  php -m | grep zip ____________________________________________________ Result :  Error tracer : Why This Error Happens When running a Laravel 12 Shopify project on Ubuntu 25, you might see an error like: php8 .2 - zip : Depends: libzip4t64 (>= 1....

Shopify fully custom contact section block on home page

Tech Easy Solutions Shopify fully custom contact section block on home page <section class="contact-information" >       <!--<div class="left-shape">         <img src="images/left-shape.png" class="img-fluid">       </div>-->       <div class="container c-container">         <div class="row">           <div class="col-lg-6 col-md-6 col-sm-12 col-12">             <div class=" contact-us">                         {% form 'contact' %}                       {% if form.posted_successfully? %}                        <center> <p class="note form-success">                   ...

How to Upgrade Your RAM and SSD on Ubuntu: A Complete Guide 2025 - 2026 midway

Tech Easy Solutions Upgrading your RAM and SSD is one of the easiest ways to boost performance on your Ubuntu system. Whether you’re struggling with slow app loading, multitasking lag, or limited storage, knowing how to upgrade your hardware can give your laptop or desktop a new lease on life. In this guide, we’ll walk you through everything you need to know — from checking your current hardware to selecting compatible upgrades and installing them safely. Step 1: Check Your Current Hardware Before buying new RAM or an SSD, you need to know what’s inside your machine. On Ubuntu, you can check this using built-in commands: Check RAM: `sudo dmidecode -t memory` Check SSD type and speed: ` lsblk -o NAME,MODEL,SIZE,TYPE ` ` sudo lshw -class disk -class storage ` Check NVMe PCIe info (if applicable): ` lspci -v | grep -A8 -i nvme ` Knowing your current hardware helps you select compatible upgrades. For example: RAM type: DDR4, DDR3, etc. RAM speed: MHz supported by your motherboard ...