Archive for July, 2010

If you want to install from scratch (new and fresh installation), this guide is for you. In this post, i will guide how to upgrade to 11.3 from previous versions mainly like 11.2 through zypper dup command.

Note: Before doing this upgrade, ensure that your current system is completely update with latest packages from update repo. And also backup your DATA.

This how to will cover two main steps, one to update current system and another to upgrade the system. STEP-I is not mandatory, its just to check the update repo and system, if you are sure about update repo and updates, jump directly to STEP-II.

STEP-I:

1- You can check whether update repo is enabled or not by this command:

 zypper repos --uri

2- If it is enabled, you are fine to proceed and jump to step 4, if not enable it by this command:

 zypper modifyrepo --enable repo-update-11.2

Where repo-update-11.2 represents the repo name.

3- If it is not present, add it this way, (but normally it will be there):

zypper addrepo --check --name 'openSUSE-11.2-Update' http://download.opensuse.org/
update/11.2/ repo-update-11.2

Replace 11.2 with your version.

4- Now lets update the system:

zypper refresh
zypper update

Until here we are done with the update process, now is time to upgrade and start the FUN. I assume you are on 11.2 and want to upgrade to 11.3.

STEP-II:

1- The 1st thing we need to do is to disable all 11.2 repos.

zypper modifyrepo --all --disable

2- Now lets add 11.3 repos.

zypper addrepo --name "openSUSE-11.3 OSS" http://download.opensuse.org/
distribution/11.3/repo/oss/ repo-11.3-oss

zypper addrepo --name "openSUSE-11.3 Non-OSS" http://download.opensuse.org/
distribution/11.3/repo/non-oss/ repo-11.3-non-oss

zypper addrepo --name "openSUSE-11.3 Updates" http://download.opensuse.org/
update/11.3/ repo-11.3-update

3- You can add more repos which you used for other things, but the possibility of doing that is to break the upgrade process. Lets avoid that for the moment. Later you can add when installation/upgrading is finished. Now lets refresh the repos:

zypper ref

4- Now time to do upgrade process, there are two ways to do this. One is to use dup command which will download and install the packages. Another one is to download 1st and install later. This is your choice here.

4a- To download and install at the same time:

zypper dup

4b- To download 1st and install later:

zypper dup --download "in-advance"

Just run one command from above either 4a OR 4b. And you are done. Congratulation! and have FUN!.

NOTE: Personally i will do fresh installation either from Live CD or DVD. But its your choice here, which way you feel comfortable with, go ahead with it.

Best of luck.

Arif

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

Popularity: 12%

Install/Upgrade to KDE4.5 in openSUSE 11.3

Hi all,

Few days back i had written a post for KDE4.4.5 in openSUSE 11.3 and mentioned that KDE4.5 will be pushed to factory later, and it just happened. Now factory repos have KDE4.5 instead of KDE4.4.5.

If you are interested to upgrade to KDE4.5, follow this post and in a while you will be enjoying KDE4.5.

In the mean time, i will search for new repos for KDE4.4.5, but if any one have information about KDE4.4.5 for openSUSE 11.3, please let us know via comment section.

Note: This post will be updated from time to time if there are any news about KDE4.5 and KDE4.4.5. Because the above mentioned link to post was written for KDE4.4.5.

Arif

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

Popularity: 10%

openSUSE 11.3 installation (dual boot with windows 7)

openSUSE 11.3 is released and many new users will be looking for some simple guide to have a dual boot. I am going to guide you in this article step by step with images showing the executed step that how to install openSUSE with windows 7. Installation medium used will be openSUSE 11.3 64bit KDE live CD. System configuration is:

  • Intel Centrino Dual core 2 Processor
  • 4GB RAM
  • Intel GM45 graphic Card
  • DVD Drive for CD to boot

I assume that you have already windows 7 installed on your system. Now the 1st thing you need to do is have some spare disk space to install Linux on it. If don’t have yet, use Gparted(live cd) or partition manager(windows software) to spare some space for new installation. Read the documentation of the mentioned software for how to have shrink or spare disk space from any drive. Now lets jump to the installation of openSUSE. Before doing all this, make sure you BACKUP your data.

1- If you don’t have it yet, download the iso from openSUSE download site and write it to CD, before writing always check the md5sum to check for the corrupt file. After burning, boot from the CD you just burned., and go to LIVE desktop. You will see the desktop showed in figure below.

Main-desktop(anl4u.com)

click on the image to enlarge

2- Now is the time to start installation. Click on the install icon on the desktop.

3- Select your language and keyboard setup.

welcome-screen(anl4u.com)

click on the image to enlarge

4- Select your location and set the date & time.

Set-your-time(anl4u.com)

click on the image to enlarge

5- Now is the time to setup the partitions on the disk. By default setup will create its own partition table for you as shown in the below image. But it may not be the setup of the disk we want, so to create our own partitions click on the button ‘create partition setup‘.

Partition-setup-default(anl4u.com)

click on the image to enlarge

