Mašinų augimas: AI pritaikymas realiame pasaulyje
Dirbtinis intelektas nėra ateityje, jis čia, dabartyje Šiame tinklaraštyje Skaitykite, kaip dirbtinio intelekto programos paveikė įvairius sektorius.
Mod_pagespeed is an open source Apache module that is used to automatically optimize web pages. It makes the web faster by rewriting web pages to reduce latency and bandwidth. Mod_pagespeed also provides many optimization filters that are used to optimize various files such as css, html, png, and jpg.
In this tutorial, I will explain how to install and configure the Mod_pagespeed module with Apache on Ubuntu 16.04.
Before starting, update your system to the latest stable version by running the following command:
sudo apt-get update -y
sudo apt-get upgrade -y
sudo reboot
You can download the latest stable version of Mod_pagespeed module for Apache from it's official website. Otherwise you can download it with the following command:
wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
Once download is complete, install it by running the following command:
sudo dpkg -i mod-pagespeed-stable_current_amd64.deb
sudo apt-get install -f
Once installation is finished, you will need to restart Apache service to load the module:
sudo systemctl restart apache2
You can verify the Mod_pagespeed module by running the following curl command:
curl -D- localhost
If everything was successful, you will see the following output:
HTTP/1.1 200 OK
Date: Mon, 28 Nov 2016 15:28:51 GMT
Server: Apache/2.4.7 (Ubuntu)
Accept-Ranges: bytes
Vary: Accept-Encoding
X-Mod-Pagespeed: 1.11.33.2-0
Cache-Control: max-age=0, no-cache
Content-Length: 10724
Content-Type: text/html; charset=UTF-8
You can configure Mod_pagespeed module different ways. Either you can use the default pagespeed.conf file to configure it for the whole server, or you can put your all of its settings in your virtual host directive.
Let's start by editing the default pagespeed.conf file:
sudo nano /etc/apache2/mods-available/pagespeed.conf
To disable Mod_pagespeed module change the line from on to off.
ModPagespeed off
Mod_pagespeed uses different types of levels that makes configuration simple such as PassThrough, CoreFilters, and OptimizeForBandwidth.
The default setting is:
ModPagespeedRewriteLevel CoreFilters
To disable CoreFilters change the lines to:
ModPagespeedRewriteLevel PassThrough
If you want to enable additional filters specify:
ModPagespeedEnableFilters filter1 filter2
To disable filter specify:
ModPagespeedDisableFilters filter1 filter2
Mod_pagespeed module provides a web based interface to view server state. You will need to add your remote machine's IP address in pagespeed.conf file to access it from a remote machine.
sudo nano /etc/apache2/mods-available/pagespeed.conf
Change the file as shown below:
<Location /pagespeed_admin>
Order allow,deny
Allow from localhost
Allow from 127.0.0.1
Allow from remote-ip-address
SetHandler pagespeed_admin
</Location>
<Location /pagespeed_global_admin>
Order allow,deny
Allow from localhost
Allow from 127.0.0.1
Allow from remote-ip-address
SetHandler pagespeed_global_admin
</Location>
Save the file and restart the Apache service.
sudo systemctl restart apache2
Next, open your web browser and type the URL http://192.168.15.110/pagespeed_admin to access the Mod_pagespeed web interface.
Mod_pagespeed is now installed and configured on your server.
Dirbtinis intelektas nėra ateityje, jis čia, dabartyje Šiame tinklaraštyje Skaitykite, kaip dirbtinio intelekto programos paveikė įvairius sektorius.
Ar taip pat esate DDOS atakų auka ir esate sumišęs dėl prevencijos metodų? Perskaitykite šį straipsnį, kad išspręstumėte savo užklausas.
Galbūt girdėjote, kad įsilaužėliai uždirba daug pinigų, bet ar kada susimąstėte, kaip jie uždirba tokius pinigus? padiskutuokime.
Ar norite pamatyti revoliucinius „Google“ išradimus ir kaip šie išradimai pakeitė kiekvieno žmogaus gyvenimą šiandien? Tada skaitykite tinklaraštį, kad pamatytumėte „Google“ išradimus.
Savavaledžių automobilių koncepcija, kuri išvažiuotų į kelius su dirbtinio intelekto pagalba, yra svajonė, kurią jau kurį laiką svajojame. Tačiau nepaisant kelių pažadų, jų niekur nematyti. Skaitykite šį tinklaraštį, kad sužinotumėte daugiau…
Kadangi mokslas sparčiai vystosi, perimdamas daug mūsų pastangų, taip pat didėja rizika, kad pateksime į nepaaiškinamą singuliarumą. Skaitykite, ką mums gali reikšti išskirtinumas.
Skaitykite tinklaraštį, kad paprasčiausiai sužinotumėte apie skirtingus didžiųjų duomenų architektūros sluoksnius ir jų funkcijas.
Duomenų saugojimo metodai gali būti tobulinami nuo pat Duomenų gimimo. Šiame tinklaraštyje, remiantis infografika, aprašoma duomenų saugojimo raida.
Šiame skaitmeniniu būdu pagrįstame pasaulyje išmanieji namų įrenginiai tapo svarbia gyvenimo dalimi. Štai keletas nuostabių išmaniųjų namų įrenginių privalumų, kaip jie daro mūsų gyvenimą vertą gyventi ir paprastesnį.
Neseniai „Apple“ išleido „macOS Catalina 10.15.4“ priedą, skirtą problemoms išspręsti, tačiau atrodo, kad dėl atnaujinimo kyla daugiau problemų, dėl kurių „Mac“ įrenginiai blokuojami. Norėdami sužinoti daugiau, perskaitykite šį straipsnį