Having a gigabit connection and choosing a far-away mirror causing long time to update system is always frustrating. Its also hard to figure out the nearest mirror for every server, when you are dealing with servers deployed world-wide.
Luckily for Debian, there is a mirror selector which automatically finds the nearest one and uses it while working with apt.
To use it, replace the currently configured Debian mirror in sources.list with the following address:
e.g. for Debian jessie
deb http://httpredir.debian.org/debian jessie main contrib non-free
Its also available for Backports and older versions. More details at http://http.debian.net/No Comments | Read More...
wget freevps.us/downloads/bench.sh -O - -o /dev/null | bash
Script 2: (Credits)
wget dl.getipaddr.net/speedtest.sh 2>/dev/null -O- | bashNo Comments | Read More...
Few days before, when I heard of the iCloud leak and #Fappening, it wasn’t hard for me to find the mentioned files and I queued it for download. Sitting at home reading few books, with an almost unusable laptop, thoughts came to my mind, keeping the privacy issues apart, why do I need to see it?
I don’t even remember hearing those names, stopped collecting porn videos/images a long time ago, but I do watch videos streamed once in a while. Has that got any effect on me? Diving more into it over the internet lead me to many videos, articles and ebooks. Found this particular TEDx video worth sharing. Not just because of the content inside the video, but also the comments.No Comments | Read More...
phpMyAdmin being the most used tool for managing MySQL databases comes as a package with Debian and works out of the box with “apt-get” along with apache, php and mysql.
But, when switching over to suPHP from the apache mod_php plugin, even if every other things work, phpMyAdmin fails.
The error looks like:
File does not exist: /usr/share/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
This is because its configured to work only for mod_php. The configuration file is located at “/etc/phpmyadmin/apache2.conf”, which is symbolically linked at “/etc/apache2/conf.d/phpmyadmin.conf”
The easier option is to enable “mod_php” by typing in “a2enmod php5” as described at Sysadmin World.No Comments | Read More...
Everytime, when I do a fresh installation of Debian, I come across the issue of mounting USB drives. Since all the USB drives I connect are of NTFS partition, spends time on searching issues related to NTFS and finally sorts out the issue, which has nothing to do with NTFS.
The error is caused by an entry in the “/etc/fstab” file, which contains the configurations for mounding drives. Since I use Pen drives for installation, an entry is created for the device during installation, detected as “/dev/sdb1”, which is the second disk after the internal hard disk.
The first partition of all usb devices plugged in first will be detected as “sdb1”, and the entry in “fstab” file prevents mounting it. To get rid of the issue, just delete the line starting with “/dev/sdb1” in the “fstab” file.No Comments | Read More...