Jump to content

installation on CentOS 7


j3zz

Recommended Posts

Posted

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.

Posted
3 hours ago, JohnDer said:

Read this useful topic, might be help you:

Also you can use CentminMod for an automated LEMP install: https://centminmod.com/

Thank You for that link. Looks detailed enough with explanation, will give it a try later.

Posted

Blank screen is a PHP error typically, anything in your error logs? 

What version of PHP is running? If it's out of the box RHEL repos, it's likely really really really old... 

Posted
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/

 

Posted

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

Archived

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

  • Recently Browsing   0 members

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