Keterangan
chmod -R a+rwx /var/www/html/folderSugeng rawuh
zip -r port.zip /var/www/html/port/Sebelum upload file pastikan directory atau tempat penyimpanan file sudah anda tentukan sebelumnya, apabila sudah silahkan copy code berikut ini dan pastekan di terminal komputer anda
scp -r /Applications/XAMPP/htdocs/laravelv8.zip root@10.222.111.145:/var/www/html/port/My errorr is : The datadir ('pages') at ./data/pages is not found, isn't accessible or writable. You should check your config and permission settings. Or maybe you want to run the installer?
and my solution :
Change an access folder's
chmod -R 777 data/ ; chmod -R 777 lib/ ; chmod -R 777 conf/
Steps 1 unzip
I got an error yesterday, February 28, 2021Message Error : Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted
Fix my Problem :
1. open terminal
2. write coment : sudo /opt/lampp/bin/mysql_upgrade
3. restart apache
4. finish.
i had the error when created a stored procedure mysql
![]() |
Image : list pm2 , check after reboot system |
Auto run node js if reboot system
1. Install PM2 globally using NPM
npm install pm2 -g
2.Start your script with pm2
pm2 start app.js
3. generate an active startup script
pm2 startup
NOTE: pm2 startup is for startting the PM2 when the system reboots. PM2 once started, restarts all the processes it had been managing before the system went down. In case you want to disable the automatic startup, simply use pm2 unstartup If you want the startup script to be executed under another user, just use the -u <username> option and the --hp <user_home>:
Try restart mysql-server before execution the comands
sudo service mysql restart
MYSQL-SERVER >= 5.7
sudo mysql -uroot -p
USE mysql;
UPDATE user SET authentication_string=PASSWORD('YOUR_PASSWORD') WHERE User='root';
UPDATE user SET plugin="mysql_native_password";
FLUSH PRIVILEGES;
quit;
MYSQL-SERVER < 5.7
sudo mysql -uroot -p
USE mysql;
UPDATE user SET password=PASSWORD('YOUR_PASSWORD') WHERE User='root';
UPDATE user SET plugin="mysql_native_password";
FLUSH PRIVILEGES;
quit;akan dibagi menjadi 4 partisi lagi yaitu :
1. Swap
- di sesuaikan RAM saat ini saya pakai 16GB jadi swap saya juga 16 GB
- logical
2. Root
- Root ini untuk file system seperti disk C kalau di windows
- saya lokasikan 40 - 50 GB
- primary
- /
3. Home
- Sisa dari size saya alokasikan ke home kurang lebih 24 GB
- logical
- /home
4. Boot
- untuk menyimpan boot loader atau group ubuntu nantinya
- /boot
- logical
- alokasi size sisa dari proses diatas saya alokasikan semuanya