pROCKrammers BLOG

My Blog about Computez and ...

Subscribe to RSS feed

My New Blog

, , , ...

My new blog is here : http://blog.mnoman.pl/

How to install CakePHP on openSUSE 11.3 (mod_rewrite)

, , , ...

openSUSE 11.3 is realized but. While installing CakePHP to openSUSE i got some problems, and did not found any article on installing it.

First off all, install LAMP pattern from YAST.

Now we should enable mod_rewrite

/usr/sbin/a2enmod rewrite


Now lets edit website file, in order to make mod_rewrite better.

sudo vim /etc/apache2/default-server.conf


Here you should edit 2 lines, edit it like this. Options should be All, and AllowOverride should be also all.

<Directory "/srv/www/htdocs">
........................
        Options All
........................
        AllowOverride All
</Directory>


Then start your apache web server with command

sudo /etc/init.d/apache2 start
sudo /etc/init.d/mysql start



Now its ready for using.

apt vs zypper

, ,

There is a short list of commands of apt and zypper how they differ.
apt-get zypper
apt-get install zypper install
apt-get remove zypper remove
apt-get remove zypper remove
apt-get upgrade zypper update
apt-get dist-upgrade zypper dup
Also what I liked with zypper it installs packages as it downloads them.

openSUSE 11.3 Milestone 7 on my laptop

,

I installed new distribution of GNU/Linux to my laptop.

My new distribution is openSUSE 11.3 m7. There a lot of reasons to migrate from *Ubuntu to the distro.

First is my computer started to work slower that it was.

It is still Kubuntu 10.04 on my desktop computer, but I am about to change it to openSUSE.

How to enable, missing menu icons in GNOME - Ubuntu 9.10/10.04 (Lucid)/ 10.10 (Karmic)

, , ,

Ubuntu 9.10/10.04(Lucid)/10.10 (Maverick) has realized, it is one of the best relizes of the Ubuntu.

As you noticed some menu icons is missing.

It is easy to enable them

Click
ALT+F2

enter
gconf-editor

and go to
/desktop/gnome/interface/

and tick on
menus_has_icons


and that is ...

Wish you luck

Certificate by Opera ASA

, , ,

Yesterday, I got my certificate by Opera ASA, Campus Crew Team here is it.

RMS about Mandriva Powerpack redistribution

, ,

Yesterday, I sent email to Richard Stallman, and got answer to my question.

My email to RMS,

Dear Richard Stallman,

My name is Sardorbek, I am member of Uzbekistan Linux Community. I have a question, as you know in order to use Mandriva Powerpack you should buy it, but if I would just download or take it from my friend. Does it lawful?

Thank you in advance.

Best wishes.

Sardorbek Pulatov (Uzbekistan Linux Community)



His Answer

I don't recognie the name "Powerpack". I would guess
it is a GNU/Linux distribution. Most of them contain non-free software.

If it is entirely free software, then copying your friend's copy is lawful.
If it is not entirely free software, then it is unethical and you should
not use it at all.

This has nothing to do with GPLv2. The GNU GPL is a free software
license; all versions of the GNU GPL are free software licenses.
All the code that is under the GNU GPL, you are free to copy.
The problem would be non-free programs included in Mandriva Powerpack.
Those programs are NOT under GPLv2.

Sardorbek Pulatov (Uzbekistan Linux Community)

Please don't call the system "Linux" -- if you do that, you give the
system's principal developer, the GNU Project, none of the credit.

See http://www.gnu.org/gnu/gnu-linux-faq.html.

Funny Pics

,

Decrease Boot Time (speed) in Ubuntu 9.04, Part 2

, , , ...

This is continuation of the last article. Here will be some easy advices, also you wont need to work with console in this time.

  • Go to "System" -> Preferences -> StartUp Applications and turn off by unchecking needless services. For example, I unchecked Evolution Alarm Notifier, Gnome Login Sound, Gnome Splash screen, Remote Desktop (I dont use Remote Desktop), Update Notifier (Manual Update is better), User Folders Update, Visual Assistance(For people who has problems with eyes), any time you can turn on them.
  • Go "System" -> Administration -> Services. Here you dont need to turn off anything. Here you can turn off Bluetooth (if you dont have it), Apache and Sabma,
  • In Synaptic install "bum" package. After, go to "System" -> Administration -> "BootUp-Manager", and turn off what is needless. WARNING: DO NOT TURN OFF ANYTHING, JUST TURN OFF WHAT IS REALLY NEEDLESS.

To Be Continued ...

Translated from http://exocarnivore.blogspot.com/2009/05/ubuntu-904-2.html

Decrease Boot Time (speed) in Ubuntu 9.04 Part 1

, , ,

First off all, install "bootchart" package, from Synaptic package manager. This application is needed for comparing with current boot speed.

Now please restart your system ... After restarting you will find PNG file with boot time in "/var/log/bootchart" directory. This time is till loading GDM.

After rebooting, lets tweak our Ubuntu now.

1. Lets change boot screen.

Open Menu.lst

sudo gedit /boot/grub/menu.lst


Find and change the line with

kernel /boot/vmlinuz-2.6.28-12-generic root=UUID=619b888a-ccd8-40b8-a1dc-8ca721829b3f ro quiet splash


to

kernel /boot/vmlinuz-2.6.28-12-generic root=UUID=619b888a-ccd8-40b8-a1dc-8ca721829b3f ro


2. After Kernel loaded, system loads initial ramdisk, initrd. If you would extract this archive it will take about 25 mb, so we can re-build initrd. It is easy process.

Just open

sudo gedit /etc/initramfs-tools/initramfs.conf


Find line
MODULES=most


and change it to

MODULES=dep


Now rebuild it, with command

sudo update-initramfs -k all -u


Now it takes about 6-7 mb after extracting.

3. If your CPU has 2 or more cores ... you can do like this ...

Install "insserv" package from Synaptic.

Open

sudo gedit /etc/init.d/rc


Find line

CONCURRENCY=none


and change it to

CONCURRENCY=shell 


Now reboot your system and see your result.

To be continued ....


Original article in Russian
http://exocarnivore.blogspot.com/2009/05/ubuntu-904-1.html