CentOS

How to Find Out MySQL Version in CentOS

You can use the mysqladmin command to get version information from server as follows. Open terminal and type the following command (for remote server login over ssh session): Example: Sample Output: Source

Advertisements
CentOS

CentOS – How to Check Memory Usage in Linux

/proc/meminfo The /proc/meminfo file stores statistics about memory usage on the Linux based system. The same file is used by free and other utilities to report the amount of free and used memory (both physical and swap) on the system as well as the shared memory and buffers used by the kernel. Example: Use the… Continue reading CentOS – How to Check Memory Usage in Linux

CentOS

Bagaimana Untuk Tukar Owner Pada File/ Direktori Dalam CentOS

Use the chown command to change file owner and group information. Use the chmod command to change file access permissions such as read, write, and access. chown command chown command changes the user and/or group ownership of for given file. The syntax is: Examples First, list permissions for demo.txt, enter: Sample outputs: In this example… Continue reading Bagaimana Untuk Tukar Owner Pada File/ Direktori Dalam CentOS

CentOS

CentOS – How to Display the Permissions of File in CentOS

Q. How do I list or display the permission of a file using ssh? I don’t have GUI installed on a remote Linux computer. A.You need to use ls command with -l option. File access permissions are displayed in the first column of the output, after the character for file type. ls command List information… Continue reading CentOS – How to Display the Permissions of File in CentOS

CentOS

CentOS – Bagaimana Untuk Set Policy Selinux Untuk Zabbix

Apabila anda install zabbix server menggunakan default setting pada CentOS 6, anda akan dapati zabbix Server anda tidak dapat berfungsi. Antara sebabnya adalah penguatkuasaan Selinux. Terdapat dua cara untuk anda atasi masalah ini samada disable terus (tetapi tidak digalakkan) atau setkan policy pada Selinux. Untuk setkan policy Selinux, anda boleh gunakan command semanage untuk manage… Continue reading CentOS – Bagaimana Untuk Set Policy Selinux Untuk Zabbix