This is an old revision of the document!
lsblk ## list disks
DEV=/dev/xxx ## select a proper disk device
sgdisk –print $DEV ## list current partitions
sgdisk –new=y:0:+512M –typecode=y:8301 –change-name=y:/boot $DEV ## partition for /boot
#sgdisk –new=2:0:+2M $DEV
#sgdisk –new=3:0:+128M $DEV
sgdisk -n Z:0:0 -t Z:8301 -c Z:rootfs $DEV ## partition for /
sgdisk –typecode=1:8301 –typecode=2:ef02 –typecode=3:ef00 $DEV
sgdisk -p $DEV
cryptsetup luksFormat –type=luks1 ${DEV}y
cryptsetup luksFormat –type=luks1 ${DEV}Z
cryptsetup open ${DEV}1 LUKS_BOOT
cryptsetup open ${DEV}5 rootfs_crypt
mkfs.ext4 -L boot /dev/mapper/LUKS_BOOT
pvcreate /dev/mapper/rootfs_crypt
vgcreate ubuntu-vg /dev/mapper/rootfs_crypt
lvcreate -L 4G -n swap ubuntu-vg
lvcreate -l 80%FREE -n root ubuntu-vg
while [ ! -d /target/etc/default/grub.d ]; do sleep 1; done; echo “GRUB_ENABLE_CRYPTODISK=y” > /target/etc/default/grub.d/local.cfg
INSTALL
mount /dev/mapper/ubuntu–vg-root /target
for n in proc sys dev etc/resolv.conf; do mount –rbind /$n /target/$n; done
chroot /target
mount -a
apt install -y cryptsetup-initramfs
echo “KEYFILE_PATTERN=/etc/luks/*.keyfile” » /etc/cryptsetup-initramfs/conf-hook
echo “UMASK=0077” » /etc/initramfs-tools/initramfs.conf
mkdir /etc/luks
dd if=/dev/urandom of=/etc/luks/boot_os.keyfile bs=512 count=1
chmod u=rx,go-rwx /etc/luks
chmod u=r,go-rwx /etc/luks/boot_os.keyfile
cryptsetup luksAddKey ${DEV}y /etc/luks/boot_os.keyfile
cryptsetup luksAddKey ${DEV}Z /etc/luks/boot_os.keyfile
echo “LUKS_BOOT UUID=$(blkid -s UUID -o value ${DEV}y) /etc/luks/boot_os.keyfile luks,discard” » /etc/crypttab
echo “${DM}5_crypt UUID=$(blkid -s UUID -o value ${DEV}Z) /etc/luks/boot_os.keyfile luks,discard” » /etc/crypttab
update-initramfs -u -k all
sudo add-apt-repository -y "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF sudo apt update sudo apt -y install code
sudo apt-get install pidgin pidgin-sipe
https://blog.programster.org/ubuntu-16-04-configure-pidgin-for-skype-for-business-lync
Conferece attenance: https://askubuntu.com/questions/296875/lync-attendee-meetings-on-ubuntu
sudo apt-get install evolution-ews
Configure the online account for “Microsoft Exchange” like described on URL: https://www.maketecheasier.com/access-microsoft-exchange-linux/
Another usefull resource: https://www.eduhk.hk/ocio/content/faq-configure-evolution-access-office-365
After implementing the configuration, close Evolution, go to the command line and kill all evolution processes.
cd /opt git clone https://github.com/IsmaelMartinez/teams-for-linux cd teams-for-linux dist/linux-unpacked/teams-for-linux
wget https://statics.teams.microsoft.com/hashedassets/favicon/prod/favicon-9f45b466.ico -o /opt/teams-for-linux/teams.ico echo "[Desktop Entry] Version=1.0 Terminal=false Type=Application Name=Teams Exec=/opt/teams-for-linux/dist/linux-unpacked/teams-for-linux Icon=/opt/teams-for-linux/teams.ico" > ~/.local/share/applications/teams-for-linux.desktop
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb sudo apt-get update sudo apt-get install -y powershell pwsh
wget http://download.opensuse.org/repositories/home:/uibmz:/devel:/experimental/Debian_9.0/amd64/winexe_4.8.0.0-15_amd64.deb apt install ./winexe_4.8.0.0-15_amd64.deb mkdir -p /usr/local/samba/var/cache winexe -U prgorilocal/USER%HESLO //SERVER PRIKAZ