cd /usr/local/directadmin/data/admin && echo -n "" > tickets.list
Category Archives: Hosting
error connection dropped by imap server. squirrelmail dovecot
Connection dropped by IMAP server. Query: SEARCH ALL TEXT error:
cd /home/username/imap/domain.com/user/Maildir
rm -f dovecot*
directadmin update dovecot
cd /usr/local/directadmin/customapache
./build update
./build clean
./build dovecot
ubuntu apache create new virtual host
cp -v /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/test.com.conf
a2ensite test.com.conf
ubuntu install suphp
a2dismod php5
apt-get install libapache2-mod-suphp
a2enmod suphp
install laravel framework
cd /var/www/html
php /path/to/composer.phar create-project laravel/laravel --prefer-dist
mysqldump table without data
mysqldump --no-data -h localhost mydb > /root/mydb.sql
phpunit/phpunit 4.8.9 requires ext-dom
yum -y install php55w-xml
install remi repo
For Centos 6:
yum install http://remi.schlundtech.de/enterprise/remi-release-6.rpm
(13)Permission denied: /www/website.com/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.website.com/
You need check directory permissions of /www/website.com or /www/ folder.
chmod 755 /www/website.com
cloudlinux install composer globaly for all users
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
vi /etc/cagefs/conf.d/composer.cfg
[composer]
comment=Composer
paths=/usr/local/bin/composer
cagefsctl --force-update
cloudlinux install composer
Access account using SSH then:
curl -sS https://getcomposer.org/installer | php
php composer.phar
centos 7 install virtualmin
wget http://software.virtualmin.com/gpl/scripts/install.sh && sh install.sh
install ajenti V on ubuntu
apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysql
service ajenti restart
install ajenti on ubuntu
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-ubuntu.sh | sudo sh