Chroot into linux partition

Every linux administrator should learn how to chroot into another linux system that needs maintenance or rescue. We take as an example that your computer crashed after an update and now it is booting into busy box. After you type dmesg command you realise that your computer was not able too mount root partition and … Read more

Nice and easy LAMP install on Ubuntu 10.04

This is the way to install PHP, MySQL and Apache on one command line: apt-get install apache2 php5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql phpmyadmin php5-ffmpeg php5-gd php5-curl /Good luck! 😉

Packages you need to get php5-ffmpeg working

Users mail me often with qestions like can you give me the list of packages that are needed to successfully convert video to flash with PHP. Here’s the list of packages you need to install to get it work: sudo apt-get install php5-ffmpeg ffmpeg flvtool2 mencoder lame

Copy files over SSH

If you like me somethimes need to easily transfer files from one server to another there is a nice utilty that does the job for you.The command line peace of software is called scp (secure copy). As usual we take en example case. Say for example you want to transfer backup.tar file from your remote … Read more

Another perfect install of ffmpeg for php on Hardy

lform_javascript_

If you are getting troubles installing ffmpeg with sound support on your ubuntu machine then follow this guide. I am pretty sure this one is quite easy to follow. 😉 1. First of all install php5-ffmpeg via apt-get. sudo apt-get install php5-ffmpeg 2. Now add mediaubuntu repositories: sudo wget https://www.medibuntu.org/sources.list.d/hardy.list –output-document=/etc/apt/sources.list.d/medibuntu.list Then add GPG key: … Read more

How to surf over your home network from the job or the school

If you already have a SSH server runnning at home than the hard part is over. The easy part is to setup your browser and download Putty to your work or school computer. 1. Download putty from Putty 2. Now move the putty to the C: 3. Run command window (Tip: Windows flag + r than … Read more

Perfect install of ffmpeg on Ubuntu 8.04 Hardy

Finally I’ve managed to “find out” how to install ffmpeg converting tool with needed codecs that supports video conversation with sound. Now days you can install ffmpeg as a php module directly from aptitute (synaptic or apt-get) so no compiling is needed.  At command line just run: sudo apt-get install php5-ffmpeg Edit sources-list: sudo nano … Read more

Install Ubuntu or Windows XP on Dell dimension 9200

I have had headache removing Windows Vista to replace it with Ubuntu. Every time I’ve tried to boot from some other media it didn’t work. Booting from Windows XP caused a blue screen. Finally I’ve found a solution to install Ubuntu on my system. 1. Boot the computer and press F12 when bios appears2. Go … Read more

Deleting mail in postfix queue (mailq)

Postfix stores mails in a queue before sending it. Sometimes you wish to remove the mails from the queue but wonder how. Postfix has a command line called postsuper which can be used to delete unsent mails from the queue. Before removing the mail from the queue it is good idea to list all mails … Read more

Installing php-ffmpeg on ubuntu from source

This tutorial will teach you how to successfully install php-ffmpeg on ubuntu 7.10 but approach is the same no matter which Ubuntu version you might use.  You do not need to follow steps below if you run latest Ubuntu release. You can install php-ffmpeg as a module via aptitude or synaptic. Before you start with … Read more