Skip to content

Instantly share code, notes, and snippets.

@parallaxhub
Created October 7, 2021 17:59
Show Gist options
  • Save parallaxhub/acc734f9a4ce84bb44cfc34177f10e65 to your computer and use it in GitHub Desktop.
Save parallaxhub/acc734f9a4ce84bb44cfc34177f10e65 to your computer and use it in GitHub Desktop.
Hashtopolis Installation On Linux
If you need Hashtopolis Installation Service Contact:
Telegram: https://t.me/parallaxhub
skype: https://secure.skype.com/portal/profile
sudo apt update
sudo apt upgrade
sudo apt install apache2
apache2 -v
sudo systemctl enable apache2
sudo service apache2 restart
sudo service apache2 status
sudo -i
apt install mariadb-server mariadb-client
mysql_secure_installation
nano /usr/lib/systemd/system/mariadb.service
# Find Below Line And Update
LimitNOFILE=infinity
ctrl+s and ctrl+x
systemctl daemon-reload
systemctl restart mariadb
systemctl status mariadb
systemctl is-enabled mariadb
mysql
create database hashtopolis;
CREATE USER 'admin'@'%' IDENTIFIED BY 'H@shtoPolis7';
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%';
use hashtopolis;
FLUSH PRIVILEGES;
exit
systemctl restart mysql
apt update -y
apt upgrade -y
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/apache2
sudo apt install php7.4-fpm php7.4-common php7.4-mbstring php7.4-x.4-soap php7.4-gd php7.4-xml php7.4-intl php7.4-mysql php7.4-cli php7.4-zip php7.4-curl
sudo apt install libapache2-mod-php php-mysql php php-gd php-pear php-curl
php --version
sudo update-alternatives --config php
sudo update-alternatives --config phar
sudo update-alternatives --config phar.phar
sudo apt purge libapache2-mod-php7.4 libapache2-mod-php
sudo apt install libapache2-mod-php7.4 libapache2-mod
sudo a2dismod phpOLD VERSION
sudo a2enmod phpNEW VERSION
sudo service apache2 restart
sudo apt install mlocate
locate php
sudo nano /etc/php/7.4-cli/php.ini
file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = America/Chicago
# Install PHPmyAdmin
sudo apt update
sudo apt install phpmyadmin
sudo apt install -y php-mbstring
sudo apt-get install gettext
sudo nano /etc/apache2/apache2.conf
# Then add the following line to the end of the file:
Include /etc/phpmyadmin/apache.conf
# save ctrl+x then y and hit enter. Then restart apache:
sudo service apache2 restart
# visit: http://localhost/phpmyadmin/
git clone https://github.com/s3inlc/hashtopolis.git
sudo cp -r hashtopolis /var/www/hashtopolis
sudo chown -R www-data:www-data /var/www/hashtopolis
sudo nano /etc/apache2/apache2.conf
#Change
KeepAliveTimeout 10
MaxKeepAliveRequests 1000
AllowOverride All
sudo service apache2 restart
cd /etc/apache2/sites-available
sudo nano 000-default.conf
<VirtualHost *:80>
ServerName localhost
ServerAdmin webmaster@localhost
DocumentRoot /var/www/hashtopolis/src
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<Directory /var/www/hashtopolis/src>
AllowOverride All
</Directory>
#Save and exit
sudo service apache2 reload
sudo service apache2 restart
visit: http://localhost
@parallaxhub
Copy link
Author

Screenshot from 2021-10-07 22-51-04
Screenshot from 2021-10-07 22-53-45
Screenshot from 2021-10-07 23-01-23
Screenshot from 2021-10-07 23-02-09
Screenshot from 2021-10-07 23-02-13
Screenshot from 2021-10-07 23-03-03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment