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_caches
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_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 flex
sudo 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 Off ServerTokens 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 ('
)