True transparency in CentOS

I have enabled transparency for my gnome terminal but I am always getting my desktop wallpaper as background of terminal after googling I found compiz missing.

Compiz is available in base repo itself.

sudo yum install compiz

After installing look for system-Preferences-WindowsTweak Manager and last option would give compiz and there enable transparency.

Advertisements

Install lshw in CentOS 6.X

While I am trying to use the command lshw in CentOS 6 , I just came to know that it is not installed and not available in main repo.

To install lshw in your CentOS PC .

1. Open Link :  http://pkgs.repoforge.org/lshw/?C=M;O=D
2. Copy download link of latest rpm package
3. Install with yum rather than using rpm , if you use rpm then it will fail due to missing dependencies. so better to use yum.

# wget http://pkgs.repoforge.org/lshw/lshw-2.17-1.el3.rf.i386.rpm
# yum install lshw-2.17-1.el3.rf.i386.rpm

After installing you can use it, simply type as lshw in the terminal.

lshw – simple meaning is list hardware. It will list total information about hardware in your PC or Server.

It will give very big output , so you better choose the desired output by using grep.

For example I just want VGA information :

[root@localhost ~]# lshw | grep VGA
             description: VGA compatible controller
             product: SVGA II Adapter
[root@localhost ~]#

Install & configure SSH in CentOS 6.X

Today I am going to start writing an article about SSH installation and configuration in CentOS. SSH means Secure Shell. When ever we are doing any kind of remote transmission though telnet,It will transmit the information as clear text and anybody is in the network can see whats being transferred and username/password and other sensitive information which supposed to be very secure.So to protect remote data operations SSH invented.
For Information : http://en.wikipedia.org/wiki/Secure_Shell
——————— How to install SSH ———————-
Open your terminal and type

yum install openssh-server openssh-clients

After installing it , we have to make it as autostart with system boot. to make it so execute below command
chkconfig sshd on
To start,stop,restart and to know status of service

service sshd start
service sshd stop
service sshd restart
service sshd status

—————————————————————–
Now we have to configure SSH.
——————————————————————
Main purpose of SSH is remote host access , so to accept remote incoming connections we must allow the port in IPTables. So add the below line IPTables

vim /etc/sysconfig/iptables
-A INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT

Then restart IPTables

service iptables restart

———————————————————————
GIVE ME TIME TO UPDATE IT

Install osTicket in your Ubuntu

Hello Readers!!

Today we are going to know how to install & run osTicket , a open source(commercial too) Ticket management tool in your Ubuntu(Linux too).

Step 1: Open your terminal and run these below commands one after one.

sudo -i
aptitude install apache2 php5 libapache2-mod-php5 php5-imap
aptitude install mysql-server mysql-client php5-mysql
aptitude install phpmyadmin
aptitude install unzip

 php5enmod imap && sudo service apache2 restart

Those above commands will install Apache2,MySQL server,PHP, unzip software. If you dont aptitude installed you can install or instead you may use apt-get,yum similar tools.

Step 2: After installing , download osTicket from OS_Ticket_Download  and save it.

Step 3: Then Open your terminal and paste these commands one after one in your terminal

 mkdir /var/www/osticket
 mv  /var/www/osticket/
 unzip

Step 4: Next change your directory to extracted osticket and then do following steps.

 mv /uploads/* /var/www/osticket/

Step 5: Now rename ost-config.sample.php to ost-config.php with

 /var/www/osticket/include/ost-config.sample.php /var/www/osticket/include/ost-config.php

Then

Step 6: Now change permissions to global equal mode to ost-config.php with

chmod 777 /var/www/osticket/include/ost-config.php

Step 7: Then type as ifconfig to find your IP and then open your browser

http:///osticket/setup

From there you can follow remaining instructions with clicking at continue button.