5a- Choose ‘Custom partitioning‘ from the three choices given as shown in the image.

Partition-setup-custom-partition(anl4u.com)

click on the image to enlarge

5b- By completing step 5a, you will see the screen below. Now choose the drive you want to setup, if you have one drive, it will be sda, the 2nd will be showed as sdb. In this case, we will choose sda.

Partition-setup-disk-partitions(anl4u.com)

click on the image to enlarge

5c- By choosing sda you will see your disk partitions including windows NTFS one. You will also see the blank space which you created by using Gparted or other software. sda1,sda2,sda3 are windows partitions which i don’t want to touch except mounting them. In the image below you will see sda4 as Extended Partition, where it have logical partitions as sda5,sda6,sda7 will be used as root file system, swap and a backup partition(in my case for data to save). Here all these partitions are created before, but when you reach this setup, you can setup your disk partitions by using the spare drive you created. Make that whole spare drive as Extended and then make logical drives in it depending on your needs. You can create many as you want. I make three, one for root, one for swap and one for my documents. To mount it, choose the partition and click on Edit button below.

5d- If you are done successfully with above steps, now lets mount all partitions.

5d1- In this image you can see that i mounted the windows C partition where windows is installed. It is sda2, sda1 always is reserved partition in windows 7. You can mount all other drives like D, E if you have the same way like sda2.

Partition-setup-mount-windows-partitions(anl4u.com)

click on the image to enlarge

5d2- Now lets mount the root file system. You can choose any format option from the drop down, i choose ext4 and input / in mount partition (mount point) option below. It will mount sda5 as root to install your new Linux OS.

Partition-setup-mount-root-filesystem(anl4u.com)

click on the image to enlarge

5d3- Do the same with the swap partition. Just choose swap from the format option and click ok. If you have other partitions, like sda7, sda8 you can mount it to any name you want in mount point area.

5e- This image shows the changes i done to the partitions. Be careful about formatting partitions. You can see F, that mean this partition will be formatted. Don’t format partition which have your documents. Formatting option is discussed in step 5d2 and 5d3.

Partition-setup-after-creating-and-mounting(anl4u.com)

click on the image to enlarge

6- This image shows the final changes we have done to the disk. Check it again and again and make sure is correct, if not you can edit it again. When you are sure click the next button to proceed.

Partition-setup-final-look(anl4u.com)

click on the image to enlarge

7- Next is to create user, enter the desired details and make sure that all the check boxes are unchecked for security reasons. Click next.

User-details(anl4u.com)

click on the image to enlarge

8- Enter your root password here. Different from the normal user above.

Root-password(anl4u.com)

click on the image to enlarge

9- After step 8, its time to check your setup for installation. Check the setup which is going to take place, if you are satisfy with it, click Install. It will ask to confirm the installation.

Final-check(anl4u.com)

click on the image to enlarge

Confirm-installation(anl4u.com)

click on the image to enlarge

Now wait for the installation to finish.

Installation-copying-files(anl4u.com)

click on the image to enlarge

Installation-finished-partially(anl4u.com)

click on the image to enlarge

10- Installation is finished partially. Choose to reboot to finish the installation. After 1st reboot, installation will setup the configuration for the hardware and system, this time it will not show any GRUB MENU for multiple boot. But the next time you reboot, it will show you the nice graphical screen with multiple boot options for Linux and windows.

Note: If something went wrong at the grub menu for multiple OS, so follow this tutorial to repair/install the grub again.

Update: If you are on 11.2 and want to upgrade to 11.3 through zypper and don’t want to install from scratch. This post will help you.

Good luck, enjoy openSUSE/Linux and have a lot of fun!

Arif

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

Popularity: 44%

KDE 4.4.5 in openSUSE 11.3 [Update: Its KDE4.5 NOW]

UPDATE (22-07-2010 11am) : As i mentioned below, that factory repo will be populated with KDE4.5 later, and it happened. Factory now have KDE4.5 instead of KDE4.4.5. So with this post you will be updated to KDE4.5. ATM there are no repos for KDE4.4.5, this post will be updated time to time for latest updates related to KDE4.5 and KDE4.4.5. Just follow step 1 and 2 and ignore the rest of the post contents.

Update (13-08-2010 10am) : KDE4.5.0 is released, after reading this post if you found that this a bit complicated to follow, i had written another post for KDE4.5.0 installation, which is neat, clean and very easy to follow. Here you can find it.

openSUSE 11.3 by default have KDE4.4.4 desktop for KDE. As we know, KDE4.4.5 is released and even KDE4.5 rc2 also has been released some time ago. KDE4.4.5 is very stable and many bugs have been fixed since KDE4.4.4. For this upgrading process we will use factory repos for 11.3, which currently have KDE4.4.5, and later KDE4.5 will be pushed to it(i guess).

Lets start the fun.

1- Open YaST and go to software repositories and add the following repos with any name you want.

http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3/

http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_11.3_KDE_Distro_Factory/

