Skip to main content

linux server

How to install PECL uploadprogress

On Linux server:

  1. # cd /usr/local/src/
  2. get the latest version http://pecl.php.net/package/uploadprogress
  3. # tar xvfz uploadprogress-VERSION.tgz
  4. # cd uploadprogress-VERSION
  5. # export PHP_PREFIX="/usr/local"
    # $PHP_PREFIX/bin/phpize          
    # ./configure
    # make
    # make install
  6. open your php.ini
    e.g.

    # vi /usr/local/lib/php.ini

    add the line you received followed by "uploadprogress.so":

    ; PECL uploadprogress
    extension_dir="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/"
    extension=uploadprogress.so
  7. # service httpd restart

chattr (in /usr/sbin)

If something refuses to run, try:

chattr -R -suSiadAc /usr/sbin

Example: if dovecot doesn't run or install/upgrade, try doing...

whoami
lsattr /usr/sbin/dovecot

New Server Checklist for directadmin (2009)

-Add all your ips in directadmin under "IP management"
(and assign 2 ips to admin)
http://xx.xxx.xxx.xxx:2222/CMD_IP_MANAGER

-Register nameserver at registrar
(namecheap.com is my fav; networksolution.com is the worst for this... it's not longer an option you can click on the website, you have to send an email request for this)

-Add nameservers to server:
1. go to user level, and add the new domain you registered (leave default settings, and tweak them after)
2. go back to reseller level, and click "nameserver" and select 2 ips you want to use and click "create" then set the 2 new nameservers for "Set the Nameservers that will be assigned to new users" (it should be added by default)

-Share nameserver ips (so you're able to add other domains to them):

New Server Checklist

source: http://directadmin.com/forum/showthread.php?t=65&highlight=hostname