Archive for the ‘ Linux Howtos ’ Category

KDE4.5.1 released, Upgrade in openSUSE 11.3

Hi all,

1st day of September, 22nd of Ramadan and here we are with the 1st post for the month. KDE team proudly announced the new release of KDE4.5 (4.5.1). There are a lot of bugs fixes since 4.5.0 release. One can read the changelog for more details.

Today, KDE updated the Applications, Platform and Plasma Workspaces to 4.5.1, a new releases bringing a number of important bugfixes on top of 4.5.0. 4.5.0 was released only three weeks ago and receives monthly service updates. 4.5.1 is the first in this series of bugfix and translation updates. Those releases improve stability and the user experience further, while not bringing major new features or bigger changes to the user interface. 4.5.1 is a safe upgrade for anybody running 4.5.0 or earlier versions. 4.5.1 has been dubbed “Cronjob” as it is one of the regular releases published by KDE, just like a cronjob does.

The next KDE SC 4.5 update is scheduled for 30th September. The next major release, 4.6.0 is planned for January, 26th 2011.

Official Announcement

Changelog since 4.5.0

Are you on openSUSE 11.3? and haven’t updated to latest 4.5.1 yet, no worries, one can install/upgrade using this previous install/upgrade post which i wrote when 4.5.0 was released in early August.

Install/upgrade to KDE4.5.1 via KDE4.5.0 Factory repos.

Note: While following the above post, it was written for KDE4.5.0 that time so don’t worry factory repos of 11.3 are updated with 4.5.1 few hours back. Just follow the exact steps in the tutorial and you will be fine with the install/upgrade process.

Have something to say, use the comment form.

Good luck!

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

Popularity: 2%

Backup and Restore MySQL database in Linux via terminal

Hi,

Personally i think, that Linux terminal is the strongest application/tool whatever you name it. Yesterday i was restoring a MySQL database size of 5MB via MySQL Administrator application, and it crashed several times. Actually i use it because the easy way to have GUI with few clicks, but that doesn’t mean i never used terminal for such things. But this crashing made me think of this powerful tool to use and use it forever..

So lets have backup our database 1st via terminal.

1- The 1st thing you need to do is open terminal(konsole).

2- mysqldump will be used to backup the database we want to.

mysqldump -u Username -p  databasename > backup.sql

Username = this is your database username
databasename = the name of your database which you want to backup
backup.sql = the filename for your database backup

The text in red should be changed according to your specific MySQL/database details. You can also give path to the filename where you want to save the backup file like: /home/mian/backup.sql.

Now lets run it in real form:

mysqldump -u admin -p storedb > /home/mian/storedb.sql

By entering this command and hitting Enter key will ask you MySQL password for user admin. By doing so will backup storedb database to the path given.

Now lets restore storedb database.

1- I assume that terminal is open.

2- Run this command in terminal:

mysql -u admin -p storedb < /home/mian/storedb.sql

This command is not much different except we don’t have mysqldump this time. Which means we are not dumping any database, just to restore one. It will also ask for the password for user admin to proceed.

If you want to run bash script to do the job for you by cron at specific times, i had written this script in past, but didn’t get time to update it regularly, but still is enough to do the backup archives with no manual running from command line.

Have fun!

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

Popularity: 3%

KDE4.5.0 released, install/upgrade in openSUSE 11.3

Hi all,

KDE4.5.0 is released with some major 16,022 bug fixes and 172,3 new features.

KDE today celebrates its semi-annual release event, making available new releases of the Plasma Desktop and Netbook workspaces, the KDE Development Platform and a large number of applications available in their 4.5.0 versions.

KDE4.5.0 announcement and features.

It is available in Factory repo for openSUSE. This post will cover it for openSUSE 11.3.

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/

After adding the above repos, close software repositories module.

2-Two type of upgrades options you have.

a- Open Software management in YaST, and choose Repositories tab. Select the newly added repo and click on ‘switch system packages‘.

Note: If you want to install and use plasmoid networkmanagement instead of Knetworkmanager, search for the keyword ‘plasmoid-networkmanagement’ without quotes in the search box and choose it for installation. It will ask for the deinstallation of Knetworkmanager, choose to deinstall it. If you don’t want to install this plasmoid then simply skip this.

Do the same for community/Extra 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.

If you want to install and use plasmoid networkmanagement instead of Knetworkmanager:

zypper in plasmoid-networkmanagement

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

Good Luck!

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

Popularity: 29%

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: 46%

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%

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%