ERROR OCURRED
Wednesday, September 12, 2012
Cannot get font metrics for '/var/www/html/qatraq_7/lib/html2pdf/fonts/arialuni.ttf'
Posted on 2:43 AM
by Unknown
Error through by QaTraq.
Solution:-
Font name :-
arialuni.ttf
Download from :-
http://code.google.com/p/ipwn/downloads/detail?name=arialuni.ttf&can=2&q=
Font Dir :- where i installed.
/var/www/html/qatraq_7/lib/html2pdf/fonts
After that work fine.
Enjoy
KEEP IT SIMPLE
Read More
Posted in
|
No comments
Tuesday, September 11, 2012
How to check Badblock in linux machine/Server
Posted on 12:23 AM
by Unknown
Bad Sector on hard disk cannot be used, Damage kind of physical damage.
Two way to find Bad sector. GUI & Command
In Fedora , you can find option under
Application > Accessories > Disk Utility.
Here you can see complete status of HDD.
Through Command line.
[root@ramank ~]# badblocks -v /dev/sda2
Checking blocks 0 to 511999
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.
If you found any badblock, mark these bad sector as unusable.
Steps for that.
#badblocks /dev/sda2 > /tmp/badsector
After
#cd /tmp/
#fsck -1 badsector /dev/sda2
1 - Filesystem errors corrected
Enjoy...
Read More
Posted in
|
No comments
How to create Bridge in Linux
Posted on 12:02 AM
by Unknown
In my example i am using, CentOS 6.3 64bit.
Use following steps to create Bridge.
Make Susre Bridge PKG is installed.
# rpm -qa | grep bridge
bridge-utils-1.2-9.el6.x86_64
If not then installed by YUM
# yum install bridge-utils
After installation, go under network Dir.
cd /etc/sysconfig/network-scripts
Here choose your NIC, on which you want to create Bridge. I am using p3p1 (PCI 4 port card )
Do the following setting
[root@*****2 network-scripts]# vi ifcfg-p3p1
DEVICE="p3p1"
HWADDR="00:1B:21:3A:98:F8"
ONBOOT="yes"
BRIDGE=br1
Save the file. Now open/create br1
[root@inf1basevm02 network-scripts]# vi ifcfg-br1
DEVICE="br1"
ONBOOT="yes"
TYPE=Bridge
IPADDR=10.131.11.190
NETMASK=255.255.255.0
GATEWAY=10.131.11.254
Save the file, Now just restart the services.
#/etc/init.d/network restart
Command to check.
brctl show
bridge name bridge id STP enabled interfaces
br1 8000.001b213a98f8 no p3p1
Read More
Posted in
|
No comments
Sunday, September 2, 2012
Install phpMyAdmin on CentOS 5.7
Posted on 10:19 PM
by Unknown
To install PhpMyadmin, 1st download the latest edition from Sites.
Command which i used for Download under /opt folder.
1) wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.5.2.2/phpMyAdmin-3.5.2.2-english.zip/download
After that Unzip the download file.
2) unzip phpMyAdmin-3.5.2.2-english.zip
Move this folder under your web server setting with name change.
3) mv phpMyAdmin-3.5.2.2-english /var/www/html/phpmyadmin
Now change the group owner permission, make sure same as your web.
4) chown -R apache.apache phpmyadmin/
Change Dir for configuartion.
5) cd /var/www/html/phpmyadmin
Copy the configuration file.
6) cp config.sample.inc.php config.inc.php
Do the following changes under config.inc.php
7) vi config.inc.php
line number 29
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
Change to
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http';
Save file
Now restart web services.
8) /etc/init.d/httpd restart
Now open Browser and open this url.
http://10.131.11.123/phpmyadmin/
P.S = 10.131.11.123 is my local server where i install phpmyadmin.
Now its pop-up for login username/password.
Enter your Database credential for login.
Imporatnat point need to note:-
1) check your Iptabels. (no firewall)
2) Selinux should be disabled.
Read More
Posted in
|
No comments
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Popular Posts
No package 'lua5.1' found
hecking for LUA51... no checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1...
X connection to localhost:10.0 broken (explicit kill or server shutdown).
Solution:- With Xhost, you can solve this issue.
How to uninstall VMware Player on Fedora 19
[root@localhost Downloads]# vmware-installer -u vmware-player All configuration information is about to be removed. Do you wish to keep your...
How to Add swap file in LInux
In my exapmle i increase 512mb RAM and create 1 gb swap space for it. Not use another hdd. But i strongly recommend alwayz use HDD. create ...
yum setup on Redhat
yum setup on Redhat Situation :- i insatlled Redhat 5.5, 64bit then try to install virtulization,KVM but lots of depencies error. Solution ...
Diffrence between Linux and Fedora
What is Linux. Linux is the core or kernal of a free operating systems. What is Fedora Fedora is an operating systems based on the Linux ker...
named[3349]: the working directory is not writable
While tail to message shows me this error.. Jan 25 16:03:44 um1udns1 named[3349]: listening on IPv4 interface lo, 127.0.0.1#53 Jan 25 16:03:...
Asterisk Installation on CentOS
kindly make sure System is Fully updated. #yum update After update reboot the machine For 64bit follow this tweak. #yum remove *.i386 #yum...
How to create Bridge in Linux
In my example i am using, CentOS 6.3 64bit. Use following steps to create Bridge. Make Susre Bridge PKG is installed. # rpm -qa | grep bridg...
How to view content of RPM package
Example :- Use following command to view rpm Content of NTOP PKG [root@rk downloads]# rpm -qlp ntop5-5.0.2-2.el6.x86_64.rpm /etc/ntop /etc/...
Categories
Adobe
Players
Reviews
Windows
Blog Archive
►
2013
(27)
►
October
(3)
►
August
(1)
►
June
(1)
►
April
(3)
►
February
(10)
►
January
(9)
▼
2012
(29)
►
December
(2)
►
November
(7)
►
October
(10)
▼
September
(4)
Cannot get font metrics for '/var/www/html/qatraq_...
How to check Badblock in linux machine/Server
How to create Bridge in Linux
Install phpMyAdmin on CentOS 5.7
►
August
(1)
►
June
(2)
►
April
(1)
►
March
(1)
►
January
(1)
►
2011
(36)
►
December
(3)
►
November
(3)
►
October
(1)
►
September
(5)
►
August
(4)
►
May
(2)
►
April
(4)
►
March
(5)
►
February
(2)
►
January
(7)
►
2010
(24)
►
December
(1)
►
November
(1)
►
October
(4)
►
August
(1)
►
May
(1)
►
April
(1)
►
March
(2)
►
February
(5)
►
January
(8)
►
2009
(18)
►
December
(6)
►
November
(3)
►
August
(1)
►
July
(2)
►
June
(1)
►
May
(1)
►
April
(1)
►
March
(1)
►
February
(1)
►
January
(1)
►
2008
(16)
►
December
(1)
►
October
(1)
►
August
(1)
►
July
(5)
►
April
(2)
►
February
(1)
►
January
(5)
►
2007
(4)
►
July
(3)
►
June
(1)
Powered by
Blogger
.
About Me
Unknown
View my complete profile