If you are also using playground repo, add this repo, if not just leave this repo and go to step 2.

http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/openSUSE_11.3_KDE_Distro_Factory/

After adding repos, close software repositories module.

2-Two type of upgrades you can do from here.

a- Now open Software management in YaST, and choose Repositories tab. Select the newly added repo and click on ‘switch system packages‘.  See the image below.

click to enlarge

Do the same for community and playground(if have) repo, and click Accept.

b- If you wana do it the terminal way, here you go. Open terminal, and become root by typing su – and enter your root password. Now type:

zypper dup

This will upgrade the whole system wide packages. If you don’t want that, refer to step a above.

3- After upgrading, reboot your PC and you are there with KDE4.4 latest packages.

Arif

Vote This Post DownVote This Post Up (+1 rating, 1 votes)
Loading ... Loading ...

Popularity: 23%

openSUSE 11.3 is OUT!

Hi folks, the wait is over and here is our favorite openSUSE new release.

openSUSE 11.3 is released a while ago. Release announcement:

The openSUSE Project is pleased to announce the release of the latest incarnation of openSUSE, with support for 32-bit and 64-bit systems.

Some features of 11.3:

  • Kernel 2.6.34
  • KDE4.4.4
  • Gnome 2.30.1
  • SpiderOak to sync your files across the Internet for free.
  • HP TouchSmart
  • MariaDB and MySQL
  • DVD include XFCE, LXDE desktop environments
  • and many more…

Release announcement.

Don’t miss product highlights.

Wana check out screen shots before trying it out, here you go.

Wana download and install it, here are the mirrors:

openSUSE download site

gwdg mirror

————————————————————–

Stay tune for installation with windows 7 (dual boot). Coming soon.

Update (19-07-2010 1:00pm) : here is the dual boot guide.

————————————————————–

Arif

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

Popularity: 6%

Zypper usage

openSUSE 11.3 is around the corner and going to release in couple of days. So why not lets our hands dirty a little by learning some thing and try out these on a testing system. 1st lets find out, what is zypper?

ZYpp (or libzypp) is a package management engine that powers Linux applications like YaST, Zypper and the openSUSE/SUSE Linux Enterprise implementation of PackageKit.

Wana read more about zypper, enjoy reading here and here.

And here you will find zppyer in action.

Have fun reading and testing it. Stay tune for 11.3 announcement and download.

Arif

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

Popularity: 5%

KDE4.5 RC2 is OUT!

Hi all,

KDE team announced the 2nd release candidate for 4.5.

July 8th, 2010. Today, KDE delivers the second release candidate of the upcoming KDE Software Compilation 4.5. The final version will be available in August 2010 and this RC is intended for testers and early adopters who can help by finding and reporting bugs. It will also interest those who want an early look at what is coming to their desktops and netbooks this summer.

Full announcement.

Want to upgrade in openSUSE 11.2, follow this link. Please just follow step 1 and 2.

Arif

Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

Popularity: 4%

Hi all,

Do you want to create a separate user for a database which only some users/user can access. Want to create user who can only have access to databases you assign them. Then this tutorial is for you.

This will be a very simple tutorial and howto about how to create a database 1st, a user and then assign some privileges to the user to allow him/her to perform some specific actions like insert,create,update,select etc etc.

I assume you are on Linux and command shell (terminal) is opened.

To enter to MySQL mode in terminal type this:

mian@liveserver:~$ mysql -u root -p

Just enter the red color text from above, or copy from here will work and upon asking for the password enter your root password (not distro one, MySQL root password). -u means username and -p is password.

You will see output like this:

Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 35614
Server version: 5.0.51a-3ubuntu5.7 (Ubuntu)

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql>

Lets create a database (if you don’t have yet) with any name you desire (use text in red):

mysql> create database store;

You will see this output:

Query OK, 1 row affected (0.00 sec)

Now the fun part, lets create a user with password and assign some basic privileges on a database we created above:

mysql> grant CREATE,INSERT,DELETE,UPDATE,SELECT on store.* to asim@localhost identified by ‘storeadminasim‘;

In the above command you need to change the following according to your need.

store represents the database we created above.

asim is the user we want to create for the database store.

storeadminasim is the password assigned to asim.

Text in dark blue above shows the privileges we want to assign to user asim, in this case he will just perform that actions on a database.  We will not let him do whatever he want, this is good for security. This user will only access this database assigned to him and nothing else, and he can create tables in it, can update it, insert data into tables etc etc. If the above command runs successfully you will see this output in terminal:

Query OK, 0 rows affected (0.00 sec)

Now the last and important thing is to flush the privileges, type this (text in red):

mysql> flush privileges;

You will see this output:

Query OK, 0 rows affected (0.00 sec)

That’s it, you can now quit/exit from MySQL session:

mysql> exit
Bye

The user and database is created and ready for use. Got any questions?, use the comment form to ask.

Arif

Vote This Post DownVote This Post Up (+1 rating, 1 votes)
Loading ... Loading ...

Popularity: 4%