Showing posts with label running. Show all posts
Showing posts with label running. Show all posts

Thursday, September 28, 2017

Tutorial Running Windows Applications in OpenSUSE using PlayOnLinux

Tutorial Running Windows Applications in OpenSUSE using PlayOnLinux


One type of document that is ofter used in companies to share files / documents to the other party is Microsoft Office. Application Open Office or Libre Office that is able to read and revise files Microsoft Office is very helpful process to share document, but sometimes Office files that are opened / saved by Libre Office or Open Office is not 100% same. So, the alternative is to run Windows Applications, namely Microsoft Office in Linux. In this article, we try to run Microsoft Office in Linux OpenSUSE.

One of applications in Linux is easy to install and used for this purpose is PlayOnLinux application. PlayOnLinux application using Wine to run that application, but the process is made simple and intuitive.

Here is the process of running Microsoft Office 2007 on Linux openSUSE 12.2 using PlayOnLinux.

Note: Although the run on Linux, Microsoft Office application or any other application that requires a license is still proprietary.

  1. Install PlayOnLinux application.
    The easiest way of installing the application is using One-Click-Install on openSUSE. Open URL http://software.opensuse.org/search. Then search "playonlinux" and then click Search button. Select the appropriate version and click the link 1-Click Install.

  2. After finish installed, run the application. If the menu does not appear, PlayOnLinux can also be run through the console by typing the name of "playonlinux" in a terminal.
  3. When executed, PlayOnLinux will check some requirements, such as standard font of Microsoft and other libraries, including the Wine app. We just need to follow the wizard.






  4. After installation is completed, we can select the program installation menu (Install a Program).
  5. Select group of Office applications if you want to install Microsoft Office applications. PlayOnLinux can also be used to run other applications such as Dreamweaver, Flash, and others.
  6. Then prepare the CD/DVD installer of windows applications.
  7. Installation process same with installation process on Windows operating system.
  8. After installation is completed, we can use application Microsoft Office on Linux openSUSE.

download file now

Read more »

Wednesday, September 13, 2017

Ubuntu Auto remove old kernels when you are running out of space

Ubuntu Auto remove old kernels when you are running out of space


If your root partition is running out of space, you can auto remove the old kernels with this command in the terminal:

 dpkg -l linux-* | sed /^ii/!d;/"$(uname -r | sed "s/(.*)-([^0-9]+)/1/")"/d;s/^[^ ]* [^ ]* ([^ ]*).*/1/;/[0-9]/!d | xargs sudo apt-get -y purge 

Source: https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels

download file now

Read more »

Monday, August 21, 2017

Ubuntu Docker Enter Running Container With Nsenter

Ubuntu Docker Enter Running Container With Nsenter


Docker 0.11 has a new feature that allows direct host networking. Unfortunately this feature doesnt work when you set docker to use the LXC execution driver. Thus, I have found an alternative way to attach to a running container on Ubuntu, other than using lxc-attach.

This tutorial teaches you to use nsenter and not nsinit. I did initially try to use nsinit, but configuring it was not as simple (for me).

Steps

Compile the latest nsenter

#!/bin/bash
cd /tmp
curl http://bit.ly/1iLVbQU | tar -zxf-
cd util-linux-2.24

# Install the necessary tools to for make
sudo apt-get install build-essential -y

# Now compile!
./configure --without-ncurses
make nsenter

# Move nsenter into your execution PATH
sudo mv nsenter /usr/local/bin

Great, now you have nsenter. Here is a script I use to enter the first (and only) docker container I am running. I save it to "enter-first-container.sh" because its a bit much to keep copy and pasting.


#!/bin/bash
CONTAINER_ID=`docker ps --no-trunc | sed -n 2p | tr -s | cut -d -f1`
PID=`docker inspect --format {{ .State.Pid }} $CONTAINER_ID`
nsenter -m -u -n -i -p -t $PID /bin/bash

References


download file now

Read more »

Friday, August 4, 2017

Ubuntu Up and Running Book Review

Ubuntu Up and Running Book Review


