Browsing articles tagged with "modules - Admins Goodies"
Jan 26, 2013
tom

Puppet 3.0: am I supposed to be able to invoke a module from a similarly named subclass of another module?

I have a module named drbd which I need to use in another module named hacluster. Initially I thought to segregate drbd’s stuff in its own class like this: modules/drbd/[stuff] # this is the DRBD module modules/hacluster/manifests/init.pp # class hacluster { include hacluster::drbd } modules/hacluster/manifests/drbd.pp # class hacluster::drbd The hacluster::drbd class installs and configures DRBD like this: class hacluster::drbd { class { ‘drbd': service_ensure => undef, service_enable => false, } class { ‘drbd::global_common': …more stuff… […]

Continue Reading »
May 9, 2012
tom

how to install apache modules with apt-get

Like this titles say, can you install Apache modules with apt-get? or do i have to find the .so file and configure it all manually? I thought i saw that some could, didn’t know if that applied to all modules. I’m specifically looking for all the php modules. Right now i’m trying to install mod_fcgid. Any ideas? I’m using Ubuntu Server 12.04, I believe, on an amazon EC2 micro instance running Virtualmin. Asked by LordZardeck […]

Continue Reading »
Apr 9, 2012
tom

could not load modules on centos directory does not exist?

im trying to allow ftp access on my server I am running Centos 5.x i have instantiated the correct rules in my iptables but when trying to load “ip_conntrack_ftp i get this error: FATAL: Could not load /lib/modules/2.6.18-028stab091.2/modules.dep: No such file or directory also I have check my modules directory and it contains nothing. thank you. Asked by user1272737 If you are using a OpenVZ/Virtuozzo VPS, there is no way to load a kernel module. […]

Continue Reading »
Feb 1, 2012
tom

Debian Kernel upgrade – problems with module

I am trying to update my Debian Server (version 6.0.3 returned from lsb_release) from kernel 2.6.8 to 2.6.32, but it keeps saying, that my Network Driver is tg3 even though I have create a blacklist with tg3 in /etc/modprobe.d/blacklist It should use e1000 How can I set it? I do not have a possibility to come near the server in the nearest future, so I have to create as a script, which could then be […]

Continue Reading »
Jan 12, 2012
tom

On centos 5.7 using apache2 should I disable the list of default modules that are enabled to improve performance and security.

On centos 5.7 the default Apache / httpd install has a number of modules enabled by default. Should I disable all the modules and only enable the bare minimum of modules that we need. Will that improve performance and security. We are running this server as a production server serving a blog / forum / etc as virtual hosts. Here is the list of modules enabled by default. LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule auth_digest_module modules/mod_auth_digest.so LoadModule […]

Continue Reading »
Aug 24, 2011
tom

What is httpd.exp used for?

In the directory /usr/local/apache2/modules, I see the single file httpd.exp. What is the purpose of this file? httpd.exp is the export file for Apache and IHS functions, and contains a list of the functions to be exported for use by the modules. Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Print for later Bookmark in Browser Tell a friend

Continue Reading »
Aug 24, 2011
tom

How Can I Enable or Disable Static Modules in Apache2?

I’ve got a bunch of modules installed in Apache2, enabled at compile-time. The command httpd -M gives me: core_module (static) authn_file_module (static) …snip… auth_basic_module (static) include_module (static) filter_module (static) deflate_module (static) …and so on… Is there a way to remove any of these static modules, or add static modules? (Although I’ve got so_module loaded, so I the addition of static modules isn’t so necessary. I’d like to know how to remove static modules without recompiling […]

Continue Reading »
Aug 23, 2011
tom

How can I install PHP5 on Fedora Core 5?

I’m trying to install PHP5 from source on FC5 and everything is configures and compiles fine. When I try to run php however I receive the following errors. PHP Warning: PHP Startup: mysql: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0PHP Warning: PHP Startup: mysqli: Unable to initialize module Module compiled with module API=20050922, debug=0, […]

Continue Reading »
Aug 23, 2011
tom

PHP as CGI or Apache Module?

I’ve always believed that PHP works better installed as an Apache module, but recently, someone on a local forum pointed out that running PHP as CGI is better security-wise. I’ve done some googling and it appears that Dreamhost defaults its PHP installation to working via CGI. Now I’m a little puzzled. As far as I understand (I’m no sysadmin, just a web developer), there’s the problem of user permissions when PHP is installed as an […]

Continue Reading »
Aug 23, 2011
tom

Force the unloading of a kernel module when the USB devices is unplugged?

I’m using a MultiTech GPRS modem on Ubuntu 8.0.4 (2.6.24-24 kernel with the MultiTech patches to the ti_usb_3410_5052 module). The device works great. However if I disconnect it and then reconnect without removing the module in between, it hangs. Attempting to modprobe -r ti_usb_3410_5052 at this point hangs. And running lsusb hangs. So. There must be a way to trigger the removal of the module when I disconnect the device. Any hints? Maybe a udev […]

Continue Reading »
Pages:1234»