bojanpejic.com
Scrap Book About Web – Programming – Development – Places, and more 8-)
Scrap Book About Web – Programming – Development – Places, and more 8-)
Dec 17th
This post represents a small guide of how to setup your LAMP (Linux-Apache-MySQL-PHP) under Kubuntu (this works also for Ubuntu).
Usually LAMP tutorials guide you to install one by one all the applications, that looks something like this:
sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install mysql-server
There is one more easy solution, and the only difference is that it installs all + some other packages for LAMP.
sudo apt-get install lamp-server^
When installation of new packages finishes you have you own LAMP setup! Test it entering http://localhost in your browser it should say It works!
For adding PhpMyAdmin execute the following command in console:
sudo apt-get install phpmyadmin
It is possible when you type in your browser http://localhost/phpmyadmin/ that phpmyadmin don’t runs. Then you have to create a link in your www directory:
sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
After doing this http://localhost/phpmyadmin/ should work now!
To have permissions to your www directory do following:
sudo chown username:username /var/www
Enable Apache mod_rewrite module and restart Apache for taking effects:
sudo a2enmod rewrite sudo /etc/init.d/apache2 restart
You can enable or disable some other modules like this.
Now you have your LAMP up and the work can start :)
Dec 15th
Wubi is an officially supported Ubuntu installer for Windows users that can bring you to the Linux world with a single click. Wubi allows you to install and uninstall Ubuntu as any other Windows application, in a simple and safe way. Are you curious about Linux and Ubuntu? Trying them out has never been easier!
If you’re new to Ubuntu and other Ubuntu based installations (Kubuntu, Xubuntu) this is a great way to play with it, and if you don’t like it you can easily remove it!
You need a Kubuntu installation disc, which you can download from official Ubuntu site or Kubuntu.org, you can chose there from 32-bit or 64-bit version. There are few alternatives, you can download it via FTP or torrent if you like that more.
On Kubuntu.org you have option to download only Wubi (~1.5Mb) and start install Kubuntu with it, but then it will download all the data (installation disc) from Internet. So, if you don’t have a good bandwith Internet I don’t recommend this.
After you downloaded your Kubuntu installation disc, you can burn it on CD or if you have a virtual drive mount in it. Now you have to run Wubi.exe (find on CD or through Windows Autoplay) which is in root of CD. A window will appear with Kubuntu CD menu and three option, you chose the second one from there Install inside Windows. After that it’ll appear a window which looks something like next picture.

wubi-installer.org
Now you have to configure some options before you start you Kubuntu installation through Wubi installer. Chose your Installation Drive (it can be any partition which can Windows access), but it has minimum 12GB free space. Installation size is worth to set bigger if you want to install a bunch of programs and stuff, if you don’t you can leave on 8GB. Desktop Environment will be Kubuntu in our case. Set Language, Username and Password, click on Install and here it goes! It will copy some files and after that will ask to restart your system, and finish with whole installation after setting up more stuff (when installation finishes don’t forget to remove your install CD from drive).
After next restart you’ll see a boot menu which gives you option to chose which OS to start Windows or Kubuntu. You can now run your new Kubuntu OS :)
I’m using Kubuntu like this for about 2-3 weeks, and have to say I’m satisfied with it. Only I have to say there were few difficulties during the install.
My first attempt was with Kubuntu 9.10, but after entering in it there was no wireless connection on notebook (Dell Inspiron 1525). I checked it, it recognized that I have wireless card, but I could not manage it or to connect on my home network. I didn’t have choice so I connected with LAN cable, and make all the updates/bug fixes for Kubuntu. After finished update and restart I was able to handle my WLAN connections.
One more thing to pay attention is sound. If you don’t have any it’s worthy to check your KMix and run alsamixer from console. Be sure that is in alsamixer everything turned on (volume is on top and it’s not MM – muted). With ‘M’ key you can change the values where you find it is MM.
For more detailed installation process and informations about Wubi visit wubi-installer.org.