Sugeng rawuh

npm warning: It is recommended you upgrade to 3.2.7 or 4.3.1

Pusing dengan error yang muncul di server terkait PM2 sepert ini 

pm WARN deprecated debug@4.1.1: 
Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity 
ReDos regression when used in a Node.js environment. 
It is recommended you upgrade to 3.2.7 or 4.3.1. 
saya menggunakan node js versi di bawah 10. 
dan setelah saya update dan saya menggunakan versi yang v.13.10.0
error di atas dapat ter atasi.


Share:

Remove PM2 Uninstall

 Hi,

I uninstalled pm2 using sudo:

pm2 kill
npm remove pm2 -g
#test with :
which pm2

Regards

Share:

Install xampp di vps server

 Kali ini saya mencoba menginstall xampp ubuntu di VPV server. Dulu belum pernah menggunakan xampp di server, biasanya hanya install apache, mysql, dan phpmyadmin. Namun kali ini iseng saja untuk install xampp di vps.

Kendala pertama yaitu di phpmyadmin, tidak bisa di akses karena hanya tertulis local, dan saya edit di hhtpd-xampp.conf

letaknya di /opt/lampp/etc/extra

dengan mengganti text

Nothing worked for me but following thing was awesome:

1) Open

httpd-xampp.conf

which is at

/opt/lampp/etc/extra/

2) Find <Directory "/opt/lampp/phpmyadmin">

3) Now just add Require all granted before

4) So the code will look like this
<Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit Order allow,deny Allow from all Require all granted </Directory>

5) Now finally Restart the xampp with this command /opt/lampp/lampp restart

That's it and you are Done!

It also work with xampp. :)

Share:

DOKUWIKI ERROR - The datadir ('pages') at ./data/pages is not found

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/

Share:

How to zip and unzip the files via Command line - ubuntu 20

Steps 1 unzip

  • apt-get install zip
  • Unzip : zip -r example.zip original_folder
Steps to zip

  • Step 1 : Login to the server via terminal

  • Step 2 : Install unzip (in case you do not have). To Install the unzip, type the following command

  • sudo apt-get install unzip
  • unzip default.zip
Share:

Tonton video



Yuk, SUBSCRIBE

omfiki.blogspot.com