Install Vesta Control Panel (vestacp) on Centos 7 with PHP-FPM and PHP 7.2 Rumi, January 28, 2019 I had few issues on my container and KVM on installing vestacp. Issues were like quite weird, such as- Post installation on KVM- it moved into emergency maintenance mode Post installation on LXC container- DNS resolution halted After hours and hours of search, found few root causes- I have to withdraw quota with vestacp installation package No firewall on LXCcontainer So let’s start. Download installation script curl -O http://vestacp.com/pub/vst-install.sh Run it bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi yes --vsftpd yes --proftpd no --iptables no --fail2ban no --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous yes --mysql yes --postgresql no --hostname yourdomain.com --email yourmail@yourdomain.com --password yourpassword You can also generate your installation command from vesta website: https://vestacp.com/install/ Once installation is completed, you should be able to login to your vesta panel: https://yourdomain.com:8083 Installation is over. Upgrading your default php 5.x to 7.2 STEP 1 : Install Remi Repository and EPEL Repository on your server : RHEL 7 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm subscription-manager repos --enable=rhel-7-server-optional-rpms RHEL 6 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm rpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm rhn-channel --add --channel=rhel-$(uname -i)-server-optional-6 CentOS 7 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm CentOS 6 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm rpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm STEP 2 : After you have installed repository you need to follow some extra configurations : Run this command one by one for RHEL or CentOS yum install yum-utils yum-config-manager --enable remi-php72 STEP 3 : Now just run this command : yum update -y You’ll see php packages are getting updated, After the update process you need to restart Apache server/php-fpm-(nginx) and check the php version from by below mentioned command: php -v [root@server ~]# php -v PHP 7.2.7 (cli) (built: Jun 20 2018 08:21:26) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.7, Copyright (c) 1999-2018, by Zend Technologies Troubleshoot If php upgrade process fails (no update/nothing happens) or you upgraded previously from 5.6 to 7.0/7.1 then you need to run this commands to disable php 5.6/7.0/7.1 : yum-config-manager --disable remi-php56 yum-config-manager --disable remi-php70 yum-config-manager --disable remi-php71 After that follow the tutorial from STEP 2 again Src: https://forum.vestacp.com/viewtopic.php?t=17581 https://vestacp.com/install/ Related Administrations Configurations (Linux) CentOSCentOS 7Vestavesta cp
Boot CentOS 8 / RHEL 8 Server in Single User Mode or root password reset February 24, 2020February 24, 2020 Using “rd.break” keyword Reboot Your CentOS 8 or RHEL 8 Server and go to grub boot loader screen by interrupting auto boot and choose first line which includes the kernel (In case you have multiple kernel lines choose the appropriate one which suits to your environment). Below is the CentOS… Read More
Increasing Attachment Size in Posfix July 19, 2019 Postfix by default restrict attachment size to approx 10MB i.e. 10240000 bytes. You can check it using following command: postconf | grep message_size_limit To change attachment-size to say 50 MB, run a command like: postconf -e message_size_limit=52428800 Note: If you are running a mail-server with SMTP/IMAP access, you need to change… Read More
Dissection of SPF (Sender Policy Framework)- A way to configure your DNS server SPF parameters September 26, 2010 Pick a default. SPF domains have to publish at least two directives: a version identifier and a default mechanism. mydomain.com. TXT “v=spf1 -all” This is the simplest possible SPF record: it means your domain mydomain.com never sends mail. It makes sense to do this when a domain is only used… Read More