العاب خلفيات قرآن كريم

ejasoft

Script used to correct permission of files after suphp

#!/bin/bash # For some stupid reason, cPanel screws up the directory permissions. chmod 755 /opt/suphp find /opt/suphp -type d -exec chmod 755 {} \; # Ensure that the permissions are sane and won’t cause a 500 error. for user in [...]

Script used to transfer account from cpanel server

#!/bin/bash ls -1 /var/cpanel/users > /root/user_list PORT=”22″ ssh-keygen -t dsa KEY=`cat /root/.ssh/id_dsa.pub` ssh $1 -p$PORT “mkdir -p /root/.ssh;echo ${KEY} >> /root/.ssh/authorized_keys” 2>&1 scp /var/cpanel/packages/* $1:/var/cpanel/packages/ for user in $(cat /root/user_list);do /scripts/pkgacct $user;done scp /home/user_list $1:/home scp /home/cpmove* $1:/home

Resize /tmp in cpanel servers

service chkservd stop service httpd stop service mysql stop service postgresql stop lsof | grep /tmp kill the process umount /var/tmp umount /tmp vi /scripts/securetmp replace “256000? with “512000? rm -rf /usr/tmpDSK /scripts/securetmp –auto cd /tmp ln -s /var/lib/mysql/mysql.sock service [...]

/scripts/upcp hunging or rebuilding rpmdb

Your RPM database may be corrupted. So we need to rebuild the rpm database after deleting all rpm dbs from /var/lib/rpm. Here are the steps: rm /var/lib/rpm/__db.* rpm –rebuilddb.

Directory Structure of CPanel

Apache /usr/local/apache + bin- apache binaries are stored here – httpd, apachectl, apxs + conf – configuration files – httpd.conf + cgi-bin + domlogs – domain log files are stored here + htdocs + include – header files + libexec [...]

PHP: Short URL Algorithm Implementation

short url,Short URL Algorithm

What is pending delete

Pending Delete What is pending delete? Pending Delete is a status set by the WHO IS server for a domain name that has not been renewed. Domain names which expire normally get deleted. The registry will hold the name in [...]