/etc/init.d/webmin restart
reboot
dG
rm -r -f /path/
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 301
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
#Using temporary redirect 307
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]
#Redirect all HTTP traffic to a domain
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
#Redirect specific domain to use HTTPS
RewriteCond %{HTTP_HOST} ^yourdomain\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
du -a /var | sort -n -r | head -n 10
Referensi: https://bit.my.id/bo7Lzhhr
: > access.log
# OR
true > access.log
Referensi: https://bit.my.id/gAoo527l
lsof -n -P | grep LISTEN
lsof -i tcp | grep nomor-port # <-- paling gampang
netstat -vatn
netstat -tulpn
fuser nomor_port/tcp # <-- catat nomor PID
lsof -i tcp | grep nomor-PID # <-- cari tahu service mana yg pake nomor port ybs
fuser -k nomor_port/tcp
service mssql-server status # <-- cek nomor PID
service mssql-server stop
fuser -k nomor_port/tcp
vi /etc/php.ini
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = 'Asia/Makassar'
service httpd restart
mv /usr/local/vesta/ssl/certificate.crt /usr/local/vesta/ssl/unusablecer.crt
mv /usr/local/vesta/ssl/certificate.key /usr/local/vesta/ssl/unusablecer.key
ln -s /home/admin/conf/web/ssl.server1.flaunt7.com.crt /usr/local/vesta/ssl/certificate.crt
ln -s /home/admin/conf/web/ssl.server1.flaunt7.com.key /usr/local/vesta/ssl/certificate.key
service vesta restart
ln -s /home/admin/conf/web/ssl.server1.flaunt7.com.crt /usr/local/hestia/ssl/certificate.crt
ln -s /home/admin/conf/web/ssl.server1.flaunt7.com.key /usr/local/hestia/ssl/certificate.key
service hestia restart
/opt/mssql/bin/mssql-conf set network.tcpport <new_tcp_port>
systemctl restart mssql-server
php71
& php72
di virtualminyum install centos-release-scl
yum install rh-php72 rh-php72-php-mysqlnd rh-php72-php-mbstring rh-php72-php-imagick
systemctl restart httpd