Sometimes you need to run a script on boot process, for example run an iptables config at boot process. So you don't have to run the script manually every rebooting.You can run your script on boot process in Ubuntu by adding it to /etc/init.d/rc.local file. Look the steps below. 1. Open /etc/init.d/rc.local file with this command:2. Add your script that you want to run on boot process there, for example:3. Save the files. And your script will run on boot process.PS: This steps … Read more...
[HowTo] Make Swap File in Ubuntu
One tips to make your Ubuntu or other linux faster is by adding a swap space or swap file. Swap space is the area on a hard disk which is part of the Virtual Memory of your machine, which is a combination of accessible physical memory (RAM) and the swap space.Swap space temporarily holds memory pages that are inactive. Swap space is used when your system decides that it needs physical memory for active processes and there is insufficient unused physical memory available. If the system … Read more...
[HowTo] Create Linux Bootable Live USB
Most of the Linux distributions come with ISO images. It's a bootable disc. You can burn it into a CD or DVD and it then you can boot it to install or using it as Linux live CD. But after a while you will have many old CD in your drawer since the new version keep coming. To save all your CD you can use USB Flash drive instead using UneetBootin.UneetBootin is an open source program developed by Geza Kovacs that allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux … Read more...
[HowTo] Make Your Windows XP Faster Part 2
Here i will continue the tips from the last post, how to make your windows xp faster part 1.8. In your Device Manager, double-click on the IDE ATA/ATAPI Controllers device, and ensure that DMA is enabled for each drive you have connected to the Primary and Secondary controller. Do this by double-clicking on Primary IDE Channel. Then click the Advanced Settings tab. Ensure the Transfer Mode is set to "DMA if available" for both Device 0 and Device 1. Then repeat this process with the … Read more...
[HowTo] Make Your Windows XP Faster Part 1
After a couple of months of using Windows XP, you probably feel that your Windows XP performance getting slower. I have been using Windows XP for more than 5 years now, and reinstalling or recovery Windows XP once per 6 months is become my schedule. Even i have to do this, i still feel that Windows XP is the best Windows Operating System that ever made by Microsoft. I still don't like Windows Vista or Windows 7 so much.Here i want to share you tips how to make your Windows XP faster, other … Read more...
[HowTo] Join Audio Or Video Files In Ubuntu
Sometime you want to join a couple of files to be 1 file. You can do that really easy in Ubuntu or any Linux. But in this case i will show in Ubuntu only, since my pc is using Ubuntu. You can join files with "cat" command. What file type can be joined with this command? Well as far as i know you can join text files, audio files and video files. haven't tried for other files like ISO files. If you tried it and successed please let me know by leave the comment.Well "cat" command is really … Read more...
[HowTo] Replace String In Mysql With One Query
Yesterday i was helping my friend's blog. She want to change her domain and move her hosting server for some reasons. She is using wordpress as her blog engine and of course using mysql as database server. To move wordpress blog to another domain you need to change some configuration on the database file. Especially if the data have the absolute path in url (ex: http://www.willbechange.com/bla/bla/post.html).After examine her database file i found that many of data in wp-options using … Read more...
[HowTo] Find Keyword In Files With Grep In Ubuntu
Most of the time when you want to debug your code or someone code which separates in many files, you need to know or locate where this function is defined or where this function called. You will waste so much of your time when you open your files one by one. So what is the solution then?Most of Linux distribution will have "grep" function installed. You can use grep to find a pattern of string contain in files. Let's say you want to find a function named "my_defined_function" in folder … Read more...
[HowTo] Install Apache, PHP, MySQL, and PHPMyAdmin on Ubuntu
After a while i haven't write on my blog. Now i'm ready to start writing again. Probably you notice that i changed my theme. Yes i was busy redesign my theme from the start. Anyway i will tell you the story on the next article.Now i want to show you how to install Ubuntu Karmic Koala 9.10 as a perfect server with Apache, PHP, MySql and Phpmyadmin. Since Ubuntu have a great repositories and the magic application called apt-get then it shouldn't be hard to make Ubuntu as a perfect … Read more...
[HowTo] Make Apache User Directory on Ubuntu
On system (in my case is Ubuntu server) with have multiple user and each user permit to have their own home directory, then you need to install mod_userdir on your apache. So you can have the address like this: www.anyurl.com/~username/. Each user will have their own subdirectory specified by UserDir driective in the configuration.To install userdir module in apache on ubuntu server is not hard. Only need a couple steps and change directory permission.Follow these steps below:Open … Read more...