How to Install Graylog on Centos 7

yum install epel-release -y vi /etc/yum.conf yum clean all yum install epel-release -y yum install pwgen -y yum install mongodb-org -y systemctl daemon-reload systemctl enable mongod.service systemctl start mongod.service yum install java-1.8.0-openjdk-headless -y yum install elasticsearch -y vi /etc/elasticsearch/elasticsearch.yml cluster.name: […]

Gitea how to install

1) Pre-Requisite # Install Mariadb yum -y install mariadb mysql -u root -p CREATE DATABASE gitea; CREATE USER ‘gitea’@’localhost’; SET PASSWORD FOR ‘gitea’@’localhost’ = PASSWORD(‘NEW_gitea’); grant all privileges on gitea.* to ‘gitea’@’localhost’; # Install go wget “https://dl.google.com/go/go1.10.linux-amd64.tar.gz” mv go1.10.linux-amd64.tar.gz /usr/local/ […]

Tags: , , , , , ,

BeautifulSoup how to

#get forecast for genova and rapallo for the next 3 days to http://felipeferreira.net/forecast/forecast-rapallo.html 0 */6 * * * /var/www/wordpress/forecast/forecast.py genova 0 */6 * * * /var/www/wordpress/forecast/forecast.py rapallo There is a great tutorial here: web-scraping-tutorial-python This is the script I wrote […]

Tags: , , , ,

How to install gogs on centos7

# INSTALL GO and Gogs (github opensource server) on CENTOS 7 wget “https://dl.google.com/go/go1.10.linux-amd64.tar.gz” mv go1.10.linux-amd64.tar.gz /usr/local/ cd /usr/local/ tar -zxvf go1.10.linux-amd64.tar.gz ln -s /usr/local/go/bin/go /usr/local/bin/go ln -s /usr/local/go/bin/godoc /usr/local/bin/godoc ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt adduser -c “Gogs” git su – git […]

Tags: , , , , , ,