Friday, February 22, 2019
Tuesday, June 12, 2018
Install and update PowerShell Core on Centos 7
Documentation: https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#centos-7
curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo
sudo yum install -y powershell
Check ps version and default modules
List All Configured Repositories
yum repolist (-v)
pwsh to start powershell
$psversiontable
Install GNOME desktop on Centos7
yum -y groups install "GNOME Desktop"
startx
Update powershell core
sudo yum update powershell
$PSVersionTable
curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo
sudo yum install -y powershell
List All Configured Repositories
yum repolist (-v)
pwsh to start powershell
$psversiontable
Install GNOME desktop on Centos7
yum -y groups install "GNOME Desktop"
startx
Update powershell core
sudo yum update powershell
$PSVersionTable
Thursday, March 22, 2018
Thursday, March 8, 2018
vCenter Server Appliance 6.x t WinSCP Appliance shell BASH
When you copy files using WinSCP, part of the operation happens on the target Linux system. The default Appliance Shell cannot be the remote partner of WinSCP. You must enable the Bash shell on the appliance, as follows:
- Initiate an SSH connection to the vCenter Server Appliance.
- Provide the root user user name and password when prompted.
- Run this command to enable the Bash shell:
shell.set --enable True - Run this command to access the Bash shell:
shell - In the Bash shell, run this command to change the default shell to Bash:
chsh -s /bin/bash root - Use WinSCP to upload the certificate files to the vCenter Server Appliance.
- To return to the Appliance Shell, run this command:
chsh -s /bin/appliancesh root
Switching the vCenter Server Appliance 6.x to BASH Shell
- Log in to the vCenter Server Appliance through SSH.
- Run this command to enable access the Bash shell:
shell.set --enabled true - Type shell and press Enter.
- In the temporary BASH shell, run this command to permanently configure the default Shell to BASH for Root:
chsh -s /bin/bash root - Log out from the BASH Shell.
- Log in again for the changes to take effect.
Switching the vCenter Server Appliance 6.x to Appliance Shell
- Log in to the vCenter Server Appliance through SSH.
- Run this command to change from using the BASH Shell to the Appliance Shell:
chsh -s /bin/appliancesh root - Log out from the Appliance Shell.
- Log in again for the changes to take effect.
https://kb.vmware.com/s/article/2100508
https://kb.vmware.com/s/article/2107727
Tuesday, December 19, 2017
Tuesday, September 5, 2017
Friday, August 25, 2017
Installing Nagios NCPA on Windows Server 2008 R2
Subscribe to:
Comments
(
Atom
)











