MySQL table repair
Query : All the database has corrupted. I wasn’t able to connect my website properly neither i was able to fix it manually. Can any one help me to fix the issue??? Solution :...
Query : All the database has corrupted. I wasn’t able to connect my website properly neither i was able to fix it manually. Can any one help me to fix the issue??? Solution :...
These are the important cPanel log files cPanel enabled Server’s Log file locationcPanel: /usr/local/cpanel/logs directory access_log – cPanel access log for both cPanel and WHM error_log – cPanel error log license_log – cPanel license...
Query : Our company prefers cPanel for the customers to manage their websites. We do provide the tech support for them. I’m new to the cPanel and I like to know backend file location...
# ServerAdmin webmaster@dummy-host2.example.com DocumentRoot “/usr/local/apache2/htdocs/ram” ServerName addon.com ServerAlias ram.exam.com ScriptAlias /cgi-bin/ “/usr/local/apache2/cgi-bin/” DirectoryIndex “index.php” Options +ExecCGI #Redirect / http://addon.com# ErrorLog “logs/dummy-host2.example.com-error_log” # CustomLog “logs/dummy-host2.example.com-access_log” commoninside ifmodule type the below line ScriptAlias /cgi-bin/ “/usr/local/apache2/cgi-bin/”out side ifmodule...
Configure & Install caching nameserver in DNS —— yum install bind* yum install caching nameserver DNSrpm -qa | grep bind to check if bind is installed,it ll b netstat -plan | grep 53 to check...
Configure ssh: 1.goto: vim /etc/ssh/sshd_config port 22315 PermitRootLogin on 2.goto root: $useradd ragul //username $passwd ragul New password: re-type password: 3.Type :$vim sudoers copy line “root all=(all)” and paste-edit to “ragul all=(all)”.This creats a...
phpBB(FORUMS): configure php with mysql i.e(./configure –with-mysql) wget http://www.phpbb.com/files/release/phpBB-3.0.8.tar.bz2 bunzip2 phpBB-3.0.8.tar.bz2 tar -xvf phpBB-3.0.8.tar cp -R phpBB3 /usr/local/apache/htdocs/ change the document root in the virtual hosts where the phpbb3 resides restart apache http://192.168.2.123/phpBB3 (type...
POSTNUKE: dont configure and make,make install.(http://www.sfr-fresh.com/unix/www/PostNuke-0.764.tar.gz/) yum install mysql* download and un-tar postnuke and copy it to /usr/local/apache/htdocs output: http://192.168.2.158/PostNuke-0.764 pls follow this along with php with cgi script….
PHP + CGI :1)yum install perl* (/usr/bin/perl) 2)configuration file:cd /usr/local/apache/htdocs/mkdir domain123vim index.php # ServerAdmin webmaster@diummy-host.example.comAddHandler php5-script phpAddType application/x-httpd-php-source phpsLoadModule php5_module modules/libphp5.so DocumentRoot /usr/local/apache/htdocs/domain123 DirectoryIndex index.php ServerName domain123.comphp_value memory_limit 128Mphp_admin_flag safe_mode On cd /usr/local/apache/htdocs/vim index.cgi...
Basic commands to restarting Apache1. Several Linux and SysV variants: /etc/rc.d/init.d/httpd restart 2. Using apachectl scripts: /path/to/apachectl stop /path/to/apachectl start 3. httpdctl and httpsdctl (Using OpenSSL), similar to apachectl: /path/to/httpsdctl stop /path/to/httpsdctl start...