Start Windows CMD window as Admin (Run as).
Then run this command:
Continue reading “Enable icmp reply (ping) in Powershell”
– Connect to your ESXi with vSphere client and if necessary, enable SSH by going to configuration > security profile > properties > ssh and start the SSH service.
Continue reading “How to patch ESXi without an access to the VMware-ESXi-6.0.0-2494585 by command line.”
I have had the need to send mutiple email messages which contains for each one specific URL, this message had to be sent to multiple recipients.
Continue reading “Send email to multiple recipients which contains URL from file”
I found difficult to maintain updates over multiple hosts however, some tool exist to facilitate that time of maintenance steps.
Alternatively, some python script could also be used however I have decided to present that one for now.
Continue reading “Execute the same command on multiple Linux host in once”
As once the centos server has been installed. (Server minimum).
the following components are needed:
- Apache httpd server
Continue reading “PrestaShop on Centos 6.x”
Run this command which should work in most of distro.
Select the correct Zone that you wish to apply:
cp /usr/share/zoneinfo/Europe/London /etc/localtime
Installation in the terminal:
sudo apt-add-repository ppa:fixnix/indicator-systemtray-unity
sudo apt-get update
sudo apt-get install indicator-systemtray-unity
Once installed, you can enable it by this command:
gsettings list-recursively net.launchpad.indicator.systemtray
If you wish to remove it, run this command:
sudo apt-get --purge remove indicator-systemtray-unity
This script is checking the CPU Temp sensor; If one reach the threshold then a notification or shutdown (if needed) is done.
A few variables required to be set; then you are done
Continue reading “Sensor CPU check in bash”
By default configured to accept connection from local system (127.0.0.1). This should avoid open mail relay problem.
To allow connections from ALL hosts/LAN IPs open sendmail.mc file (login as the root):
# vi /etc/mail/sendmail.mc
Look for line that read as follows:
Comment or remove above line and insert new line that read as follows:
Above line will force to accept connection from any host. Save the file. Regenerate sendmail configuration file using m4:
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
If this command is resulting by giving such of error as below, this means that the file
/etc/mail/sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory
Then, this means that the sendmail.cf.xx rpm package is missing and require to be installed.
In my case, I had to mount the cdrom, and look for this rpm file:
Restart sendmail service :
# /etc/init.d/sendmail restart