Category: Uncategorized

  • Windows activation

    slui 4 slui 3 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OOBE] “MediaBootInstall”=dword:00000000 “SetupDisplayedEula”=dword:00000001 “SetupDisplayedLanguageSelection”=dword:00000001 “RetailInstall”=dword:00000001    

  • Change user serttings for documentroot on Cpanel

    # vim /var/cpanel/userdata/USERNAME/DOMAINNAME.COM documentroot: /home/USERNAME/public_html/NEW_PATH # /scripts/rebuildhttpdconf # service httpd restart

  • Git init to existing folder

    cd ~/git/foo git init git remote add origin git@<host>:<git repo inkl .git> git config –global user.name <“Your Name”> git config –global user.email <“Your email”> git config –global push.default simple git fetch origin git branch master origin/master (optional) git checkout master git add -A git commit -m ‘first commit’ git push –set-upstream origin master git push

  • How to generate a certificate revocation list (CRL) and revoke certificates

    By Jamie Nguyen — Aug 26, 2013 This tutorial is part of a series on being your own certificate authority, which was written for Fedora but should also work on CentOS/RHEL or any other Linux distribution. In the first tutorial of the series, we explored how to act as a certificate authority. We also learnt…

  • Move an existing SVN repository

    How do I move an existing SVN repository? 1. On your server machine where the repository is now, run svnadmin dump /path/to/the/svn/repo > mydumpfile 2. Put that file (mydumpfile) somewhere 3. Create a repository in new location. 4. Import the dump file (mydumpfile) by running: svnadmin load /path/to/repo/on/ < mydumpfile

  • Nvidia and Ubuntu – Blank screen

    Remove everything to do with the Nvidia proprietary drivers. sudo nvidia-settings –uninstall sudo apt-get remove –purge nvidia* Start from scratch. sudo apt-get remove –purge xserver-xorg-video-nouveau xserver-xorg-video-nv Reinstall all the things! sudo apt-get install nvidia-common sudo apt-get install xserver-xorg-video-nouveau sudo apt-get install –reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core Reconfigure the X server. sudo dpkg-reconfigure xserver-xorg

  • Instalera libpdf i Centos

    cd /usr/src wget http://pecl.php.net/path/to/package.tar.gz tar -zxf package.tar.gz cd package phpize ./configure make make install

  • Arp problem

    Ubuntu: arp.rytt130219 Bridge: arpBridge130219 Bridge (kort inspelning): arp130218 Network:

  • Readd disk with mdadm

    The mdadm command allows you to re-add new hard drives after one has failed. The command is simply: mdadm – -add /dev/md* /dev/hda*

  • TVHeadend, Continuity counter error

    sudo vim /etc/sysctl.conf # Net net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 Run: sudo sysctl -p