Linux Resolved

  • Home
Puppet Format Cookbook

Puppet Format Cookbook

Posted on August 12, 2018December 23, 2018 by Nikko
Files and Directories Puppet docs: https://puppet.com/docs/puppet/5.5/types/file.html Directory file { '$DIRECTORY': ensure => directory, owner => 'uid', group => 'gid', mode => '0755', } ... Read More
Puppet Cheat Sheet - Manifest Cook Book

Puppet Cheat Sheet – Manifest Cook Book

Posted on January 31, 2018December 23, 2018 by Nikko
Basic Puppet Template RESOURCE_TITLE { 'TITLE': ATTRIBUTE => VALUE, }   File Attribute Ensure a file has specified content file { '/tmp/hello.txt': ensure => file, owner => 'nikko', grou... Read More
Upgrade MySQL 5.6 to MySQL 5.7 - CentOS

Upgrade MySQL 5.6 to MySQL 5.7 – CentOS

Posted on January 28, 2018June 6, 2020 by Nikko
1. Create a backup of the original MySQL data cp /var/lib/mysql /var/lib/mysql.original 2. Download the MySQL 5.7 RPM wget http://repo.mysql.com/mysql57-community-release-el7.rpm -P /tmp/ 3. Remove th... Read More
Install MySQL 5.6 - CentOS

Install MySQL 5.6 – CentOS

Posted on January 28, 2018December 23, 2018 by Nikko
1. Verify the hostname on your server is set correctly Set Hostname 2. Download the MySQL RPM wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm -P /tmp/ 3. Enable to RPM rpm -ivh /tm... Read More
Increase the Open File Limit - CentOS

Increase the Open File Limit – CentOS

Posted on January 28, 2018December 23, 2018 by Nikko
1. Check the current open file limit ulimit -n 2. Increase the open file limit temporarily unlimit -n 20000 3. Increase the open file limit permanently vim /etc/security/limits.conf Add: * - nofile 20... Read More
Nginx - Install an SSL Certificate

Nginx – Install an SSL Certificate

Posted on January 28, 2018December 23, 2018 by Nikko
*** This guide assumes you already have your CSR and SSL certificate. Instructions to generate both will be added at a later time. 1. Make a backup of your configuration file cp /etc/nginx/conf.d/linu... Read More
Nginx - Add a domain - Centos 7

Nginx – Add a domain – Centos 7

Posted on January 28, 2018December 23, 2018 by Nikko
1. Create a new directory for the domain mkdir /usr/share/nginx/linux.com/ 2. Create a new configuration file for the domain vim /etc/nginx/conf.d/linux.com.conf 3. Add in the following contents ## Vi... Read More
Docker Cheat Sheet

Docker Cheat Sheet

Posted on January 17, 2018December 21, 2020 by Nikko
Find a better Docker Cheat Sheet, Kubernetes Cheat Sheet and Helm Cheat Sheet at SwissArmyDevOps.com Image Management List available images docker images Pull a docker image docker pull [Image-Name] S... Read More
Install Docker - CentOS

Install Docker – CentOS

Posted on January 17, 2018December 23, 2018 by Nikko
Verify that the Linux kernel is at or above 3.1 uname -r Add the docker repository vim /etc/yum.repos.d/ For CentOS 6: [dockerrepo] name=Docker Repo baseurl=https://yum.dockerproject.org/repo/mai... Read More
Git - Pushing Changes

Git – Pushing Changes

Posted on December 8, 2017December 23, 2018 by Nikko
Let’s say you’re on the ‘Dev’ branch and want to push your changes all the way to master… 1. Verify you are on the ‘Dev’ branch git branch 2. Pull any/all cha... Read More
  • 1 of 7
  • 1
  • 2
  • 3
  • …
  • 7
  • Next »

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.