Monat: November 2014

  • HTTP: disabled connection for (xxx)

    HTTP: disabled connection for (xxx)

    [tp no_translate=“y“][Wed Nov 26 12:11:53.835820 2014] [proxy:error] [pid 25184:tid 139835276719872] AH00940: HTTP: disabled connection for (xxx)[/tp] 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…

  • OSX command line clear trash

    OSX command line clear trash

    sudo rm -rf ~/.Trash/* this is the easiest way to emty the trash

  • WordPress 4 upgrade problemes

    WordPress 4 upgrade problemes

    wp-admin is slow you must set on the localhost file of the server all domains to localhost

  • login over ssh key

    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

    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

    sql cluster generator

    hier finden sie eine sehr gute seine mit script für die sql cluster Generierung http://www.severalnines.com/

  • Control Time Machine from the command line

    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…