Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devgaucho/ciscotrends
Ranking de 1 milhão de sites da Cisco
https://github.com/devgaucho/ciscotrends
Last synced: 5 days ago
JSON representation
Ranking de 1 milhão de sites da Cisco
- Host: GitHub
- URL: https://github.com/devgaucho/ciscotrends
- Owner: devgaucho
- Created: 2023-04-06T14:34:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-08T13:42:12.000Z (6 months ago)
- Last Synced: 2024-05-08T14:42:55.925Z (6 months ago)
- Language: PHP
- Homepage: https://ciscotrends.com
- Size: 12.1 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CiscoTrends
Sistema básico de cache de dados dem RAM a partir de uma fonte CSV.
Ele não possui banco de dados em disco e usa o memcached como db.
## Instalação
```bash
sudo apt install -y \
apache2 \
cron \
git \
libapache2-mod-php \
memcached \
php \
php-bcmath \
php-curl \
php-mbstring \
php-memcached \
php-zip &&
sudo a2enmod headers &&
sudo a2enmod rewrite &&
sudo a2enmod ssl &&
sudo systemctl restart apache2
```## Memcached
```bash
sudo nano /etc/memcached.conf && sudo /etc/init.d/memcached restart
```Configure com 2048 mb de limite de memória e 128 mb por item:
```
-m 2048
-I 128M
```## Crontab
Roda o cron.php a cada 1 minuto (crontab -e)
```
* * * * * php -f /var/www/ciscotrends.com/bin/cron.php > /dev/null &
```