Sunday, December 22, 2024

Add new fonts to windows via GPO

 

Step 1: Create New GPO

In this example, I created a new GPO called Fonts Installation.

Step 2: Copy files to Fonts folder

  1. Edit ‘Fonts Installation’ GPO and navigate to: User Configuration > Preferences > Windows Settings > Files

  2. Create New File: Right click > New > File

  3. In Source file(s), enter location of the file (\\network location)

  4. In Destination File: C:\Windows\Fonts\Orkney Bold Italic.tff

  5. Click OK

Step 3: Add Registry

  1. Navigate to User Configuration > Preferences > Windows Settings > Registry

  2. Create New Registry Item with the following attributes:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts

Value Name: [name of the font] (TrueType)

e.g. Orkney Bold Italic (TrueType)

Value type: REG_SZ

Value data: Orkney Bold Italic.ttf

  1. Click OK

Step 4: Assign GPO to OU

Tuesday, July 2, 2024

Clore.ai ubuntu 20.04 installation

 After Ubuntu install:

 - Update and upgrade + reboot

$ sudo apt update
$ sudo apt -y upgrade && sudo reboot

- install needed packages and nvidia driver + reboot

$ sudo apt -y install mc ssh gcc curl nvidia-driver-535 && sudo reboot

- install clore.ai script

$ sudo -i
# bash <(curl -s https://gitlab.com/cloreai-public/hosting/-/raw/main/install.sh)
# /opt/clore-hosting/clore.sh --init-token <token>
# reboot

- Have fun :)




Thursday, January 4, 2024

Create secondary HDD partition

 parted /dev/sda mklabel gpt

parted -a opt /dev/sda mkpart "partitionname" ext4 0% 100%

lsblk --fs

mkfs -t ext4 -L "DATA" /dev/md124p1

mkdir -p /mnt/data

mount -o defaults /dev/md124p1 /mnt/data

nano /etc/fstab

/dev/md125p1    /diskdata       ext4    defaults        0       0