Upgraded to Ubuntu 15.04

8 years and 11 months ago

Solve Missing Library Error in Ubuntu

This article i want to share and also remind myself in the future on how to solve missing library error in Ubuntu. There was a time when i tried to compile some package library on Ubuntu.When i tried to compiled it i got a strange error "zlib.h : No such file or directory.", this is strange error that I never encountered before.After Googling a while I got the solution as follows:Search zlib.h file in http://packages.ubuntu.com and you will get some results.Then i choose the library … Read more...

Linux Command “find” 101

It's been a month i move back to Ubuntu as my primary OS. And i would like to write one of the most use command in Linux: "find". This command is like a magic to search anything i want on my hard drive. I can find a text inside a file, or filter it for certain extension. I can search the files with latest modified time and also the file size.List to use Linux command "find" that mostly used by me:Find all PHP Files in a directory:Find a file with a name:Find file with wrong permission … Read more...

Fix PHPMyAdmin Error When Using suPHP on Ubuntu 14.04

Since i move to Ubuntu recently, i need to setup all the development environment. My stack is using Nginx with Apache + PHP as the webserver and use MySQL as database. Since i don't like to useas the home directory for the apache, i moved it to my /home/ivan/public_html folder. And to make it easier, i need to change PHP to run as my user role. For that i install suPHP module on Apache, and then chmod 755 all the php files. Everything is working correctly, except PHPMyAdmin, since … Read more...

Boot Ubuntu ISO Without Burn It To CD

You can boot Ubuntu ISO without burn it to CD, this is very useful if you want to test the latest Ubuntu without installing it. And in some occasion I use this Ubuntu Live CD to fix my Windows. You can use Ubuntu Live CD to do anything without change any data in your hard drive.  I found this useful and I have one USB Memory stick 4GB that have this Ubuntu Live CD.To create the Ubuntu Live CD using USB stick, you can use Unetbootin. With this tools, you can create bootable USB stick. And … Read more...

Tips to use Grep Command in Linux

Grep is one of the most use Linux command from command line. The grep command use to search text or searches the given file for lines containing a match to the given strings or words. Very useful if you want to search a text inside the files. And you can use regular expression in filtering the files.1. The basic use fo grep commands:2. Find a word in a file using grep command3. Recursive search in directories4. Ignore word case5. Search 2 different … Read more...

Securing OpenSSH: Filter Host To Limit Access

One technique to securing OpenSSH is filter some hosts that allowed to access your server through SSH. This technique will prevent us from openSSH brute force attack. To filter some hosts that allow to connect from port 22 (SSH port), we can use firewall. You can use whether ConfigServer Security & Firewall or denyhosts. Both are free to use. To use CSF you may need to have cPanel for easy configuration. So now let's choose denyhosts instead.[quote]DenyHosts is a script intended to be … Read more...

PHP Suhosin: Hardening Your PHP5 On Ubuntu

PHP Suhosin is an open source patch for PHP5 to hardened the servers security. From the PHP Suhosin official:"Suhosin is an advanced protection system for PHP installations that was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low-level protections against bufferoverflows or … Read more...

Creating deb Packages From tar.bz File In Ubuntu

Creating deb Packages in Ubuntu from tar.bz is possible using "alien" command. Alien command converts an RPM or source package files into a Debian package file or Alien can install an RPM file directly. Creating deb packages with alien is not recommended to replace important system packages, like init, libc, or other things that are essential for the functioning of your system, because some distributions setup these packages differently. But for other packages that doesn't available yet in … Read more...

Ubuntu Torrent Client From Command Line

Ubuntu torrent client is not only available in GUI mode. The most simple Ubuntu torrent client is Transmission, beside it has GUI mode it also available for command line interface. It have the same feature, you can both upload and download torrent file from command line interface. As one of the Ubuntu torrent client, Transmission is easy to use and easy to install too.Why use Ubuntu torrent client from CLI? This is an interesting question. Why we should use Ubuntu torrent client from the … Read more...