How to Install phpMyAdmin using TLS/SSL on CentOS 6.2

How to set up phpMyAdmin on CentOS 6.2. It would be a good idea to set up phpMyAdmin as a secure website (HTTPS), rather than in clear-text (HTTP). This will ensure that all traffic between the web browser and phpMyAdmin is encrypted.

I will be using this CA to generate the necessary certificates, but don’t worry if you don’t have one, you can use makecert or OpenSSL to generate a self signed certificate. Read more »

How to prepare anaconda update image for RHEL/Fedora/CentOS

Anaconda is the installer tool for Red Hat Enterprise Linux and Fedora. This tutorial is applicable for their derivatives like CentOS and Scientific Linux also. This tutorial empowers you to fix the bugs or missing features in installer without waiting for Red Hat. The update image you generated is used while installing.

Anaconda update image involves updated files from anaconda itself and/or its dependents. In my case I take kudzu as dependent. BTW kudzu is a hardware detection tool. i.e., I am going to patch two files, one from anaconda package and another one from kudzu package. In your case instead of anaconda/kudzu it may be some thing else.
Read more »

How to get rid of “Enter password to unlock your login keyring” prompt on Ubuntu

Ubuntu and some gnome based distros use a centralized password management tool called Seahorse, which is a GUI front end to GNOME’s keyring management system. It stores all your saved passwords, PGP keys, SSH Keys etc. used in different applications with a master password. This master password is same as your initial login password.

Usually, when you login, the keyring is automatically unlocked. But when you change your login password or enable automatic login, the keyring cannot be unlocked automatically and a prompt appears, “Enter password to unlock your login keyring”. Read more »

Installing and Tweaking Homebrew on Mac OS X

Homebrew, like macports, helps you install some famous UNIX/Linux piece of software not directly bundled with OS X (or part of OS X, but outdated).

Installing Homebrew

Installing Homebrew is quite simple, and you can report at any moment to Homebrew web site to have updated install and how-to.
Read more »

How to Install A Perl Module In Linux Without Root Permission

install perl in linux Installing a Perl module is not a genius’ work, but getting it done without root access can be a challenging task (of course not impossible). You may face this situation when you do not have rights to standard directories where a Perl module is installed. In this tutorial we will see how we can install a Perl module without root or super user permission by installing it in separate non-standard directories.
Read more »

Configure Linux To Accept Remote Desktop Connections Over SSH

Recently I needed to configure a solution for remote desktop on a Linux server. I decided to give XRDP a shot which uses TigerVNC Server by forwarding the standard RDP port of 3389 to a port VNC is listening on. The end result is to set up a SSH tunnel that forwards local port 3389 over SSH to XDRP which is listening only on the remote localhost on port 3389 as well. Use the information below to set this up on CentOS Linux though the instructions will be similar for other Linux distros as well.

First install XRDP via the EPEL repository. If you do not have the EPEL repo installed then you can attempt to use the command below to do so or checkthis link for an updated version of the EPEL repo RPM file for CentOS Linux.

Read more »

Install and Configure NTP on CentOS/ RHEL/ Fedora

How to install and Configure NTP client on CentOS/ RHEL/ Fedora to Synchronize the Clock

NTP, Network Time Protocol, it is an Internet protocol used to synchronize the clocks of computers or servers to some NTP server on internet or intranet. This is just a brief howto about installing and configuring NTPD (Network Time Protocol Daemon) on a Linux server which in this case is specifically NTPD. First we will install ntpd, then update the current time on the server, configure ntpd to restart on server boot, and then start ntpd.

Read more »

How to Secure MySQL Database Server to Prevent Anonymous Access

A Default MySQL installation is completely vulnerable to attacks. MySQL installation should be made as secure as possible. This is to protect the data collections and the information maintained by the MySQL server from unauthorized or anonymous access. In This post, i will share with you on how to secure your database server with the simple configuration and wizard.

Read more »

How to port forwarding with iptables between 2 hosts on different networks in Linux

Problem:

How to port forwarding with iptables between 2 hosts on different networks in Linux?

I’ve been reading for about 2 days iptables forwarding examples and I cannot do a simple port forwarding. I got 2 machines on different networks. server1 (S1 with ip 195.21.2.41) is at my house and server2 (s2 with ip 10.234.141.126) is at Amazon EC2.

I need to forward all the traffic that goes to s2 to s1. I tried this:

Flushing all rules, activate kernel parameter to forward, add a postrouting and prerouting rule

Read more »

New 64 bit linux system has regular processes (ps, grep etc) taking up way too much VIRT mem

Problem:

We just moved from a 32-bit machine to a 64-bit machine. We have quickly ran out of memory despite the new boxes have twice as much ram as the old boxes.

Running a simple ps command will illustrate the problem.
Read more »

Powered by WordPress | Designed by: best suv | Thanks to trucks, infiniti suv and toyota suv