Linux Resolved

  • Home

Author: Nikko

I am currently a DevOps Engineer and run the blog (swissarmydevops.com).
Remove or Revoke Privileges for a MySQL User

Remove or Revoke Privileges for a MySQL User

Posted on November 18, 2017December 23, 2018 by Nikko
Remove Privileges Login to MySQL mysql -uUSER -p Revoke privileges REVOKE [type of permission] ON [database name].[table name] FROM ‘[username]’@‘localhost’; Refresh the privileges in MyS... Read More
Create a MySQL user with full permissions to a database or table

Create a MySQL user with full permissions to a database or table

Posted on November 18, 2017December 23, 2018 by Nikko
Login to MySQL mysql -uUSER -p Create a user CREATE USER ‘newuser‘@’localhost‘ IDENTIFIED BY ‘password‘; Give that user access to something GRANT ALL PRIVILEGE... Read More
Generate and install an SSL Certificate - Apache

Generate and install an SSL Certificate – Apache

Posted on November 18, 2017December 23, 2018 by Nikko
Part 1 – Generate CSR & Obtain Certifcate Create the CSR openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr Fill in information Common Name: T... Read More
How to create symbolic and hard links - Linux

How to create symbolic and hard links – Linux

Posted on November 18, 2017December 23, 2018 by Nikko
Hard Link: Creates another file with a link to the same underlying inode. The inode is only deleted when all links to the inode have been deleted. Soft/Symbolic Link: Creates a link to anoth... Read More
Create a file to be used as 'SWAP' memory

Create a file to be used as ‘SWAP’ memory

Posted on November 18, 2017December 23, 2018 by Nikko
Create a blank file where you would like the swap partition mounted touch /swapfile Allocate the amount of memory you want to the file fallocate -l 4GB /swapfile Change the permissions on the file to ... Read More
Remove '/home' partition and extend the root partition (LVM)

Remove ‘/home’ partition and extend the root partition (LVM)

Posted on November 18, 2017December 23, 2018 by Nikko
*** This might be needed when you spin up a CentOS VM with the default file system partitioning and you want to combine ‘/home’ into ‘/’ Make a new directory on the root partition mkdir /home-... Read More
Extend an existing partition (fdisk) - Linux

Extend an existing partition (fdisk) – Linux

Posted on November 18, 2017December 23, 2018 by Nikko
*** Note, you will need to be sure that the virtual drive’s allocated space has being used has been expanded before beginning *** Check current size df -h List the existing partitions fdisk -l E... Read More
Create a new partition (fdisk) - Linux

Create a new partition (fdisk) – Linux

Posted on November 18, 2017December 23, 2018 by Nikko
List the existing partitions fdisk -l Edit the drive in fdisk fdisk /dev/[Insert Disk] Create a new partition by pressing ‘n’ and following the instructions n Verify changes and save p w F... Read More
Troubleshooting High CPU - Linux

Troubleshooting High CPU – Linux

Posted on November 12, 2017November 18, 2017 by Nikko
It’s when you feel most confident troubleshooting CPU issues that the Linux Gods grin and throw a new problem your way. This guide will help you deal with those ungodly moments when both the loa... Read More
  • 7 of 7
  • « Previous
  • 1
  • …
  • 5
  • 6
  • 7

Recent Posts

  • Puppet Format Cookbook
  • Puppet Cheat Sheet – Manifest Cook Book
  • Upgrade MySQL 5.6 to MySQL 5.7 – CentOS
  • Install MySQL 5.6 – CentOS
  • Increase the Open File Limit – CentOS

Tags

disk space docker domain git hostname Iscsi limit manifest mysql nginx puppet Python speed ssl subdomain upgrade x11

Categories

  • docker (2)
  • Git (1)
  • Iscsi (1)
  • Linux (1)
  • MySQL (2)
  • Nginx (2)
  • Puppet (2)
  • Python (8)
  • Troubleshooting (16)
  • Uncategorized (34)
Powered by Plum Theme.
© 2021 Linux Resolved. All Rights Reserved.