Friday, December 06, 2024

To set up Docker on Ubuntu 24.04, follow these steps:

 

Step 1: Update the System

sudo apt update
sudo apt upgrade -y

Step 2: Install Dependencies

Ensure that required dependencies are installed:

sudo apt install -y ca-certificates curl gnupg lsb-release

Step 3: Add Docker's Official GPG Key

sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

Step 4: Set Up Docker Repository

echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Step 5: Install Docker Engine

sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Step 6: Start and Enable Docker

sudo systemctl start docker
sudo systemctl enable docker

Step 7: Verify Docker Installation

Run the following command to verify:

docker --version

Optional: Add Your User to the Docker Group

This allows you to run Docker without sudo.

sudo usermod -aG docker $USER

Log out and log back in to apply the group changes.


Tuesday, December 03, 2024

extend disk vmware.

1.  lakukan exted di vmware esxi

2. jalankan perintah sudo parted dan lalukan extend 

3 jalankan perintah sudo pvresize /dev/sda3

4.  jalankan sudo lvextend -l +100%free /dev/ubuntu-vg/ubuntu-lv

5. jalankan  sudo resize2fs /dev/ubuntu-vg/ubuntu-lv

Monday, June 24, 2024

Connect to MS Exchange 2019 using Powershell

 Connect to MS Exchange 2019

1. $UserCredential = Get-Credential

2. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://ServerFQDN/PowerShell/ -Authentication Kerberos -Credential $UserCredential

3. Import-PSSession $Session -DisableNameChecking


to stop session

> Remove-PSSession $Session

Tuesday, May 07, 2024

Extend LVM on Suse Enterprice

 1.  extend disk using parted (see http://kafemis.blogspot.com/2018/10/resize-hdd-virtual-machine-at-ubuntu.html)

2.  pvresize /dev/sda2

3.  lvextend -l +100%Free /dev/system/root

4. btrfs filesystem resize max /    (untuk btrfs filesystem)

     xfs_growfs /dev/vg/lv (untuk xfs filesystem)


Monday, March 04, 2024

 

Step by Step How to Install and Configure Work Folder in Windows Server 2019

 

1.       1. Add features work folders at server



2.       2. Add features IIS



3.      3.  Setup Work folder

a.       Open server manager > File and storage Services > Work folders

b.       Click To create a sync share for Work Folders, start the New Sync Share Wizard”.

c.       Click Next > click Enter a local Path and type d:\Work Folders > click Next

d.       Click user alias  > click Next

e.       On the Enter the sync share name interface, just click Next.

f.        On the Grant sync access to group interface, click Add and then in the Enter the object name to select, type Domain Users and then click OK and uncheck  Disable inherited permission, click Next to proceed

g.       On the Specify device policies interface, check Encryp Work folders and uncheck Automatically locl screen and require a password

h.       On the Confirm selections interface, click Create.

i.         On the View results, verify the sync share created successfully and then click Close.

4.       4. Edit  group Policy “work Folders”  

a.       go to User Configuration\Policies\Administrative Templates\Windows Components\Work Folders, then double click Work Folders.

b.       In the details pane, double-click Specify Work Folders settings.



5.       5. Create DNS  Record for HTTPS://workfolders.ecogreenoleo.com

6.       6. Binding the SSL certificate

1.       7. Go to pc client, open Work folders c:\users\username\work folders

2.       8. Move document location to Workfolder