Linux Resolved

  • Home

Category: Uncategorized

How to change your hostname - Ubuntu/CentOS

How to change your hostname – Ubuntu/CentOS

Posted on November 30, 2017December 23, 2018 by Nikko
CentOS Open the server’s network file vim /etc/sysconfig/network Replace the old hostname with the new hostname HOSTNAME=NewHostName Edit the hosts file vim /etc/hosts Replace any occurrence of ... Read More
Run a Website Speed Test from Linux Command Line

Run a Website Speed Test from Linux Command Line

Posted on November 26, 2017December 23, 2018 by Nikko
Setup an alias for the speed test by running the following command: alias speedtest="curl -s -w 'Testing Website Response Time for :%{url_effective}\n\nLookup Time:\t\t%{time_namelookup}\nConnect Time... Read More
Upgrading or Replacing RAM - Linux

Upgrading or Replacing RAM – Linux

Posted on November 18, 2017December 23, 2018 by Nikko
Determine the speed and type of RAM you need: dmidecode -t 17 Find replacement or upgrade sticks of RAM that match these specs exactly Power off the server Place the new RAM in fol... Read More
Reconfiguring a RAID Array

Reconfiguring a RAID Array

Posted on November 18, 2017December 23, 2018 by Nikko
Login via console/idrac/cable to the server Reboot the server After the splash screen look for an option that says, “RAID or SAS configuration”. Generally you can click “ctrl + c” to acce... Read More
Configure a Timezone on Your Linux Server

Configure a Timezone on Your Linux Server

Posted on November 18, 2017December 23, 2018 by Nikko
Make a backup of the local timezone file mv /etc/localtime /etc/localtime.bak Create a sym-link to the proper time zone (replace ‘America/Denver’ with your Timezone) ln -s /usr/share/zonei... Read More
Mount an ISO with iDrac

Mount an ISO with iDrac

Posted on November 18, 2017December 23, 2018 by Nikko
Launch IDrac Launch Virtual Console Click ‘Virtual Media’>‘Attach Media‘ Go to ‘Virtual Media’>‘Map removable disk‘ Select the ISO that ... Read More
Sync RPMs from one server to another (Centos/RedHat)

Sync RPMs from one server to another (Centos/RedHat)

Posted on November 18, 2017December 23, 2018 by Nikko
***** Verify that the OS matches EXACTLY before proceeding Sync yum repositories to the new server. On the original server execute: rsync -av /etc/yum.repos.d/ User@NewServer:/etc/yum.repos.d/ On the ... Read More
Mount and Boot an ISO via QEMU KVM

Mount and Boot an ISO via QEMU KVM

Posted on November 18, 2017December 23, 2018 by Nikko
Log on to the Host Place the ISO you want somewhere on the host Edit the xml file for the VM you are wanting to mount the ISO to virsh edit $VM Add the iso mounted via a virtual cdrom: <disk type=&... Read More
Setup an SSH Tunnel

Setup an SSH Tunnel

Posted on November 18, 2017December 23, 2018 by Nikko
An SSH Tunnel can be used to send encrypted data between two servers. Once setup, the remote host will appear to be running locally on a specific port. Optional – Setup SSH Keys Go to your home ... Read More
Compare the Difference Between 2 Lists or Config Files - Linux

Compare the Difference Between 2 Lists or Config Files – Linux

Posted on November 18, 2017December 23, 2018 by Nikko
Compare differences between 2 custom lists Create a list of the first items in ‘/tmp/1’ Create your second list in ‘/tmp/2’ Find items that are in /tmp/1, but not in /tmp/2 for i in $(cat /tmp... Read More
  • 1 of 4
  • 1
  • 2
  • 3
  • 4
  • 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.
© 2022 Linux Resolved. All Rights Reserved.