Posted by The TechMentor in Journal
on May 23rd, 2020
Ended up with a ton of duplicate errors and complaints about multiple architectures. Ran several things such as: sudo yum update –skip-broken sudo yum-complete-transaction sudo yum-complete-transaction –cleanup-only sudo yum update –skip-broken –exclude systemd-libs.otherarch sudo package-cleanup –cleandupes All fixed various things, but still left a handful of duplicates. This, as root, finally fixed: for i in $(package-cleanup –dupes); do rpm -e –justdb $i –nodeps; done yum update
Posted by The TechMentor in Journal
on May 23rd, 2020
Use lsblk to identify device $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 119.2G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 0 55.4G 0 part ├─centos_kate-swap 253:0 0 3G 0 lvm [SWAP] ├─centos_kate-root 253:1 0 35.2G 0 lvm / └─centos_kate-home 253:2 0 17.2G 0 lvm /home sdb 8:16 1 28.9G 0 disk └─sdb1 8:17 1 28.9G 0 part /mnt/KATE_BACKUP sr0 11:0 1 1024M 0 rom Format with EXT4 Create a GPT partition table by issuing: sudo parted /dev/sdb –script — mklabel gpt Run the following command to create a EXT4 partition that takes the whole space: sudo parted /dev/sdb –script...
Posted by The TechMentor in Journal
on May 17th, 2020
When a Origin Master becomes unavailable create a new repo for the master and then on the client: $ git remote rm origin $ git remote add origin gitpriv@backwater.techmentor.com.com:gitrepo/provisioning/ubuntu.git $ git config master.remote origin $ git config master.merge refs/heads/master $ git push –set-upstream origin master and maybe $ git push –all $ git push –tags
Posted by The TechMentor in Journal
on Feb 8th, 2019
=LEFT(<cn>,LEN(<cn>)-LEN(<hostname>)-1) Example =LEFT(D2,LEN(D2)-LEN(A2)-1)
Posted by The TechMentor in git
on Feb 6th, 2019
1. list all remote tags git ls-remote --tags 2. delete local tag git tag -d V_1_0_1 3. push tag deletion to remote git push origin :refs/tags/V_1_0_1 4. tag local branch again git tag V_1_0_1 5. push tag to remote git push origin tag V_1_0_1
Posted by The TechMentor in Journal
on Jan 4th, 2018
To Scale: Right clicked the page when the measuring tool was selected and chose ‘change scale ratio’.