Yum Install Gcc

Apr 10, 2009

I tried to : yum install gcc

Quote:

root@name [~]# yum install gcc
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 30, in ?
from yum import _
ImportError: cannot import name _

command : rpm -q yum

Quote:

root@name [~]# rpm -q yum
yum-3.2.8-9.el5.centos.2.1

command : rpm -ap | grep yum

Quote:

root@name [~]# rpm -aq | grep yum
yum-3.2.8-9.el5.centos.2.1
yum-fastestmirror-1.1.10-9.el5.centos
yum-metadata-parser-1.1.2-2.el5

command : rpm -e yum-metadata-parser-1.0-8.fc6

Quote:

root@name [~]# rpm -e yum-metadata-parser-1.0-8.fc6
error: package yum-metadata-parser-1.0-8.fc6 is not installed

View 4 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Possible To Install To Debian Jessie With Auto-install Script?

Jul 19, 2015

Is it possible to install Plesk 12 to Debian Jessie with the autoinstall script?

View 7 Replies View Related

Install Suhosin :: How I Can Install Mod_security

Nov 14, 2008

problem with install suhosin and ...

how i can install Mod_security

View 7 Replies View Related

Yum Install Php Or Manually Install Php

Aug 8, 2008

What difference between yum install php or manually install php from scrach (build, make and install)?

I know manually install could configure lots of parameters and paths, like --iconv, --mbsting, etc. I don't know anything behind yum install php. If I want to install php everything in the following:

./configure --prefix=/usr/local/webserver/php --with-config-file-path=/usr/local/webserver/php/etc --with-mysql=/usr/local/webserver/mysql --with-mysqli=/usr/local/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-debug --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-sendmail=/usr/sbin/sendmail

View 6 Replies View Related

How Do I Install With RPM To Install Dependencies Also

Jul 22, 2008

to installing linux software and have been beating my head for a couple of days. I just learned that I can use something on my CENTOS 5 - which is the same as RHEL 5 - to install the rpm and all dependencies.

Numeric-24.2-1.i586.rpm is the rpm I want to install, if that matters.

How can I do install it AND any dependencies?

View 2 Replies View Related

Kernel Source Install Help Needed On Fc6 X64I Am Trying To Install The Kernel Source.

May 13, 2007

I am trying to install the kernel source.
I have downloaded kernel-2.6.20-1.2948.fc6.src.rpm
I am using fedora 6 64bit.
here are my current kernels:

kernel-headers-2.6.20-1.2948.fc6
kernel-devel-2.6.20-1.2944.fc6
yum-kernel-module-1.0.3-1.fc6
kernel-2.6.20-1.2944.fc6
kernel-devel-2.6.20-1.2948.fc6
kernel-2.6.20-1.2948.fc6


here is what I seen when I installed kernel-2.6.20-1.2948.fc6.src.rpm

rpm -ivh kernel-2.6.20-1.2948.fc6.src.rpm
1:kernel warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
########################################### [100%]
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root


then when I ran:
rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec

I seen this error:
+ Arch=x86_64
+ make ARCH=x86_64 nonint_oldconfig
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/socket.h:310:24: error: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.93770 (%prep)


I need to have this installed to get a app installed etc...
suggestions or ideas?
thanks

View 2 Replies View Related

How To Install VPS's

Oct 6, 2009

So i have a dedicated server and here are the specs:

AMD64 X2 7750+

8192 MB DDR2 RAM

500 GB 7.200 RPM

2000 GB Traffic p/m

CentOS 5.3

I want to install several VPS's on this server so i have one for shared users, one for reseller users and then the rest can be purchased. Unfortunately i have no idea how to install VPS's. Which is the best visualization software for VPS's? And how do i install and how to get whmcs to create them. Or are they already created?

I am also wondering about control panels and do vps's have to have their own separate control panel or do they all run of the main control panel.

Also what is the rule of thumb on how many vps's per server.

View 14 Replies View Related

Which OS To Install

Oct 6, 2009

I'm willing to setup a new dedicated server that hosts only one website. before I just used Centos, it was free and worked perfect.

I dont want to spend any money for OS.

Which OS do you use?

View 14 Replies View Related

How To Install Yum

Apr 1, 2009

Well I ordered a virtuzzo server and I am wondering on how do you install yum. Its a centos

View 7 Replies View Related

Yum Install

Jul 21, 2009

I've tried to work with yum. but if I "yum install .." enter, then i get this error :

PHP Code:

