- Download latest version Minimal ISO CentOS from https://www.centos.org/
- Install centos with minimal required hardware configuration
- CPU - 1
- RAM - 1GB
- HDD - 20GB
- optional Create an additional user with the administrator privilages (ex: myuser)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# for a quick installation of this script run the following command | |
# bash <(curl -L https://gist.github.com/Dzoge/8adb0c80aabb12309c030663247a230a/raw) | |
# Update Packages | |
yum upgrade -y | |
# Install dotnet runtime | |
rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
'UPDATE ['+TABLE_SCHEMA+'].['+table_name+'] SET ['+column_name+'] = REPLACE(['+column_name+'], ''existing-text'', ''new-text'');' | |
--,table_name as [TableName] | |
--,column_name as [ColumnName] | |
--,TABLE_SCHEMA as [SchemaName] | |
from information_schema.columns | |
where data_type = 'nvarchar' | |
and character_maximum_length=-1 |