Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bullten

Pages: [1] 2 3 ... 30
1
Information / Re: Virus on some websites hosted on cwp server
« on: October 30, 2022, 01:22:40 PM »
install imunify360

2
Addons / Re: How to install Mod XSendfile
« on: October 22, 2022, 06:49:04 AM »
Quote
yum install httpd-devel -y
git clone https://github.com/nmaier/mod_xsendfile.git
cd mod_xsendfile
/usr/local/apache/bin/apxs -cia mod_xsendfile.c
systemctl restart httpd

3
Installation / Re: How do I install TomEE instead of the tomcat-10
« on: September 09, 2022, 06:49:20 AM »
Quote
yum install java-11-openjdk -y


Quote
echo "export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.el7_9.x86_64" >> /etc/profile
. /etc/profile
env | grep JAVA_HOME

Quote
useradd -s /sbin/nologin tomcat

Quote
wget https://dlcdn.apache.org/tomee/tomee-9.0.0-M8/apache-tomee-9.0.0-M8-webprofile.tar.gz
tar zxvf apache-tomee-9.0.0-M8-webprofile.tar.gz

Quote
mv apache-tomee-webprofile-9.0.0-M8/ /opt/tomee/
chown -R tomcat:tomcat /opt/tomee/

Quote
ln -s /opt/tomee/apache-tomee-webprofile-9.0.0-M8 /opt/tomee/latest

Code: [Select]
vi /usr/lib/systemd/system/tomee.service
Quote
[Unit]
Description=TomEE 8 servlet container
After=network.target

[Service]
Type=forking

User=tomcat
Group=tomcat

Environment="JAVA_HOME=/usr/lib/jvm/jre"
Environment="JAVA_OPTS=-Djava.security.egd=file:///dev/urandom"

Environment="CATALINA_BASE=/opt/tomee/latest"
Environment="CATALINA_HOME=/opt/tomee/latest"
Environment="CATALINA_PID=/opt/tomee/latest/temp/tomee.pid"
Environment="CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC"

ExecStart=/opt/tomee/latest/bin/startup.sh
ExecStop=/opt/tomee/latest/bin/shutdown.sh

[Install]
WantedBy=multi-user.target


Code: [Select]
systemctl daemon-reload
systemctl enable tomee
systemctl start tomee

4
Updates / Re: Manually Updating MariaDB (from 10.2)
« on: September 06, 2022, 08:31:26 AM »
yes its stable to upgrade it.

5
Other / Re: Help with configuration
« on: September 06, 2022, 08:27:45 AM »
Did you try these?


max_execution_time 180
max_input_time 180
memory_limit 128M
post_max_size 32M
upload_max_filesize 32M

6
E-Mail / Re: How to use server with CWP as email server
« on: August 24, 2022, 01:43:02 PM »
It is possible and we have used that in past.

https://serverfault.com/questions/922197/can-i-use-multiple-selectors-for-opendkim

Did you try this?

7
Updates / Re: how to update curlib
« on: August 24, 2022, 09:36:14 AM »
did you try this?
Quote
rpm -ivh http://www.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/city-fan.org-release-3-3.rhel7.noarch.rpm
yum install curl --enablerepo=city-fan.org

8
CentOS 7 Problems / Re: Increase (CWP Pro) CentOS 7 Root Space
« on: August 24, 2022, 09:30:20 AM »
did you purchase additional space from your provide to increase it?

9
I have changed the url of repository of MariaDB from version 10.2 to 10.6
Everything was upgraded successfully aprt from:

Failed:
  MariaDB-server.x86_64 0:10.2.41-1.el7.centos                                                                          MariaDB-server.x86_64 0:10.6.9-1.el7.centos


Can someone explain me please how to make that upgrade manually. Looks like there is no way to make a migration automatically.
Thank you.

mariadb must be upgrade to version to version only as there is chances of database break.

https://linuxglobe.com/category/centos/centos-7/page/2
https://linuxglobe.com/centos/centos-7/upgrading-mariadb-10-2-to-10-3-on-centos-7.html

10
i need to transfer backup file from old server  through ssh to the new server :)

did you try rsync?

11
MySQL / Re: Bad MYSQL Configuration
« on: August 24, 2022, 09:24:41 AM »
I got a notice on the Centos Control Panel that there's a bad configuration with MYSQL. I am not sure what the problem is. I have no problems accessing MYSQL, but I cannot update MariaDB because the repository cannot be found. Any assistance will be greatly appreciated.

Upgrade to 10.3 https://linuxglobe.com/centos/centos-7/upgrading-mariadb-10-2-to-10-3-on-centos-7.html

12
CentOS 7 Problems / Re: Root directory at 100 percent
« on: August 24, 2022, 09:24:10 AM »
The root directory, /dev/sda1, keeps filling up to 100 percent which means I don't have access to my websites, email, and the Centos Control Web Panel. Additionally, I have 40 GB of extra space I purchase, but I don't know how to add that space to my server. Please help!

Is it lvm partition?

13
CSF Firewall / Re: Connect CWP Server to Other Server same net
« on: August 24, 2022, 09:23:36 AM »
Hello, i have a php script in CWP and i need it connect to a other ip port in same network... if i enable CSF Firewall...
cant connect... if i disable the CSF Firewall it work correctly.

in firewall manager i have:

Whitelist configuration
Simple -> 192.168.1.110(ip from 2nd server) -> Test Connection (Description)

i restart the CSF Firewall... and... it doesnt not connect again...

any help?

Did you enable the port in csf?

14
E-Mail / Re: How to use server with CWP as email server
« on: August 24, 2022, 09:22:41 AM »
I have a new server that will host a mautic instance (it's a plataform for send newsletters) I want to send the email directly from that server, but  need to have everything correctly configured to prevent the emails from go to spam.

This server will only sent newsletters emails the transactional emails are sent from the main server that host the domain, what should I do in this new server to be able to create a dkim that I will add to my dns?

Should I create a new user account and add the domain localy? But if I do it the dkim generated will be have the default name "default._domainkey" but this is a problem because this is also the dkim from the main server that is also running cwp.

Did you check MailServer Manager option in cwp?

15
MySQL / Re: MySQL Configuration File
« on: August 24, 2022, 09:20:42 AM »
I notice that something isn't right about my MYSQL configuration file located at /etc/my.cnf. It looks incomplete.

#
# This group is read both by the client and the server
# use it for options that affect everything
#
[client-server]
max_connections = 500000
#
# include *.cnf from the config directory
#
!includedir /etc/my.cnf.d

navigate to directory /etc/my.cnf.d and here you will have file where you can add the configuration. "server.cnf"

Pages: [1] 2 3 ... 30