Install HP Printer (MultiFuncion Device – MFD) on RHEL / Linux

 IT, Linux  Kommentare deaktiviert für Install HP Printer (MultiFuncion Device – MFD) on RHEL / Linux
Jan 062013
 

I have a HP DeskJet 3050 (j610 Series) and I am using RHEL 6. I tried to install the hplip from the HP website, but it wasn’t working for me: http://hplipopensource.com/hplip-web/index.html?

So I installed hplip via the RHEL package repository:

sudo yum install hplip hplip-gui hplip-common hplip-libs

This command also installed all the required dependencies:

HPLIP

HPLIP

After that I installed the printer via the command

su -c "hp-setup"
hp-setup

hp-setup

This opens an graphical user interface to install the printer. The network search did not find my printer, but when specifying the IP Address it was working for me:

HP Device Manager - Setup

HP Device Manager – Setup

HP Device Manager - Setup_2

HP Device Manager – Setup_2

HP Device Manager - Setup_3

HP Device Manager – Setup_3

Now you can use your new HP Printer. In another article I describe how to use the HP MDF with Linux.

Webmin Installation on Ubuntu Server

 IT, Linux  Kommentare deaktiviert für Webmin Installation on Ubuntu Server
Jan 042013
 

Hi all,

here I describe the installation process of webmin on ubuntu server:

http://www.webmin.com/index.html

Logon to your server with your user. Download the latest version of Webmin:

wget http://sourceforge.net/projects/webadmin/files/webmin/1.610/webmin_1.610_all.deb

Before you can install webmin, you have to meet the requirements:

sudo apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions libapt-pkg-perl

After you have installed the necessary packages you can install webmin:

sudo dpkg -i webmin_1.610_all.deb

After the installation the webmin interface is available at port 10000:

https://192.168.178.28:10000/

WebMin

WebMin

 

 

 

Using Wifi on Ubuntu Server with auto connect on boot

 IT, Linux  Kommentare deaktiviert für Using Wifi on Ubuntu Server with auto connect on boot
Jan 042013
 

Hi all,

during the setup of my small server, I had the need to use only Wifi network connection instead of the „standard“ LAN connection.

Using Wifi was possible during installation, but after the first boot after the installation process I was not able to connect to the internet from the server or connect to the server from another workstation. In other words: network connection was not working.

After several tries with installation of GUI (apt-get install xubuntu-desktop) and several Network manager ( network-manager, wicd –> very good tool) I found the solution. It seems that network manager are only working for a user. That means the user has to login to use that tools. But a server should connect directly on boot / startup. To get rid of that problem, I used the /etc/network/interfaces config file. I set the wlan0 connection to type „auto“ and I set the parameters for the WIFI ssid and password:

/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid <MyWifiName>
wpa-psk <MyWPA_Password>
# This is an autoconfigured IPv6 interface
iface eth0 inet6 auto

You can try your settings with the ifup wlan0 and ifdown wlan0 commands.
ifup starts the wlan0 interface, ifdown stops it. You need to be root for those commands.

After your settings are correct, you can restart your server. The server should now automatically connect to your Wifi network on startup. You can also check the logs in:

/var/log/upstart

See also: http://askubuntu.com/questions/143988/how-do-i-bring-up-my-wireless-network-at-boot/144043#144043

 

Install IDLE on RHEL

 IT, Linux, Python  Kommentare deaktiviert für Install IDLE on RHEL
Dez 262012
 

To install IDLE on RedHat Enterprise Linuy (RHEL) you have to install the package python-tools:

 

sudo yum install python-tools

Then you can start idle with:

$ idle

IDLE:

Python Shell

Python Shell

How to add (la-)Tex macros / plugins / modules to your tex installation

 IT, Linux  Kommentare deaktiviert für How to add (la-)Tex macros / plugins / modules to your tex installation
Okt 022012
 

After you downloaded your necessary macros / plugins from CTAN, you can extract them to your local „tex repository“. This is located in you home folder (if it is not there, just create that structure):

/home/myUser/texmf/tex/latex/

Inside that directory you can create a directory with the name of the zip file. Here is an example for the macro „moderncv.zip“

/home/myUser/texmf/tex/latex/moderncv/

Extract the zip file in that directory. In my example this results in:

/home/myUser/texmf/tex/latex/
|-- moderncv
|   |-- moderncv
|   |   |-- CHANGELOG
|   |   |-- examples
|   |   |   |-- picture.eps
|   |   |   |-- picture.jpg
|   |   |   |-- publications.bib
|   |   |   |-- template_banking_black.pdf
|   |   |   |-- template_banking_red.pdf
|   |   |   |-- template_casual_orange.pdf
|   |   |   |-- template_classic_green.pdf
|   |   |   |-- template-es.pdf
|   |   |   |-- template-es.tex
|   |   |   |-- template_multibib.pdf
|   |   |   |-- template_oldstyle_grey.pdf
|   |   |   |-- template.pdf
|   |   |   |-- template.tex
|   |   |   |-- template-zh.pdf
|   |   |   `-- template-zh.tex
|   |   |-- KNOWN_BUGS
|   |   |-- moderncv.cls
|   |   |-- moderncvcolorblack.sty
|   |   |-- moderncvcolorblue.sty
|   |   |-- moderncvcolorgreen.sty
|   |   |-- moderncvcolorgrey.sty
|   |   |-- moderncvcolororange.sty
|   |   |-- moderncvcolorpurple.sty
|   |   |-- moderncvcolorred.sty
|   |   |-- moderncvcompatibility.sty
|   |   |-- moderncvstylebanking.sty
|   |   |-- moderncvstylecasual.sty
|   |   |-- moderncvstyleclassic.sty
|   |   |-- moderncvstyleempty.sty
|   |   |-- moderncvstyleoldstyle.sty
|   |   |-- README
|   |   `-- tweaklist.sty
|   `-- moderncv.zip

After you extracted the zip file, you have to register those files for tex (with root):

sudo texhash

After that your macros should be available for the tex compiler.