- If you have CWPpro licence, first change IP to new one at https://support.centos-webpanel.com/clientarea.php and then follow following steps
- Create/update reverse DNS in your VPS provider. That would be your new hostname.
- Create nameservers with new IP in Domain registrar.
- Go to CWP Settings and then IP Manager and add the new IP address with Netmask and Gateway. Note that you have to configure the VPS with new IP and test it accordingly.
- Go to Server Settings and then Change Hostname and replace New Hostname with rDNS/PTR records of your Default/New IP. Confirm that everything here looks ok.
- Go to User Accounts and then List Accounts and you need to go to “Edit Account” section of all accounts on your server and replace IP field with Default/New IP Address (you also must check the “Update DNS Zone” checkbox). Test one account first and if it works then go for all accounts. SSL may cause but will be resolved automatically. You may have to use VPN to test.
- Go to CWP Settings and then Edit Settings and replace Shared IP field with Default/New IP Address. Check the “Rebuild vHosts” check box and save changes.
- Go to DNS Functions and then Edit Nameservers IPs and replace all NS1 and NS2 IPs with Default/New IP Address.
- After completing all of the above, rebuild WebServer in order to prevent future issues , So you need to Go to Apache Settings and then Apache Re-Build and recompile your apache webserver
- If you were using Varnish Cache or Nginx Reverse Proxy you must have to Go to Apache Settings and then Select WebServers and select Default Web Servers which you were using and Click on “Save & Rebuild Configuration“.
- if you were using MailServer you should Rebuild your MailServer. Go to Email and then MailServer Manager and Rebuilt Mail Server. If you need to restart all mail server services (Postfix, ClamAV, Amavis, Spamassassin, Dovecot) you can do that here.
- Reboot your server
- Enjoy!
OJS Email Sending Problem
- There was a problem sending an email message. Please try again later, or contact your system administrator.
At first, check whether Principal Contact details were added in Journal. Then go for Step One.
Step One
Turn on SMTP in config.php
[email] ; Use SMTP for sending mail instead of mail() smtp = On ; SMTP server settings smtp_server = mail.example.com smtp_port = 25 ; Enable SMTP authentication ; Supported smtp_auth: ssl, tls (see PHPMailer SMTPSecure) smtp_auth = ssl smtp_username = username smtp_password = password ;
You contact hosting provider to get the SMTP details
NB: If the above setting does not work anyway, then go for adding envelop sender.
Step Two
Allow envelop sender
; Allow envelope sender to be specified ; (may not be possible with some server configurations) allow_envelope_sender = On ; Default envelope sender to use if none is specified elsewhere default_envelope_sender = my_address@my_host.com ; Force the default envelope sender (if present) ; This is useful if setting up a site-wide no-reply address ; The reply-to field will be set with the reply-to or from address. force_default_envelope_sender = On
Make sure to match the domain in your default_envelope_sender with the domain of OJS installation. If it doesn’t match this increases the spam rating.
Centos 7 with DirectAdmin installation checklist
Install the following prerequisite
Step One
- Run yum update command
yum update
- Run wget update command
yum install wget
Step Two
- For CentOS 7
yum install psmisc net-tools systemd-devel libdb-devel perl-DBI
- For CentOS 6
wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool which patch mailx db4-devel
DirectAdmin Installation
- Disable SELinux. Disable the firewall.
setenforce 0
- Download DirectAdmin installation script.
wget http://www.directadmin.com/setup.sh
- Change the downloaded setup file permission
chmod 755 setup.sh
- Now run the installation script.
./setup.sh
- Enter your License Key. Installation Completed. Login to DirectAdmin
http://serverip:2222
For more Configuration: [Visit]
CWP User Quota | Home Dir, Mysql and Emails | Custom Module
Module for CWP Panel to show real used quota of all users accounts.
How to install
Open this file (if the file doesn’t exist, create it)
vi /usr/local/cwpsrv/htdocs/resources/admin/include/3rdparty.php
add this line
<li><a href="index.php?module=users_used_quota"><span class="icon16 icomoon-icon-arrow-right-3"></span>Users Used Quota</a></li>
Download users_used_quota.php
Upload users_used_quota.php in
/usr/local/cwpsrv/htdocs/resources/admin/modules/
You can access the module “Users Used Quota” under “Developer Menu”.
How to reboot vps automatically?
To reboot VPS 5 minutes after midnight everyday:
Login via SSH and run the following:
echo shutdown -r now > /root/shutdown.sh;chmod +x /root/shutdown.sh
Then run crontab -e and enter this line:
5 0 * * * /root/shutdown.sh
Then save and exit.
- « Previous Page
- 1
- …
- 5
- 6
- 7
- 8
- 9
- …
- 14
- Next Page »