Author Archives: Tony

Pass arguments to the PowerShell script in PowerShell ISE

Use the command pane. Open the script file in the ISE editor, set the breakpoints (F9). Then in the command pane type a command invoking this script with required parameters. I do not think there is another (built-in) way of … Continue reading

Posted in develop | Tagged , , | Leave a comment

Add a repository to SEL

Reference https://code.visualstudio.com/docs/setup/linux Running VS Code on Linux Installation openSUSE and SLE based distributions The yum repository above also works for openSUSE and SLE based systems, the following script will install the key and repository: sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc sudo sh … Continue reading

Posted in develop, linux | Tagged , , , | Leave a comment

VDI Client on Linux

Prerequisites for building the VDI client Download SLES release of llvm + clang from http://releases.llvm.org/ tar -xvf clang+llvm-5.0.1-linux-x86_64-sles12.2.tar.xz Install libuuid-devel from SDK or Suse repo. export PATH=/home/tony/clang+llvm-5.0.1-linux-x86_64-sles12.2/bin/:$PATH cd /home/tony/sandbox/tsm/sqlvdi-linux LD_LIBRARY_PATH=”/opt/mssql/lib” make -f Makefile   Run vdisample https://github.com/Microsoft/sql-server-samples/tree/master/samples/features/sqlvdi-linux https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-backup-vdi-specification   Run … Continue reading

Posted in linux, sql.server | Tagged , , | Leave a comment

gnome-commander from OpenSuse

Get the one click install from https://software.opensuse.org/download.html?project=openSUSE%3AFactory&package=gnome-commander The one click install is https://software.opensuse.org/ymp/openSUSE:Factory/standard/gnome-commander.ymp Open it in nautilus or File Manager by doubleclick https://gcmd.github.io/index.html https://168hours.wordpress.com/2008/08/18/10-total-commander-alternatives-for-linux/ SUSE package hub https://packagehub.suse.com/how-to-use/post-installation/

Posted in linux | Tagged , | Leave a comment

Mount Shared Drive on VirtualBox Linux

Inside Suse edit the Suse’s rc.local file which is: sudo vi /etc/init.d/after.local to automatically mount the shared folder every time the Linux starts: sudo mount -t vboxsf D_DRIVE /mnt Restart the OS. In order to have access to the FS … Continue reading

Posted in linux | Tagged | Leave a comment

Resize VMDK disk of a SUSE Linux VM

Run in a Command Prompt. Pay attention to the disk UUID. pushd C:\Program Files\Oracle\VirtualBox VBoxManage.exe clonemedium D:\VirtualBoxVMs\SQLONSLES\SQLONSLES.vmdk D:\VirtualBoxVMs\SQLONSLES\SQLONSLES.vdi –format VDI @REM 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100% @REM Clone medium created in format ‘VDI’. UUID: e84ba0f2-37f9-43c1-9dcb-3cb3bbcce991 VBoxManage modifymedium disk D:\VirtualBoxVMs\SQLONSLES\SQLONSLES.vdi –resize 15360 @REM 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100% VBoxManage.exe … Continue reading

Posted in VirtualMachine | Tagged , | Leave a comment

SUSE Linux Enterprise 12 SP3 (SLES 12) Installation + Guest Additions on Oracle VirtualBox [2017]

SUSE Linux Enterprise 12 SP3 (SLES 12) Installation + Guest Additions on Oracle VirtualBox [2017] https://www.youtube.com/watch?v=_n81N7Hihu4 After install SLES 12 SP2 make sure you have the SLES ISO Disk1 mounted. Open a terminal window (by right click on desktop and … Continue reading

Posted in linux, VirtualMachine | Tagged , , | Leave a comment