Skip to main content

Posts

Showing posts from 2015

Red Hat 6 Installation Step By Step

Hi Friends this is  step-by-step  walk-through  on RHEL 6 (Redheat Enterprise Linux) installation via  reference  of screenshots. It would be a handy guide for  beginners  on how to take on their first step towards Linux. Enjoy and share your views in comment section.... RHEL Download and install options RHEL 6 is available in 64 bit and 32 bit for installation. It can be downloaded from various options I have some, in below links:- RHEL6 available download Link Link for CentOS Destro Please refer my earlier post on how to check kernel OS version  In this guide I use  Graphical Installer . There is also  Kickstart  automated installation method and  Text-based Installer  available. And I install this machine for  Software Development Workstation  and testing environment. So package selection is following: Desktop, Web server, Databases, Compiling tools, Java. So let’s begi...

How to Check the Linux OS bit version

Hi Friends here we will check how to identify the Linux kernel architecture, i.e. it is 32 bit or 64 bit version. We will show you several different ways of checking whether your system is  32-bit or 64-bit. Uname The first two methods involves the “uname” command, which prints system information to the screen. If you want more information than just whether your system is 32-bit or 64-bit, type the following command and press Enter. uname –a The following information is printed to the screen in the following order: kernel name, network node hostname, kernel release, kernel version, machine hardware name, processor type, hardware platform, operating system. To use the “uname” command to only find out whether your system is 32-bit or 64-bit, type the following command and press Enter. uname –m This displays only the machine hardware name and indicates, as above, whether your system is 32-bit (“i686” or “i386”) or 64-bit (“x86_64”). Arch The “arch” ...

Postgres Error and troubleshooting

=============================================================================== What if we directly want to access the db without logining into postgres user ----------------------------------------------------------------------------- Step 1 login as root and give password for postgres user if not given ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ login as: root root@10.249.95.96's password: Last login: Fri Sep 11 21:19:05 2015 from 10.33.177.202 [root@localhost ~]# sudo -u postgres psql could not change directory to "/root" psql (8.4.9) Type "help" for help. postgres=# \password Enter new password:    ##here password is postgres Enter it again: Step 2 quit DB +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ postgres=# \q Step 3 Try to login to PSQL db from root user or any other user +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------------------------------------------...

Postgresql Installation

check if yum repo contains desird packages ------------------------------------------- yum list all | grep -i postgres [root@simba ~]# yum list all | grep -i postgres postgresql.x86_64                     8.4.13-1.el6_3              @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4 postgresql-contrib.x86_64             8.4.13-1.el6_3              @localyumserver postgresql-devel.x86_64               8.4.13-1.el6_3              @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4 postgresql-docs.x86_64          ...

Crearting YUM Repositroy

Setup Local Yum Repository on CentOS/RHEL 6.4  Today we are going to learn about setting up local yum repository on CentOS 6.4 and other RPM based distributions. Why Local repository is important? As a System administrator, you have to install software, security updates and fixes often in all systems. Obviously, it will consume more Internet bandwidth.  So instead of downloading and installing applications every time in all systems from Internet repositories of Linux distribution, it is good idea to save all applications in a local server in your LAN and distribute them to the other Linux systems when required. Having a local repository is really fast and efficient way, because all required applications will be transferred over the fast LAN connection from your local server. So that it will save the Internet bandwidth and ultimately it reduces the annual cost of Internet. In this tutorial I use two systems as described below: Yum Server OS ...