content top

Change HostName Permanently – Ubuntu

Change HostName Permanently – Ubuntu

We can manually edit these files using a text editor like vim: sudo vim /etc/hosts sudo vim /etc/hostname In /etc/hostname simply overwrite the existing hostname with a new one. In /etc/hosts you will find the hostname on the line beginning 127.0.0.1 – overwrite only the hostname with the new one, and then reboot.   Share this:FacebookTwitterGoogleTumblrLinkedInEmailLike this:Like...

Read More

Mind hacking part #1 – Human curiosity

Mind hacking part #1 – Human curiosity

The curiosity about one’s self and the environment leads a person to investigate and with the help of his findings draw adequate inferences. It guides him to attain his desires and goals in life, to create a vision and to dream. It is that quintessential quality in man that makes him superior to other creations in terms of sociability, morality and intellectuality. This is something which enables him to build communities and develop...

Read More

Deny IP Range in .htaccess file

Deny IP Range in .htaccess file

Most of the time you need to block the whole range of IPs using .htaccess file and i recently noticed below code not working. <Files ajay.php> order deny,allow deny from all allow from 192.168.0.0/24 </Files> After couple of searches i found the /24 doesn’t work here and you need to make the subnet mask as 255.255.255.0   to allow single IP is easy as below <Files register.php> order allow,deny allow from...

Read More

Pure-FTP / How to Create User or reset Password

Pure-FTP / How to Create User or reset Password

Pure-FTP is one of the stable , Secure  FTP server , Very easy to install from source or using YUM in CentOS,  or In Case of Ubuntu just run “sudo Apt-get install pure-ftpd-common pure-ftpd.   After Installation, I have noticed it has a Database of it’s own for handling users and a bunch of nice commands to manage them. here it goes    Create New FTP User Open the terminal and run this command: ajay~# pure-pw useradd...

Read More

liblamemp3.dylib error in audacity to export as mp3 – FIXED

liblamemp3.dylib error in audacity to export as mp3 – FIXED

Lame Library needs to be installed additionally to export mp3 files from audacity. Use the current Audacity and download Lame Library v3.98.2 for Audacity.dmg.zip When you have finished downloading, extract and double-click the .dmg to mount it, then go to the Finder (in Safari, “Lame Library v3.98.2 for Audacity.pkg” will be extracted automatically after downloading). Double-click “Lame Library v3.98.2 for...

Read More
content top
%d bloggers like this: