You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These settings are good starting points, but should be adjusted to best suite your specific stack's needs.
78
+
These settings are good starting points, but they should be adjusted to best suit your deployment's needs.
86
79
{{< /note >}}
87
80
88
-
4. On Debian 8, the *event module* is enabled by default. This should be disabled, and the *prefork module* enabled:
81
+
1. On Debian 8, the *event module* is enabled by default. This should be disabled, and the *prefork module* enabled:
89
82
90
83
sudo a2dismod mpm_event
91
84
sudo a2enmod mpm_prefork
92
85
93
-
5. Restart Apache:
86
+
1. Restart Apache:
94
87
95
88
sudo systemctl restart apache2
96
89
@@ -106,7 +99,7 @@ There can be as many virtual hosts files as needed to support the amount of doma
106
99
107
100
Repeat the process if you intend on hosting multiple websites on your Linode.
108
101
109
-
2. Create an `example.com.conf` file in `/etc/apache2/sites-available` with your text editor, replacing instances of `example.com` with your own domain URL in both the configuration file and in the file name:
102
+
1. Create an `example.com.conf` file in `/etc/apache2/sites-available` with your text editor, replacing instances of `example.com` with your own domain URL in both the configuration file and in the file name:
@@ -136,7 +129,7 @@ There can be as many virtual hosts files as needed to support the amount of doma
136
129
{{< /file >}}
137
130
138
131
139
-
3. Symbolically link your virtual hosts files from the `sites-available` directory to the `sites-enabled` directory. Replace the filename with your own:
132
+
1. Symbolically link your virtual hosts files from the `sites-available` directory to the `sites-enabled` directory. Replace the filename with your own:
140
133
141
134
sudo a2ensite example.com.conf
142
135
sudo a2ensite example.org.conf
@@ -145,7 +138,7 @@ There can be as many virtual hosts files as needed to support the amount of doma
145
138
Should you need to disable a site, you can use `a2dissite example.com`.
146
139
{{< /note >}}
147
140
148
-
4. Restart Apache:
141
+
1. Restart Apache:
149
142
150
143
sudo systemctl restart apache2
151
144
@@ -162,7 +155,7 @@ MySQL is a *relational database management system* (RDBMS) and is a popular comp
162
155
163
156
Input a secure password when prompted by the installation.
164
157
165
-
2. Run `mysql_secure_installation` to remove the test database and any extraneous user permissions added during the initial installation process:
158
+
1. Run `mysql_secure_installation` to remove the test database and any extraneous user permissions added during the initial installation process:
166
159
167
160
sudo mysql_secure_installation
168
161
@@ -178,26 +171,39 @@ Next, you can create a database and grant your users permissions to use database
178
171
179
172
Enter MySQL's root password when prompted.
180
173
181
-
2. Create a database and grant your users permissions on it. Change the database name (`webdata`) and username (`username`). Change the password (`password`):
174
+
1. Create a database and grant your users permissions on it. Change the database name (`webdata`) and username (`username`). Change the password (`password`):
182
175
183
176
create database webdata;
184
177
grant all on webdata.* to 'username' identified by 'password';
185
178
186
-
3. Exit MySQL:
179
+
1. Exit MySQL:
187
180
188
181
quit
189
182
190
183
## PHP
191
184
192
185
PHP makes it possible to produce dynamic and interactive pages using your own scripts and popular web development frameworks.
193
186
194
-
1. Install PHP 5 and the PHP Extension and Application Repository:
187
+
### Install PHP
188
+
189
+
PHP 7.3 is the [latest version available](http://php.net/supported-versions.php) and has the longest period of support offered as of this guide's publishing:
190
+
191
+
1. Add the [sury.org](https://deb.sury.org) repository, which packages PHP 7.3 for Debian 8:
0 commit comments