Enable Cgi

I have the below URL

http://linoxide.com/ubuntu-how-to/awstats/

in this URL , it have the command "sudo a2enmod cgi" to check the cgi is installed or not , but when I run it , it pops "bash: a2enmod: command not found" , I tried to install it by yum install a2enmod" , but got the below message , would advise how to install it .
Code:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.uhost.hk
 * epel: ftp.cuhk.edu.hk
 * extras: centos.uhost.hk
 * updates: centos.uhost.hk
No package a2enmod available.
Error: Nothing to do



Similar Content



Can Not Yum Phpmyadmin

When install phpmyadmin , I tried the below method but still can not install phpmyadmin , would advise what is wrong in my server , how can I install it ? thanks

#yum -y install phpmyadmin
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.uhost.hk
* extras: centos.uhost.hk
* updates: centos.uhost.hk
No package phpmyadmin available.
Error: Nothing to do

#yum provides '*/phpmyadmin'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.uhost.hk
* extras: centos.uhost.hk
* updates: centos.uhost.hk
updates/7/x86_64/filelists_db | 3.9 MB 00:00:00
No matches found

Problem With Epel

Hello

I try to install the epel repository so I can install ejabberd.

I do not have epel, it seems :

Code:
[root@serv src]# ls /etc/yum.repos.d/
CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-fasttrack.repo  CentOS-Media.repo  CentOS-Vault.repo  n2.repo

So I try to install epel :

Code:
[root@serv src]# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Preparing...                ########################################### [100]
	package epel-release-6-8.noarch is already installed

But when I try to install ejabberd :

Code:
[root@serv src]# yum install ejabberd
Loaded plugins: downloadonly, fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
No package ejabberd available.
Error: Nothing to do

Something is wrong with epel.

Unable To Install Php-mcrypt

Hello,

I tried as per http://kb.sp.parallels.com/en/118651

Code:
# rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Preparing...                ########################################### [100%]
        package epel-release-6-8.noarch is already installed



[root@aa ~]# yum install php-mcrypt
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(api) = 20090626
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(zend-abi) = 20090626
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Please advise

Thanks in anticipation

Packages Skipped Because Of Dependency Problems...

Hello All

I am still working out the basics of Linux.
I have a Centos 7 install. I cannot get this RPM to install. It installs fine under Centos 6.

What am I doing wrong? I really need a GUI Find and Replace program!
--skip broken does not work either.

Thanks in advance
Scott

[root@server ~]# yum localinstall regexxer-0.9-1.el5.rf.x86_64.rpm --skip broken
Loaded plugins: fastestmirror
Examining regexxer-0.9-1.el5.rf.x86_64.rpm: regexxer-0.9-1.el5.rf.x86_64
Marking regexxer-0.9-1.el5.rf.x86_64.rpm to be installed
Skipping: broken, filename does not end in .rpm.
Resolving Dependencies
--> Running transaction check
---> Package regexxer.x86_64 0:0.9-1.el5.rf will be installed
--> Processing Dependency: libatkmm-1.6.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
Loading mirror speeds from cached hostfile
* base: mirror.keystealth.org
* epel: mirror.hmc.edu
* extras: mirror.keystealth.org
* rpmforge: mirror.hmc.edu
* updates: mirror.keystealth.org
--> Processing Dependency: libcairomm-1.0.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libgdkmm-2.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libglade-2.0.so.0()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libglademm-2.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libgtkmm-2.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libpangomm-1.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Running transaction check
---> Package atkmm.x86_64 0:2.22.7-3.el7 will be installed
---> Package cairomm.x86_64 0:1.10.0-8.el7 will be installed
---> Package gtkmm24.x86_64 0:2.24.2-8.el7 will be installed
---> Package libglade2.x86_64 0:2.6.4-11.el7 will be installed
---> Package pangomm.x86_64 0:2.34.0-3.el7 will be installed
---> Package regexxer.x86_64 0:0.9-1.el5.rf will be installed
--> Processing Dependency: libglademm-2.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64

