Membuat SSH Keygen RSA 4096 Bit
tutorial
Perintahnya serperti ini : ssh-keygen -t rsa -b 4096 -C "app@emailkamu" ...
View MorePerintahnya serperti ini : ssh-keygen -t rsa -b 4096 -C "app@emailkamu" ...
View MoreKetika ingin mengaktifkan otentikasi 2 faktor pada webmin di linux ROCKY 9.3 terdapat error seperti dibawah ini Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module) (@INC contains: /usr/libexec/webmin/vendor_perl /usr/libexec/webmin /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /usr/libexec/webmin/ . .. ..) at /usr/libexec/webmin/vendor_perl/Authen/OATH.pm line ...
View MorePrintah penggunaanya : keluarga debian vim contoh_file.txt centos/rocky vi contoh_file.txt Setelah terbuka untuk bisa mengubah teksnya ketikan atau tekan i pada keyboard Sedangkan untuk Perintah menyimpan dan keluar gunakan perintah tekan ESC pada keyboard lalu tekan :wq pada keyboard ...
View MoreSolusi Ke 1 : The error message Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. means that the row size of a table in MySQL is larger than the maximum row size of 8126 bytes. This can happen if the table has a lot of columns, or if the columns are of a data type that takes up a lot of space, such as VARCHAR or TEXT. To fix this error, you can try the following: Change some columns to TEXT or BLOB.&nb ...
View MoreUse “df -i” command to view inodes usage: Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda2 1310720 1310720 0 100% / That means you ran out of inodes! Most probably PHP sessions are the issue. A quick command to delete all sess_* files on /var/lib/php/sessions is this: find /var/lib/php/sessions -type f -cmin +24 -name "sess_*" -exec rm -f {} \; But I would recommend you to use a bash script, keep reading below: On your PHP.ini file ...
View MoreOn any server, the logs can start to add up and take considerable amount of disk space. Systemd conveniently stores these in /var/log/journal and has a systemctl command to help clear them. Take this example: $ du -hs /var/log/journal/ 4.1G /var/log/journal/ 4.1GB worth of journal files, with the oldest dating back over 2 months. $ ls -lath /var/log/journal/*/ | tail -n 2 -rw-r-x---+ 1 root systemd-journal 8.0M Dec 24 05:15 user-xxx.journal On this server, I really don't ne ...
View MoreDisable MySQL binlogging If you are not replicating, you can disable binlogging by changing your my.ini or my.cnf file. Open your my.ini or /etc/my.cnf (/etc/mysql/my.cnf), enter:# vi /etc/my.cnfFind a line that reads “log_bin” and remove or comment it as follows: #log_bin = /var/log/mysql/mysql-bin.log You also need to remove or comment following lines: #expire_logs_days = 10 #max_binlog_size = 100M Close and save the fi ...
View MoreSo, open a terminal and use this command: sudo apt-get install software-properties-commonand then sudo apt-get update ...
View More