• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for November 2019

How to re-create the yum cache (force a fetch of the cache data) from enabled repositories in CentOS/RHEL

by admin

This post briefly outlines how it possible to re-create the yum cache, or said in another way, force a fetch of the cache data from the enabled yum repositories. The enabled yum repositories are the ones in the following file /etc/yum.conf or in the following folder /etc/yum.repos.d that have their “enabled” setting to “1“, e.g. […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to Create yum Repository in CentOS/RHEL

by admin

1. Create a directory for you local repository, e.g. /home/mypackage_dir/repository. Move the RPMs into that directory. # mkdir /home/mypackage_dir/repository # cp /media/packages/* /home/mypackage_dir/repo 2. Fix some ownership and filesystem permissions: # chown -R root:root /home/mypackage_dir/repo 3. Install the createrepo package if not installed yet, and run: # createrepo /home/mypackage_dir/repo # chmod -R o-w+r /home/mypackage_dir/repo 4. […]

Filed Under: CentOS/RHEL 5, CentOS/RHEL 6, CentOS/RHEL 7, Linux

Granting All Privileges On All databases Except One Specific Table in MySQL

by admin

The post discusses a useful method to grant all privileges on all databases except one specific table to a user. MySQL does not support granting all privileges on all databases to a user then revoking all privileges on a specific table from that user. This produces an error saying there was no grant rule for […]

Filed Under: mysql

How to Disable Client Access Control in MySQL

by admin

You can disable the client access control in MySQL by telling the server not to read the grant tables and disable access control. Use the –skip-grant-tables option to do so. The –skip-grant-tables option has the following effects: When connected, the user has full privileges to do anything. This option disables account management statements such as […]

Filed Under: Linux, mysql

How to Disable NetworkManager in CentOS/RHEL 8

by admin

Although NetworkManager is the default tool for configuring and managing the network services on CentOS/RHEL 8, there are situations where it may be necessary to permanently disable NetworkManager, and use alternative methods to configure and manage the network. This document describes how to permanently disable NetworkManager on CentOS/RHEL 8. Note: Use of “networks-scripts” is deprecated […]

Filed Under: CentOS/RHEL 8, Linux

« Previous Page

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright