/etc/init.d/webmin restart
reboot
dG
rm -fR /path/
yum update --exclude=php* --exclude=httpd
yum update --exclude httpd,php
yum update -x 'php' -x 'httpd'
Cek jika ada file https://github.com/webmin/webmin/blob/master/webmin/webmin-lib.pl
di /usr/share/webmin/webmin/
#Uncomment RewriteEngine if never declare#RewriteEngine onโ#Using permanent redirect 301RewriteCond %{HTTPS} offRewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]โ#Using temporary redirect 307RewriteCond %{HTTPS} !=onRewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]โ#Redirect all HTTP traffic to a domainRewriteCond %{SERVER_PORT} 80RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]โ#Redirect specific domain to use HTTPSRewriteCond %{HTTP_HOST} ^yourdomain\.com [NC]RewriteCond %{SERVER_PORT} 80RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
du -a /var | sort -n -r | head -n 10
: > access.log# ORtrue > access.log
lsof -n -P | grep LISTENlsof -i tcp | grep nomor-port # <-- paling gampangnetstat -vatnnetstat -tulpn
fuser nomor_port/tcp # <-- catat nomor PIDlsof -i tcp | grep nomor-PID # <-- cari tahu service mana yg pake nomor port ybsfuser -k nomor_port/tcp
service mssql-server status # <-- cek nomor PIDservice mssql-server stopfuser -k nomor_port/tcp
vi /etc/php.ini
[Date]; Defines the default timezone used by the date functions; http://php.net/date.timezonedate.timezone = 'Asia/Makassar'
service httpd restart
mv /usr/local/vesta/ssl/certificate.crt /usr/local/vesta/ssl/unusablecer.crtmv /usr/local/vesta/ssl/certificate.key /usr/local/vesta/ssl/unusablecer.keyln -s /home/admin/conf/web/ssl.server1.flaunt7.com.crt /usr/local/vesta/ssl/certificate.crtln -s /home/admin/conf/web/ssl.server1.flaunt7.com.key /usr/local/vesta/ssl/certificate.keyservice vesta restart
ln -s /home/admin/conf/web/ssl.server1.flaunt7.com.crt /usr/local/hestia/ssl/certificate.crtln -s /home/admin/conf/web/ssl.server1.flaunt7.com.key /usr/local/hestia/ssl/certificate.keyservice hestia restart
/opt/mssql/bin/mssql-conf set network.tcpport <new_tcp_port>systemctl restart mssql-server
yum install centos-release-sclyum install rh-php72 rh-php72-php-mysqlnd rh-php72-php-mbstring rh-php72-php-imagicksystemctl restart httpd