Jump to content

installation on CentOS 7


j3zz

Recommended Posts

I'm struggling with installation on CentOS 7. After steps listed below when I'm trying to reach my localhost/admin/install/index.php all I got is blank screen.

sudo yum install httpd mariadb mariadb-server php php-common php-mysql php-gd php-xml php-mbstring php-mcrypt php-xmlrpc unzip wget -y

sudo systemctl start httpd

sudo systemctl start mariadb

sudo systemctl enable httpd

sudo systemctl enable mariadb

sudo mysql_secure_installation

mysql -u root -p

CREATE DATABASE hhforum;

GRANT ALL PRIVILEGES on hhforum.* to '******'@'localhost' identified by '***************';

FLUSH PRIVILEGES;

exit

sudo chown -R apache:apache /var/www/html/

sudo chmod -R 755 /var/www/html/

systemctl restart httpd

I should mention, that I've disabled SELinux and firewall since I'm behind pfsense firewall.

Link to comment
Share on other sites

On 1/2/2019 at 4:41 AM, j3zz said:

I'm struggling with installation on CentOS 7. After steps listed below when I'm trying to reach my localhost/admin/install/index.php all I got is blank screen.


sudo yum install httpd mariadb mariadb-server php php-common php-mysql php-gd php-xml php-mbstring php-mcrypt php-xmlrpc unzip wget -y

sudo systemctl start httpd

sudo systemctl start mariadb

sudo systemctl enable httpd

sudo systemctl enable mariadb

sudo mysql_secure_installation

mysql -u root -p

CREATE DATABASE hhforum;

GRANT ALL PRIVILEGES on hhforum.* to '******'@'localhost' identified by '***************';

FLUSH PRIVILEGES;

exit

sudo chown -R apache:apache /var/www/html/

sudo chmod -R 755 /var/www/html/

systemctl restart httpd

I should mention, that I've disabled SELinux and firewall since I'm behind pfsense firewall.

Personally I would reinstall everything on a fresh centos using centosmod:

https://centminmod.com/

 

Link to comment
Share on other sites

Looks like I got too exited about new toy. I've re downloaded whole package from client area, unpacked it again and it works flawlessly now. Some files were gone while I was messing with package by moving it from different machines including VM's via FTP ...

Anyway, thanks everyone who replied.

Now I've compared those two packages. Time period between downloading them was around 3-4 days ...

nvision.jpg

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...