PhpIpam IP管理系统

# vim /etc/environment

LC_ALL=en_US.utf-8

LANG=en_US.utf-8

 

# yum install httpd mariadb-server php php-cli php-gd php-common php-ldap php-pdo php-pear php-snmp php-xml php-mysql php-mbstring git epel-release php-mcrypt –y

 

# vim /etc/httpd/conf/httpd.conf

<Directory "/var/www/html">

Options Indexes FollowSymLinks

AllowOverride all

Order allow,deny

Allow from all

</Directory>

 

Listen 8080

<VirtualHost 192.168.5.121:8080>

       ServerAdmin phpipam.com

       DocumentRoot /var/www/html/phpipam

       ServerName 192.168.5.121

       ErrorLog logs/phpipam.com-error_log

       CustomLog logs/phpipam.com-access_log common

</VirtualHost>

 

# vim /etc/php.ini

date.timezone = Asia/Shanghai

 

# systemctl restart httpd

# systemctl enable httpd

 

# systemctl start mariadb

# systemctl enable mariadb

 

# mysql_secure_installation

 

# cd /var/www/html/

# git clone https://github.com/phpipam/phpipam.git

# cd phpipam/

# git checkout 1.3

 

# chown apache.apache /var/www/html/phpipam –R

# chcon -t httpd_sys_content_t /var/www/html/phpipam –R

 

#cd /var/www/html/phpipam

# find . -type f -exec chmod 0644 {} \;

# find . -type d -exec chmod 0755 {} \;

 

#cd /var/www/html/phpipam

#git checkout 1.3

 

http://192.168.5.121:8080

 

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

疯飙的蜗牛

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值