A Simple Operation Guide to Ubuntu VPS on MySQL, Apache, PHP – VPS Tutorial

By | August 7, 2019

In this tutorial, we will introduce some useful operations on mysql, apache on ubuntu vps, you can follow our steps to save your some time to manage your vps.

ubuntu vps tutorials and examples

File Operations

delete files and directories

rm -rf

MySQL Operations

install mysql

apt-get install mysql-server

start mysql

service mysql start

stop mysql

service mysql stop

restart mysql

service mysql restart

Apache Operations

install apache sever

apt-get install apache2

open apache rewrite functionality, which allow you to use .htaccess file

a2enmod rewrite

restart apache

service apache2 restart

PHP operations

install php

apt-get install libapache2-mod-php5 php5-gd php5-mysql php5-curl php5-mcrypt php5-common php-apcphp5enmod mcrypt

Leave a Reply

Your email address will not be published. Required fields are marked *