Month: November 2014
-
HTTP: disabled connection for (xxx)
That is because of SE Linux. To fix it: /usr/sbin/setsebool httpd_can_network_connect true Or you can also set the security settings, -> Go to Security Level configurations and Change Tab to SELinux And modify SELinux policy Check Allow HTTPD scripts and modules to connect to the network under HTTPD service
-
WordPress 4 upgrade problems
wp-admin is slow you must set on the localhost file of the server all domains to localhost
-
login over ssh key
Debian ssh-keygen ssh-copy-id -i ~/.ssh/id_rsa.pub username@servername OSX ssh-keygen ssh-add ~/.ssh/id_rsa cat ~/.ssh/id_rsa.pub | ssh servername -l username ‘mkdir .ssh ; cat >>.ssh/authorized_keys’ backup RSA key over rsync rsync -avz –delete –sparse ~/.ssh/id_rsa.pub /target/target
-
WSUS activation script
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdate] “WUServer”=”http://YOUR-WSUS-SERVER” “WUStatusServer”=”http://YOUR-WSUS-SERVER” “TargetGroupEnabled”=dword:00000001 “TargetGroup”=”IT Department” “ElevateNonAdmins”=dword:00000000 [HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU] “NoAutoUpdate”=dword:00000000 “AUOptions”=dword:00000004 “ScheduledInstallDay”=dword:00000000 “ScheduledInstallTime”=dword:0000000a “NoAutoRebootWithLoggedOnUsers”=dword:00000001 “AutoInstallMinorUpdates”=dword:00000001 “RebootRelaunchTimeoutEnabled”=dword:00000001 “RebootRelaunchTimeout”=dword:0000003c “RescheduleWaitTimeEnabled”=dword:00000001 “RescheduleWaitTime”=dword:0000000f “DetectionFrequencyEnabled”=dword:00000001 “RebootWarningTimeoutEnabled”=dword:00000001 “RebootWarningTimeout”=dword:0000001e “UseWUServer”=dword:00000001 “NoAUShutdownOption”=dword:00000000 “NoAUAsDefaultShutdownOption”=dword:00000000 @echo off :: Echo Save the batch file as “WSUS.bat”. This batch file will do the following: Echo 1. Stops the Automatic Update Service (wuauserv) service.…
-
sql cluster generator
here you can find a very good one with script for sql cluster generation http://www.severalnines.com/
-
Control Time Machine from the command line
Backing up your data is the most important thing you can do with your computer—even more important than tweeting or posting on Facebook. If you don’t back up your Mac regularly, you may lose those photos that you want to share; you may find that your latest holiday videos are missing; and your music library…