STEP1:
i)
sudo sync ii)sudo sysctl -w vm.drop_caches=3 iii) sudo sync
STEP2:
i) echo 1 > /proc/sys/vm/drop_caches ii) echo 2 > /proc/sys/vm/drop_caches iii) echo 3 > /proc/sys/vm/drop_cachessudo sync ii)sudo sysctl -w vm.drop_caches=3 iii) sudo sync
STEP2:
i) echo 1 > /proc/sys/vm/drop_caches ii) echo 2 > /proc/sys/vm/drop_caches iii) echo 3 > /proc/sys/vm/drop_cachesError: /usr/bin/ld: cannot find -lfl
collect2: error: ld returned 1 exit status
Makefile:69: recipe for target 'unified' failed
make: *** [unified] Error 1
Solution: sudo apt-get install flexsudo apt-get install liblapack-dev sudo apt-get install libblas-dev sudo apt-get install libboost-dev
sudo apt-get install libarmadillo-dev
open /etc/apache2/apache2.conf
And the section of the settings that deals with listing directory in Apahce2 default root directory is this:
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
To disable directory listing, edit the setting to be this:
<Directory /var/www/> Options FollowSymLinks AllowOverride None Require all granted </Directory> Save the file and restart Apache2 to load the new configuration settings.
On Debian, Ubuntu or Linux Mint:
On CentOS, Fedora, RHEL or Arch Linux:
Add the following two lines at the end of Apache config file.
1 2 | ServerSignature OffServerTokens Prod |
Then restart web server to activate the change.
Ref: http://ask.xmodulo.com/turn-off-server-signature-apache-web-server.html
curl with double quotes ("), not single quotes (')sudo apt-get install php7.3-curl
open /etc/php/7.3/apache2/php.ini
uncooment following line:
extension=curl
Restart apache:
sudo /etc/init.d/apache2 restart
put following line in your php file and execute in web browser
echo 'Curl: ', function_exists('curl_init') ? 'Enabled' : 'Disabled';Regex expression to convert festival LTS to Leo LTS\([a-z] 1\)\([a-z] 0.\d+\)\(_epsilon_ 1\)\(_epsilon_ 0.\d+\)
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs
Error: *** Error in `appstreamcli': double free or corruption (fasttop):
0x0000000000fe3990 ***
Solution: sudo apt install --reinstall libappstream3import sys reload(sys) sys.setdefaultencoding('utf8')
and then apply
text1=text.decode('utf-8')ENABLE_USER_SITE and then re-install the package, it would be installed in machine level directory, and then it would be accessible via php also (www-data user)
ENABLE_USER_SITE