Author: admin
-
Cisco IP Phone 7941 – reset
Power Cycle the phone and clear the configuration by holding down the # key and then plugging in the phone. After all the lights cycle on the phone, release the # key and press 123456789*0# followed with the 2 key (if you are using a 79×1, 79×2, 79×5, 7970 phone, plug the phone in and…
-
Scrubbing MD (Software RAID)
cat /sys/block/md0/md/mismatch_cnt if not 0 echo repair >/sys/block/md0/md/sync_action watch cat /proc/mdstat
-
Autologin in Ubuntu
In file /etc/lightdm/lightdm.conf add following in section [SeatDefaults]: autologin-user-timeout=0 autologin-user=
-
Disable update-notifier in Ubuntu
Prevent update-notifier from starting at login for all users The above method works only on the user that is currently logged in. This is useful if you have a one-user workstation. But if you want to make a system-wide change, run: sudo sed -i ‘s/X-GNOME-Autostart-Delay=60/X-GNOME-Autostart-enabled=false/’ /etc/xdg/autostart/update-notifier.desktop
-
Driver Windows 2003 Server
Load SCSI hard drive driver without floppy disk while Install windows server 2003 etc. i need to load the scsi hard driver by press F6 while installing windows server 2003, then insert the floppy disk, hand drive and the scsi driver is not included in Windows server 2003……. -_-! i dun even remember there’s a…
-
PPTP Ubuntu
PPTPServer This guide has been tested with Ubuntu 12.4.2 LTS Server. Setup PPTP Server First we need to install pptp server using apt-get # sudo apt-get install pptpd Then we need to configure the pptpd. # sudo nano /etc/pptpd.conf Add server IP and client IP at the end of the file. You can add…
-
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
-
WHM domain owner
Please run the following command in root SSH: /scripts/whoowns domain.com Where domain.com is the domain name in question. If it doesn’t show any ownership, then move the following files: cd /etc mv userdomains userdomains.bak mv trueuserdomains trueuserdomains.bak mv domainusers domainusers.bak At that point, run the following script and recheck ownership for the domain: /scripts/updateuserdomains /scripts/whoowns domain.com If…
-
Check if latest Kernel is running on Ubuntu, with Zabbix
First a created a bash script that return 0 – error, 1 – OK, 2 – Old Kernel is running. The script is called /usr/local/bin/last-kernel-check.sh #!/bin/bash name=”`uname -a | cut -d ‘ ‘ -f3`” new=”0″ for files in `ls /boot/config* | xargs -n 1 basename | cut -d ‘-‘ -f2-` do if [ “$files” == “$name”…
-
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