error: no dbpath has been set
error: cannot open Packages database in /%{_dbpath}
Traceback (most recent call last):
  File "/usr/bin/yum", line 30, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 163, in main
    (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
  File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
    conf=yumconf(configfile=yumconffile)
  File "/usr/share/yum/config.py", line 155, in __init__
    self.yumvar['releasever'] = self._getsysver()
  File "/usr/share/yum/config.py", line 285, in _getsysver
    idx = ts.dbMatch('provides', self.distroverpkg)
TypeError: rpmdb open failed 

View 9 Replies View Related

Xen Install

Jun 20, 2009

I'm playing around with a test server, install Xen on a Centos 5 box.

[url]

I've tried two methods to create a vm.

virt-install

and

virt-install -x "ip=xxx.xxx.70.212 gateway=xxx.xxx.70.211 subnet=255.255.255.248"

If I do virt-install, it asks me this:

(first screenshot).

I have no idea what to put it. I did try this:

Quote:

IPv4 address: xxx.xxx.70.212__ / 255.255.255.248_
Gateway: xxx.xxx.70.211___________________________
Name Server: _________________________________________

note: only here in my post am I actually putting "xxx" in the IP for privacy reasons only. The 70.212 is the main server IP that I ssh into.

See 2nd screenshot for error. Same thing with various *valid* mirrors I tried.

This is my ifcfg-eth0 info:

DEVICE=eth0
BOOTPROTO=static
IPADDR=xxx.xxx.70.212
NETMASK=255.255.255.248
ONBOOT=yes TYPE=Ethernet

View 5 Replies View Related

How To Install VPS

Nov 4, 2009

I have bought Dell Optiplex 760 and i would like to in stall Virtual Private Server (VPS) on it.. can anybody please tell me step by step tutorial to install VPS in my computer and have my own webserver?

View 14 Replies View Related

Install Os In Xen

Jul 8, 2009

i want to install custom os in Xen.

what do i do?

i want install Mikrotik , Cenos and ... in it.

also how can i create image from it to use it again?

can i use this image for hypervm?

View 3 Replies View Related

How To Install This

Jul 8, 2009

i intsalled clipshare script, and this is the server requirments:

# Mplayer + Mencoder
# Flv2tool
# Libogg + Libvorbis
# LAME MP3

how yo install it?

View 2 Replies View Related

How To Install Ns

Jul 18, 2008

i have a domain from namecheap and a virtual private server.

I want to have ns1.domain.com and ns2.domain.com and domain.com for my homepage.

I use lxadmin.How can i do this?

View 6 Replies View Related

How To Install DOM XML On Php 5.1.6?

Jan 26, 2008

How to install DOM XML on php 5.1.6?

View 5 Replies View Related

How To Install Yum

Oct 29, 2008

one of my server forgot to install yum, as a result, i am unable to use yum to install packages. The os is centos 5,

View 11 Replies View Related

Trying To Install CSF/LFD On VPS

Mar 21, 2008

I was trying to install CSF/LFD on to my VPS but I'm having problems. Its coming out with the error:

iptables v1.3.5: Unknown arg `-j'
Try `iptables -h' or 'iptables --help' for more information.

Error: iptables command [/sbin/iptables -A LOGDROPIN -j ] failed, at line 213
Rus over at CheapVPS assures me his servers support CFD/APF fully so its not something on his end and I've thought of everything on my end. Has anyone come across this problem before?

View 1 Replies View Related

What To Install To Have A VPN

Dec 6, 2007

What should a person install on a Linux based server to run a VPN.

In other words I want to connect my home computer to a VPN located elsewhere. I know how to connect to a VPN, just not how to get the remote computer to act as a server and accept VPN connections.

View 3 Replies View Related

Install Jdk

Dec 21, 2007

I need to install site studio
[url]

It says to install java / jdk

I'm not 100% sure if I have that, but I have cpanel installed (not tomcat, disabled), centos 4.6

I see this:

Code:
root@server [/usr/java]# ls -lh
total 18M
drwxr-xr-x 9 root root 4.0K Dec 21 18:41 ./
drwxr-xr-x 43 root root 4.0K Dec 21 17:29 ../
drwxr-xr-x 2 root root 4.0K Dec 21 17:28 bin/
drwxr-xr-x 10 root root 4.0K Dec 21 17:29 demo/
drwxr-xr-x 3 root root 4.0K Dec 21 17:29 include/
drwxr-xr-x 7 root root 4.0K Dec 21 17:28 jre/
drwxr-xr-x 2 root root 4.0K Dec 21 17:29 lib/
-r--r--r-- 1 root root 13K Jun 14 2007 LICENSE
drwxr-xr-x 4 root root 4.0K Dec 21 17:29 man/
drwxr-xr-x 9 root root 4.0K Jun 14 2007 sample/
-rw-r--r-- 1 root root 18M Jun 14 2007 src.zip

root@server [/usr/java]# which java
/usr/local/jdk/bin/java

can java (or jdk) be installed via whm > apache compile?

I see this under /usr/local

Code:
lrwxrwxrwx 1 root root 22 Dec 21 17:29 jdk -> /usr/local/jdk1.6.0_02/
drwxr-xr-x 9 root root 4.0K Aug 26 2005 jdk1.5.0_05/
drwxr-xr-x 9 root root 4.0K Dec 21 18:41 jdk1.6.0_02/
-rwx------ 1 root root 56M Dec 21 17:28 jdk-6u2-linux-i586.bin*
lrwxrwxrwx 1 root root 18 Aug 14 2006 jre -> /usr/local/jdk/jre/

View 0 Replies View Related

Install Gd

Oct 7, 2007

i want to install gd library on m linux server.. basically i wanted to use it with ffmpeg to create thumbnails of videos.. i have installed ffmpeg but not able to install gd..

i tried yum install php-gd but its not working

i tried /scripts/easyapache but it asks for something in the mid way so not getting through it.. my cpanel is not working

View 7 Replies View Related

Install

Jun 7, 2007

I have had to install one thing after another to get one thing running... I have to install...

Zend Optimizer 3.3.0 beta
and
Zend Guard after that...

Can anyone help me install this? I did read over the readme it doesnt help at all like all other readme's...

I did contact the support and they just copied and paste the read me...

View 9 Replies View Related

/install/install.htm

Nov 16, 2007

The live chat support at my web host told me that /install/install.htm is missing in my cpanel. Does anyone know what that is? My sites are down.

View 5 Replies View Related

Install Modsecurity 2.5.0?

Feb 22, 2008

how i can install modsecurity 2.5.0?

View 3 Replies View Related

How To Install IMAP On PHP

Jul 28, 2008

few clients need IMAP on php, is it possible to install it over WHM ? If not what is the best way to install it?

View 4 Replies View Related

Install GCC - Problems!

Aug 5, 2007

I'm trying to install the GCC compiler but having some problems.

I tried using 'yum install gcc' and this error comes up at the end :

--> Finished Dependency Resolution
Error: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4
So I did 'rpm -q glbc-common' :

[root@HOST /]# rpm -q glibc-common
glibc-common-2.3.4-2.25
So it is installed, so whats the problem? I tried installing a newer version:


[root@HOST /]# rpm -Uhv glibc-common-2.3.4-2.36*
error: Failed dependencies:
glibc-common = 2.3.4-2.25 is needed by (installed) glibc-2.3.4-2.25.i686
glibc-common = 2.3.4-2.25 is needed by (installed) glibc-dummy-centos-4-2.3.4-2.25.swsoft.i386

View 9 Replies View Related

Install SSL Certificates

Apr 23, 2009

I want to know how to install SSL Certificate and what kind of certificates available. How they work? Is there any cheap and good certificate.

View 5 Replies View Related

Want To Install Imagemagick

Nov 4, 2006

I try to follow http://www.photopost.com/howtoinstall-php.html and got hit by a wall at:

[root@as libpng-1.0.6]# make

I got error:

gcc -I../zlib -Wall -O3 -funroll-loops -c -o png.o png.c
make: gcc: Command not found
make: *** [png.o] Error 127

From this, i know that gcc is not install in my system. How do i install gcc? Anyone?

View 6 Replies View Related

Need Some One To Install OpenVPN

Nov 5, 2008

need some one to install OpenVPN ....

View 5 Replies View Related

Install Spamassassin ..?

Jul 4, 2009

here to install spamassassin but however have a few questions as im new to doing technical things in ssh.

[url]

On step 3 of the tutorial, we are asked to change things in the /etc/exim.conf file, what is the proper command to navigate to this file and how to replace those text?

Quote:

The global spamassassin config file is in /etc/mail/spamassassin/local.cf

You'll want to make sure that you have the correct call to spamc in the spamcheck transport in your exim.conf:
transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}

For the lines i quoted, im not sure what i have to do here and how to do it.

Lastly how do i know if im installing latest version of spamas and how to test weather it is working against spam?

View 3 Replies View Related

Install Dkim

Jul 2, 2009

im on a vps which uses directadmin, i could not find any guide to install dkim for emails,

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved