Peruttu

Installed and Configured GlusterFS on 2 Ec2 instances by sysadmin, i restarted the server and whole things goes off.

ust Ran into a small problem my sysadmin made the whole server ready 2 ec2 instances with gluster to sysnc worpdress files/ now i restarted the server and i am seeing apache page not wordpress i see his history but i dont know what do here is the full commands he run please tell me what to do

1 yum update

2 yum update

3 yum update

4 yum install httpd

5 yum search php-

6 yum search php

7 yum search php7

8 rpm -Uvh [url removed, login to view]…/[url removed, login to view]…

9 rpm -Uvh [url removed, login to view]

10 yum search php7

11 yum install php70w*

12 yum install php70w

13 yum install php70w

14 yum search php7

15 php70w.x86_64 : PHP scripting language for creating dynamic web sites

16 php70w-bcmath.x86_64 : A module for PHP applications for using the bcmath library

17 php70w-cli.x86_64 : Command-line interface for PHP

18 php70w-common.x86_64 : Common files for PHP

19 php70w-dba.x86_64 : A database abstraction layer module for PHP applications

20 php70w-devel.x86_64 : Files needed for building PHP extensions

21 php70w-embedded.x86_64 : PHP library for embedding in applications

22 php70w-enchant.x86_64 : Enchant spelling extension for PHP applications

23 php70w-fpm.x86_64 : PHP FastCGI Process Manager

24 php70w-gd.x86_64 : A module for PHP applications for using the gd graphics library

25 php70w-imap.x86_64 : A module for PHP applications that use IMAP

26 php70w-interbase.x86_64 : A module for PHP applications that use Interbase/Firebird databases

58 php -v

59 yum remove php70w-fpm;

60 php -v

61 su apache

62 cd /var/www+

63 cd /var/www

64 ls -l

65 usermod -s /bin/bash apache

66 su apache

67 su apache

68 yum install unzip

69 /var/log/httpd

70 cd /var/log/httpd

71 dir

72 tail -f error_log

73 tail -f error_log

74 setenforce 0

75 tail -f error_log

76 rm [url removed, login to view]

77 mysql [url removed, login to view] -uroot -p

78 yum install mysql-client

79 yum search mysql*

80 yum search mariadb*

81 yum search Mariadb*

82 yum search Maria*

83 yum search maria*

84 yum install mysql

85 mysql [url removed, login to view] -uroot -p

86 mysql [url removed, login to view] -uroot -p

87 nano /etc/httpd/conf/[url removed, login to view]

88 service httpd restart

89 nano /etc/fstab

90 yum install wget

91 ping [url removed, login to view]

92 ping [url removed, login to view]

93 ping [url removed, login to view]

94 service httpd status

95 service httpd start

96 service httpd status

97 service httpd status

98 cd /var/www

99 dir

100 cd html

101 dir

102 nano [url removed, login to view]

103 yum install nano

104 nano [url removed, login to view]

105 install glusterfs-server

106 yum install glusterfs-server

107 yum search centos-release-gluster

108 yum search centos-release-gluster399

109 yum search centos-release-gluster39

110 yum install centos-release-gluster39

111 gluster peer probe [url removed, login to view]

112 install glusterfs-server

113 yum install glusterfs-server

114 gluster peer probe [url removed, login to view]

115 systemctl start glusterd

116 systemctl enable glusterd

117 systemctl enable httpd

118 gluster peer probe [url removed, login to view]

119 gluster peer status

120 mkdir -p /mnt/gluster

121 gluster volume create datapoint replica 2 transport tcp [url removed, login to view]:/mnt/gluster [url removed, login to view]:/mnt/gluster force

122 gluster volume start datapoint

123 rm -rf /var/www/html

124 mkdir /var/www/html

125 mount -t glusterfs [url removed, login to view]:datapoint /var/www/html

126 cd ../

127 mount -t glusterfs [url removed, login to view]:datapoint /var/www/html

128 touch [url removed, login to view]

129 rm [url removed, login to view]

130 cd html

131 touch [url removed, login to view]

132 ps aux | egrep '(apache|httpd)'

133 cd ../

134 chown -R apache:apache ./html

135 cd html

136 su apache

Taidot: Amazon Web Services, Pilvitietotekniikka , Google Cloud Storage, Linux, Järjestelmänvalvoja

Näytä lisää: magento server sysadmin, trusting sysadmin server, sysadmin dedicated server, cool things godaddy server

About the Employer:
( 0 reviews ) lahore, Pakistan

Projektin tunnus: #13161025

2 freelanceria on tarjonnut keskimäärin 48 $ tähän työhön

MikeRRR

Hello, a few words about me: please check my profile : https://www.freelancer.com/u/MikeRRR.html I am a preferred freelancer (this ensure you I am high quality freelancer) I am system / network administrator. I h Lisää

66 $ USD 1 päivässä
(68 arvostelua)
5.3
155 $ USD 3 päivässä
(10 arvostelua)
4.4
aminbros

......................................................................................................

30 $ USD 3 päivässä
(4 arvostelua)
3.0