Related Articles
Install LAMP On Redhat / Centos 7
LAMP කියන්නේ open-source software කිහිපයක එකතුවක්. ඒ කියන්නේ Linux, Apache HTTP Server, MySQL database, and PHP). මේ tutorial එකේදි මම ඔයාලට කියලා දෙන්නේ කොහොමද RHEL/CentOS 7 වල LAMP install කරන්නේ කියලා. මේකට ඔයාල VPS එකක් හරි dedicated server එකක්හරි ගන්න ඕන. මම Datacenter.lk/ එකෙන් VPS එකක් ගන්නවා . ඔයාලටත් එතනින්මහරි වෙන කැමති service provider කෙනෙක්ගෙන් […]
![]()
Useful MySQL Commands
Database with size SELECT table_schema “DB Name”, Round(Sum(data_length + index_length) / 1024 / 1024, 1) “DB Size in MB” FROM information_schema.tables GROUP BY table_schema; Create a database. mysql> create database [databasename]; List all databases on the server. mysql> show databases; Switch to a database. mysql> use [db name]; To see all the tables in the […]
![]()
Setting up the Basic High-Availability Cluster on Centos/RHEL 7
Networking: We have two nodes that are reachable by below Networks: 10.1.1.0/24 : Cluster heartbeat vlan. 172.16.1.0/24 : LAN with access to the Internal LAN network and Internet. We have set the following hostnames: [master ~]# hostnamectl set-hostname master.sysadmin.lk [client ~]# hostnamectl set-hostname client.sysadmin.lk We defined the Hostname and IP Address in “/etc/hosts” file(On both […]
![]()