Note: This is a review of the OReilly book Ubuntu: Up and Running.  I received this book through OReillys Blogger Review Program.  When I received this book I was already in the middle of Machine of Death, and JavaScript: The Definitive Guide.  So it took me a little longer than I expected to finish this book, and finally, get around to writing this review.
This book touts itself as "A Power Users Desktop Guide."  This rather accurately defines the target audience of the book.  It is not for your average user, but for a technically inclined user who is interested in getting his or her hands dirty with Ubuntu.
This book is very thorough, going step-by-step through each process, often times in what can be grueling detail for someone if such detail is not necessary.  I committed myself to not skipping any parts, and that made some parts of this book very hard to read, as it went through each and every single little click to perform certain tasks.  However, this attention to detail and verbosity probably makes this a very good read for the person who needs to be taken all the way to the finish line to understand the concepts being taught in this book.  This level of detail also makes it a good read for those who may not consider themselves all that technical literate, but are willing to put in the time and effort needed to really learn Ubuntu.  The first chapter of the book introduces the reader to Ubuntu, Linux, and the whole FOSS movement.  It lets the reader know that Ubuntu is more than just an operating system, but it is the leader in a movement that has been fighting the good fight for over thirty years.  After finishing this chapter, the reader should have a good idea of common open source idioms, such as free as in beer versus free as in freedom, and be familiar with some of the leaders in the open source movement including RMS, Torvalds, and Shuttleworth.
With the history out of the way, the second chapter goes into installing Ubuntu.  Here the level of detail this book goes through is revealed.  Installing Ubuntu is a trivial task.  Ive given disks to non-technical people, and they where able to get Ubuntu installed without any hand-holding.  However, this book doesnt just cover a vanilla install.  It covers dual-booting, an installing in VirtualBox, and installing through Wubi, as well as upgrading from a previous version.
For each type of install, this book goes step-by-step, screen-by-screen, explaining everything along the way.
I did feel that this book should have stressed the advantages of doing a real hard-disk install over a Wubi or virtual installation.  In my experience the other types of installations provide a significantly reduced experience over a real HD install.
I also felt like there where some areas covered that where really unnecessary, and could give the impression that Ubuntu may be harder to get up and running than it really does.  This includes going over the different Function Key Options.  I feel that for the sake of brevity, and being relevant, these areas could be skipped.  A person who is likely to use these areas of the installer is unlikely to need this book anyhow.
The book then moves on to configuring your installation, and then covers areas of use such as chapters devoted to multimedia, OpenOffice, etc.  I did feel that the order of chapters could have been laid out better.
After getting the user to install Ubuntu, it probably would have been best to have an introduction to the desktop, going over the basic features of the Gnome interface, including the Menu Bar, the different widgets in the top-right, and the default folders in the home folder.  This would make the user comfortable with the basics of Gnome, and would encourage the user to discover the other features, such as web browsing, multimedia, etc. on their own.
I believe Chapter 7, which covers the command line, should have been moved to the back.  It makes more sense, I believe, to cover all the tools that have been developed so that Linux users no longer have to master the command line to perform your usual tasks.  This could help dispel the fear that many users come in with, that if they dont master the command line, then Linux is not for them.
While the true power-user, be they a Linux user, or otherwise, will spend a good deal of time on the command-line, I think it is important to stress to new users that the most important tasks can be performed through point-and-click.
It also would have been helpful if this book had waited for Ubuntu 10.04 to come out, and spent more time focusing on the features of 10.04, since it is an LTS release, and would make this book more relevant over the next three years that this version of Ubuntu will be supported.  10.04 also alleviates some of the problems this book mentions such as the immaturity of the Empathy IM client in Ubuntu 9.10, making the suggestion of trying Pidgin somewhat more mute.  It could have also covered in better the Ubuntu One music store, if it had spent more time focusing on Ubuntu 10.04.  While this book says that it covers Ubuntu 9.10 and 10.04, it really covers 9.10, with some mentions of 10.04 enhancements.
With all that said, I would stay give this a book a "would recommend" as it is very detailed, and can go a long way in taking the interested reader from being interested in Ubuntu, to reasonably well versed in Ubuntu.
The chapter covering the command line is thorough and clear.  In fact, I learned a few things that I didnt about using some CLI tools installed in Ubuntu.
I look forward to future versions of this book covering newer versions of Ubuntu, and hopefully, through the Blogger Review program, is touched up in some of its rough edges.
I already have some friends and acquaintances lined up to borrow this book, as they have an interest in getting their feet a little more wet with Ubuntu.

download file now

Read more »