Install GoogleDrive di Linux

Setakat hari ini, Google masih belum mengeluarkan Google Drive Software untuk Linux. Hanya Windows dan Apple shj yg dh ready dgn software Google Drive for desktop ni.

Seperti biasa team OpenSource dgn inisiatif sendiri telah mengeluarkan versi GoogleDrive untuk Linux.

Untuk setup Google Drive for Ubuntu, guideline seperti di bawah :

 

 

Linux Command – Check version

Version check pentig utk tahu versi linux mana yg kita guna terutamanya jika guna Ubuntu krn bnyk versi.

  • Buka terminal – Ctrl + Alt+
  • Command :  lsb_release -a

  • lsb adalah “Linux Standard Base” dan -a akan memaparkan keseluruhan info berkaitan versi linux
  • Cara lain boleh guna : cat /etc/issue

  • Cara lain : cat /etc/os-release

  • Cara lain : hostnamectl

Reference : Linuxize.com

Find out If MySQL Is Running On Linux Or Not

# mysqladmin -u root -p status  

Output (if yes):

"Enter password: Uptime: 4 Threads: 1 Questions: 62 Slow queries: 0 Opens: 51 Flush tables: 1 Open tables: 45 Queries per second avg: 15.500"

Output (Else)

"mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! "
Under Debian Linux you can type following command to find out if MySQL server is running or not 

# /etc/init.d/mysql status

If you are using RedHat of Fedora then you can use following script”

# service mysqld status
OR
# /etc/init.d/mysqld status

Reference :
Cyberciti


List Running Service On Linux

List running services using service command on a CentOS/RHEL 6.x or older

  • service –status-all
  • service –status-all | more
  • service –status-all | grep ntpd
  • service –status-all | less

PRINT THE STATUS OF ANY SERVICE

service httpd status

LIST ALL KNOWN SERVICES (CONFIGURED VIA SYSV)

chkconfig –list s

LIST SERVICE AND THEIR OPEN PORTS

netstat -tulpn

  • TURN ON / OFF SERVICE
  • ntsysv
  • chkconfig service off
  • chkconfig service on
  • chkconfig httpd off
  • chkconfig ntpd on

Reference
cyberciti