Packages skipped because of dependency problems:
atkmm-2.22.7-3.el7.x86_64 from base
cairomm-1.10.0-8.el7.x86_64 from base
gtkmm24-2.24.2-8.el7.x86_64 from base
libglade2-2.6.4-11.el7.x86_64 from base
pangomm-2.34.0-3.el7.x86_64 from base
regexxer-0.9-1.el5.rf.x86_64 from /regexxer-0.9-1.el5.rf.x86_64

About The Installation Of Awstats

I follow the below URL to install awstats .

Code:
http://thelinuxfaq.com/90-how-to-install-and-configure-awstats-in-centos-fedora-rhel

everything seems works fine , the second last step works fine.
Code:
From data in log file "/var/log/httpd/access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Jumped lines in file: 0
Parsed lines in file: 77
 Found 0 dropped records,
 Found 0 comments,
 Found 0 blank records,
 Found 0 corrupted records,
 Found 0 old records,
 Found 77 new qualified records.

then I tried the below URL , it shows nothing , would advise what is the possible reason ? how can I do the trouble shooting ? thanks
Code:
http://mydomain.com/awstats/awstats.pl?config=mydomain.com

About Install Awstats

I follow the URL to install awstats , the installation process seems successful .

http://thelinuxfaq.com/90-how-to-ins...os-fedora-rhel

But when I try to run the report by
Code:
http://192.168.0.1/awstats/awstats.pl?config=mydomain.com ,

it pops the error.

Code:
Not Found

The requested URL /awstats/awstats.pl was not found on this server.

then I create /awstats/awstats.pl in DocumentRoot directory , now when I re-try to run the report , it display the program code of the awstats.pl but not show the report , would advise what is wrong ?

How Can I Recompile PHP With ./configure?

Hello,

I am trying to install OCI8. I'm pretty sure the last thing I need to do is run the "./configure" command, but no matter where I try to run it, it gives me back a "file not found" or "command not found" error. I have tried this on CentOS and Fedora and always install PHP with yum. I have done many GUI searches looking through the file system for "php" and have tried to run ./configure in every php folder I can find but the command never runs. Any suggestions are very much appreciated. Thanks so much!

-Matt

P.S. Do I even need to do this if I already edited the "php.ini" file and installed OCI8 with PECL? Thanks!

Yum Install / Package Install Error

I am getting Following output after running installation of some packages.

it gives me such error

rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD


What causing this ? i have downloaded the latest key from
http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 and check it, the key is fine under my system /etc/pki/rpm-gpg

Configuration files of respo are also fine under /etc/yum.rpos.d/CentOS-Base.repo

Kindly help

Back In Time Install From The Command Line

hello everyone.,
i am using linux Centos 6 machine, i have downloaded "back in time" through command line.
but i dont know how to install "back in time" from the command line.
i found some commands but that for UBUNTU and not running on Centos 6, giving error.
so , without GUI. can be possible to install and use it?????

thanks in advance..

Fail To Install Vsftpd

I use Redhat 6.3 , when I install run "yum install vsftpd" , it pops the following error, does it mean the library is not support , I have to update the kernel ? thanks

Code:
Loaded plugins: product-id, security
file:///media/localrepos/Server/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/localrepos/Server/repodata/repomd.xml
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:2.2.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                    Arch                       Version                            Repository                    Size
=============================================================================================================================
Installing:
 vsftpd                     x86_64                     2.2.2-11.el6                       RHEL-6.3                     151 k

Transaction Summary
=============================================================================================================================
Install       1 Package(s)

Total download size: 151 k
Installed size: 331 k
Is this ok [y/N]: 

Error Downloading Packages:
  vsftpd-2.2.2-11.el6.x86_64: failu  ../Packages/vsftpd-2.2.2-11.el6.x86_64.rpm from RHEL-6.3: [Errno 256] No more mirrors to try.
Loaded plugins