Search Engine

Loading

Sallar

Sallar
RedhatEnterpriseLinux Blog
Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts

How to Install Binary Files and Scripts (.BIN/.SH)

Binary files such as (.BIN) and shell scripts (.SH) are another popular format for distributing applications, particularly in the commercial, closed-source world. A good example of this are the Quake 3 and Doom 3 games from id Software. Basically all these files are is a list of commands that are run inside a terminal to copy, move, and create files in your file system. You can run these files like so:

For BIN files:
1. Make sure the file is set to "executable" by running this command:
chmod +x xyz.bin

How to INSTALLING SOFTWARE RPM

RPM stands for RedHat Package Management, but is pretty universal and used in modern linux Distro's. In many cases a simple click on the RPM icon will open a GUI for easy installation. Sometimes you can even do a test-install to see if all dependencies are correct.

For the commandline we have: ( assuming we want to install samba-2.2.1a-4 )

# rpm -ihv   samba-2.2.1a-4.rpm  ( Will install the package )
# rpm -Uhv samba-2.2.1a-4.rpm   ( Will upgrade the package )
# rpm -e samba-2.2.1a-4.rpm   ( Delete the package )
# rpm -l samba-2.2.1a-4.rpm   ( Will list the files in the package )
# rpm -ql samba-2.2.1a-4.rpm  ( Will list the files and state the installed version of the package )

The Difference of SU AND ROOT


There have been many questions about, what is the difference between “su” and “root” . . well, the difference is minimal but still very important.

As you login as “root” right from booting the system, all the privileges are set to root, what makes your system more vulnerable to your own mistakes and those wishing to enter your system.
As you login as normal user, the privileges are limited, thus it´s safer. To be able to do administrative tasks you can temporally login as root using “su” in a console/terminal, that way the root privileges are limited to the actions you do in the console. So the rest of the system is still in “normal user” mode, and this makes it safer.
We do use the same password for “su” and “root”, but once you are logged in as normal user, typing “root” in terminal will only give you “bash: root: command not found”.

The software Installation of (configure, make, make install)



This tutorial is for those who have just started using Linux. Generally when users from the Windows background enter the Linux world, they are totally stumped by the software installation method. They were used to the luxury of double clicking on a single file and getting their software installed. But now they have to type cryptic commands to do the same.
Though the installation instructions tell them what to do, they have no idea what those steps actually do. This article shall explain the basics of software installation. After reading this article you would feel more at home when installing your next software.

How to Create ISO Images from Command-Line



For this tutorial we’ll use the genisoimage utility, developed as part of the cdrkit project. genisoimage is a command-line tool for creating ISO 9660 filesystem images, which can be burnt after to a CD or DVD using some other burning tool. To install it open a terminal and type the following as root:

Ubuntu and Debain
$ sudo apt-get install genisoimage (for Centos and redhat )

For Redhat and Centos
$ yum -y install genisoimage

Powered by Blogger.

Ads

 
Copyright © Redhat Enterprise linux. Original Concept and Design by My Blogger Themes
My name is Abdul Razaq but people call me Raziq. Here is my home page: www.redhatenterpriselinux.blogspot.com I live in Quetta, Pakistan and work as an IT-Engineer.