How to Install Apache 2.4.37 + PHP 7.3 + MYSQL 8.0.13 on Windows

If you are a PHP/MySQL developer, it is very important to be able to work on your application locally in your own environment, since you can make changes and update to your application quickly and effectively. The instruction below will help you to setup your environment with the latest version of Apache, PHP, and MySQL. For any reasons, you are still using the older versions, you can follow the old setup of Apache, PHP, and MySQL here.

Since I put together that instruction 4 years ago, it no longer works with the newer version of PHP 7.3 and MySQL 8.0.13. So here is the updated instruction:

[Continue Reading…]

Using Webmin to Manage Partition and Drives in Ubuntu Server

  1. Create and mount the volume
    • Create volume:
      • Hardware -> Logical Volume Management -> Logical Volumes -> Create a logical volume in Media-server-vg (your server name)
      • Volume name: ServerData, Click “Create
      • Click on that newly created volume, make sure the drop down selected Linux Native (ext3) and click the Create filesystem of type, Click Create again to create a new empty partition.
    • Mount volume
      • System -> Disk and Network Filesystems
      • Select Linux Native Filesystem (ext3)/New Linux Native Filesystem (ext4) from drop down, and click on “Add mount
      • Select /media or/mnt for Mounted as and then type to finish it as “/media/ServerData” , then click OK
      • Check “LVM logical volume” and select your newly created Logical Volume for Linux Native Filesystem
      • Click “Create“. Your drive is ready to use.
    • Format the volume
  2. Add additional drives
    • Hardware -> Partitions on Local Disks -> select the new “Disk name” – > click on Add primary partition -> Create. You have just created the partition
    • To format, click on your newly created partition -> click on Create Filesystem with the option Linux Native selected -> click Create Filesystem -> Create Create Filesystem.
    • To mount, you did the same as above except this time, you select “Partition with ID” instead of “LVM logical volume“.

How to Install Ubuntu Home Media Server

The following are what I did to install my home media server.

  1. Install Ubuntu Server:
    • Download Ubuntu Server 14.04.1 LTS (LTS version is supported for 5 years)
    • Burn the downloaded Ubuntu Server ISO into a bootable CD.
    • Keyboard, screen, and Ethernet cable plugged into the server are needed.
    • Run the CD and follow the screen instruction to install the server
      • When asked if you want to “configure your home directory for encryption”, select “No
      • When asked “Unmount partitions that are in use?”, select “Yes
      • For Drive Partitions, select “Guided – use entire disk and set up LVM“, then give 30GB for the OS installation
      • For Managing Update, select “No automatic updates
      • For software to install, Select OpenSSH Server & Samba File Server, to select press Spacebar
  2. Upgrade your Ubuntu Server
    sudo apt-get update
    sudo aptitude safe-upgrade

    If you get the error from the above command, use the following command

    sudo apt-get install aptitude

    To check the Ubuntu Server version:

    lsb_release -a

    To reboot the Ubuntu Server:

    sudo reboot -h now
  3. Recommended Software:
    • vim for text editor
      sudo apt-get install vim
  4. To manage Ubuntu Server:
    • Use Putty
    • Use Webmin – The Debian package suitable for Debian, Ubuntu or other derived Linux
      • InstallWebmin
        sudo apt-get update
        sudo dpkg -i webmin_1.730_all.deb

        If there is errors preventing it from installing, then run the following command line to re-install it automatically:

        sudo apt-get install -f
      • ChangeWebmin root password:
        sudo /usr/share/webmin/ /etc/webmin root YourNewPassword
      • DeleteWebmin installation files:
        rm webmin_1.730_all.deb
      • OpenWebmin:
  5. Using Webmin to Manage Partition and Drives in Ubuntu Server
  6. Share Drives and Folders in Ubuntu Server across the Network
Page 3 of 4 1 2 3 4