Tag: Ubuntu

Fix Ubuntu SSLv3 POODLE issue in Apache

1) Edit the file that holds the Apache SSL configuration: sudo nano /etc/apache2/mods-enabled/ssl.conf 2) Find the following line: SSLProtocol all -SSLv2 3) Add the option “-SSLv3″ so that the line will look like this: SSLProtocol all -SSLv2 -SSLv3 4) Now restart Apache to make the change effective: sudo service apache2 restart

Ubuntu Failed to fetch

  Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources  Hash Sum mismatch The above error message can be easily resolve by just remove the content of /var/lib/apt/lists directory: sudo rm -fR /var/lib/apt/lists/* then run: sudo apt-get update

Installing OpenWRT on a x86 PC (Part 1)

Installing OpenWRT on a x86 PC (Part 1) _______ ________ __ | |.—–.—–.—–.| | | |.—-.| |_ | – || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M —————————————————– ATTITUDE ADJUSTMENT (12.09, r36088) —————————————————– * …

Continue reading

Ubuntu command line for Speedtest.net

Ubuntu command line for speedtest.net Hi All, this speedtest-cli tool is created by Matt Martz, it is useful for any ubuntu or linux command line device where you need to perform speedtest via the popular site of Speedtest.net.   Download and Install Git $ sudo apt-get install git Verify Python Version The speedtest-cli tool is developed with …

Continue reading

Upgrading Shiki.TK server OS in progress!

Currently, I am upgrading my server OS ubuntu from Precise Pangolin (12.04.1) to Quantal Quetzal (12.10). Hope everything work out fine and services up and running after server rebooted.

Ubuntu HDD health check (S.M.A.R.T.)

Ubuntu HDD health check (S.M.A.R.T.) Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) is built into most modern ATA and SCSI hard disks. To use SMART to check your disk, install the smartmontools package. To all information provided by SMART on /dev/sda, run sudo smartctl -a /dev/sda To run a selftest on /dev/sda, run sudo smartctl …

Continue reading

How to set proxy with authentication in corporate environment in Ubuntu 12.04

Using terminal, go into the below path: /etc/apt Use the below command if authentication needed: Acquire::http::Proxy http://UserName:Password@ProxyServerURL:8080″;  Use the below command if no authentication needed: Acquire::http::Proxy “http://proxy:8080”;

Ubuntu 12.04 server is finally up and running :)

Today, my Ubuntu 12.04 server is finally up and running but, still need a bit of fine tune and some important daemon to add.

Setup a PXE environment at home to install Ubuntu 10.10 on client without CD-rom/Floppy

Setup a PXE environment at home to install Ubuntu 10.10 on client without CD-rom/Floppy Things you need: 1/ DHCP Server (Existing home router) 2/ TFTP Server (from Ubuntu 10.10) Steps 1/ Existing ubuntu run the following: sudo apt-get install tftpd-hpa tftp-hpa xinetd   3/ Copy unbuntu boot file to tftp path:   If you have …

Continue reading

Wiping hard drive clean in linux

Two good methods of “clearing” your hard drive are: With a Ubuntu or Live CD and in a terminal do this: sudo dd if=/dev/zero of=/dev/XdY or sudo dd if=/dev/random of=/dev/XdY where XdY is the drive, i.e. sda, sdb, or hda, hdb, etc.