PHPSysinfo CentOS 7 Installer Script Rumi, January 23, 2024 Intended to to deploy on a barebone fresh CentOS installation with Apache and PHP- !#/bin/sh ################################################# # Server Configuration for Centos 6.8 Final # # Don't use port 7071 # Updated by Rumi- hasan@servermart.net # ################################################# ## updating packages sudo yum update -y ## installing dependencies sudo yum install unzip -y sudo yum install nano -y sudo yum install sed -y sudo yum install screen -y ## installing HTTP Server (Powered By Apache) sudo yum install httpd mod_ssl -y ## starting HTTP Services sudo /usr/sbin/apachectl start ## fix for hostname resolving echo "ServerName localhost" >> /etc/httpd/conf/httpd.conf ## make automatic start after reboot sudo /sbin/chkconfig httpd on ## make sure automatic start is running sudo /sbin/chkconfig --list httpd | grep httpd ## install PHP sudo yum install php php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml -y ## change to port 7071 #sed -i -e 's/Listen 80/Listen 7071/g' /etc/httpd/conf/httpd.conf ##restarting HTTP Services sudo systemctl restart httpd && ## downloading phpsysinfo cd /var/www/html rm -R * wget https://github.com/phpsysinfo/phpsysinfo/archive/master.zip unzip master.zip cp -r phpsysinfo-main/* /var/www/html mv phpsysinfo.ini.new phpsysinfo.ini ## finishing installation sudo systemctl restart httpd Related Configurations (Linux) Scripts CentOSPHPSysinfo
Restore ZFS Pool and storage data November 23, 2023 If the disks are recognized from your OS the command: zpool import should be enough to get the pool imported and visible in your current OS. You can check the status with command zpool status You can try to import it explicitly by name zpool import ZStore P.S. Do not… Read More
How to Disable Network Manager on CentOS 7 May 2, 2022 1. To disable the Network Manager service, perform the following steps: Disable Network Manager with the following commands: CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon Linux: service NetworkManager stop chkconfig NetworkManager off CentOS 7, CloudLinux 7, or RHEL 7: systemctl stop NetworkManager systemctl disable NetworkManager… Read More
Install PHPize on Debain-Ubuntu June 20, 2013 Just install a bunch of package- apt-get install autoconf automake libtool m4 apt-get install php5-dev apt-get install libcurl3 php5-dev libcurl4-gnutls-dev libmagic-dev apt-get install php-http make pecl install pecl_http And adding "extension=http.so" to php.ini (Normally located at /etc/php5/apache2/php.ini) Then restart Apache (sudo service apache2 restart). If in doubt, check your apache… Read More