Tag: directadmin

How to enable quotas on CT Proxmox for use DirectAdmin

Question: How to enable quotas on CT proxmox for use DirectAdmin I want to do it now. http://help.directadmin.com/item.php?id=42 [root@host1 ~]# /usr/sbin/repquota /home repquota: Mountpoint (or device) /home not found or has no quota enabled. repquota: Not all specified mountpoints are using quota. [root@host1 ~]# Solution: you ssh on server promox and try following […]

I’ve deleted /home, how do I recreate the directories?

Generally, this isn’t the best thing to have happen because all of the data is stored there. You’ll need to recreate all of the directory structures, as well as a few files required for DA to run: 1) Create the DA tmp directory so you can log into DA again: […]

Getting custom php.ini working on php-cgi

1, Copy the servers default php.ini to your home directory 2, Make the following directory in user home directoy and chown to user:user cgi-bin 3, Create a file php.cgi in cgi-bin with the following content #!/bin/sh exec /usr/local/cpanel/cgi-sys/php5 -c /home/user/public_html/ 4, Chmod +x php.cgi and chown My my buy cialis […]

Disk Usage is showing 0.00

*** Note: If you’re running a VPS with a “simfs” file system, quotas usually cannot be enabled with normal means. Contact yoru VPS provider to enable quotas for you. DirectAdmin relies on the system quotas to return a value for how much space is being used. DirectAdmin will run /usr/sbin/repquota […]

services that are not necessary on a web server

These are some services I would normally turn off on web servers. NOTE: usage may vary. gpm — mouse mdmonitor — monitor raid devices netfs — nfs, samba etc… autofs — automount, nfs, cd etc… kudzu — detect new hardware restorecond — monitor selinux file context mcstrans — mandatory access […]

nginx, PHP 5.3 and FastCGI on CentOS 5.5, Fedora 13, Red Hat RHEL 5.5/6

This is guide howto install nginx, PHP 5.3 and FastCGI webserver with MySQL and/or PostgreSQL and Memcache support on Fedora 12 and Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6. nginx (engine x) is a robust, small and high performance http server, reverse proxy server and also mail proxy server. […]

The Perfect LAMP Stack – Apache2, FastCGI, PHP-FPM, APC

The Apache + mod_php combination has been ideal choice for most of peoples for their LAMP webserver. Easy to install and works most of the time make it favorite among the users. However, this setup is quite performance intensive and has some drawbacks which can be seen when the site […]

HOWTO: CSF Firewall + LFD Login Failure Daemon

The following is a guide to installing ConfigServer Services‘ firewall and login failure daemon. Warning: The Latest version of CSF does not work properly with DirectAdmin on CentOS 5 machines with Apache 2+ CSF + LFD is a full security suite. I have provided a list of the features that […]

mod_security installation get erro cannot find -lexpat

I am trying to ‘make’ mod_security on server with DA but keep getting this error: /usr/bin/ld: cannot find -lexpat collect2: ld returned 1 exit status make[2]: *** [mod_security2.la] Error 1 make[2]: Leaving directory `/root/modsecurity-apache_2.6.1/apache2′ make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/modsecurity-apache_2.6.1/apache2′ make: *** [all-recursive] Error 1 solves above […]