<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.24pin.tech/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KNapier</id>
	<title>24PinTech Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.24pin.tech/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KNapier"/>
	<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/view/Special:Contributions/KNapier"/>
	<updated>2026-05-08T15:45:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=WordPress&amp;diff=1175</id>
		<title>WordPress</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=WordPress&amp;diff=1175"/>
		<updated>2021-04-12T15:05:58Z</updated>

		<summary type="html">&lt;p&gt;KNapier: added to the Uploading Images section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
[[File:Wp-admin.png|thumb|screenshot of the WordPress admin dashboard]]&lt;br /&gt;
[https://wordpress.org/ WordPress] is a content management system (CMS) that is functions primarily serve our [http://24pin.tech/ homepage] to users that would like to get help or discover more about the program. It's a very powerful platform that grants administrators creative freedom over whatever they want on their website.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The installation for WordPress is really simple. All you have to do is download the compressed file for the installation and extract it in the directory that you'd want to install it to. You can either download it from their [https://wordpress.org/download/ website here] or alternatively you can download it using &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt;. The command would be &amp;lt;code&amp;gt;sudo wget &amp;lt;nowiki&amp;gt;https://wordpress.org/latest.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on UNIX systems (if you're using aptitude for your package manager.) Once you've downloaded the file, run &amp;lt;code&amp;gt;sudo tar -xzvf latest.tar.gz&amp;lt;/code&amp;gt; to extract it.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Once you've downloaded and extracted the file, visit your web server to continue with the installation process. From here you must create a Database for WordPress, we use MySQL the instructions for creating a database within MySQL goes as follows. &lt;br /&gt;
&lt;br /&gt;
===Accessing MySQL===&lt;br /&gt;
First of all log onto your webserver. (Logan is 24PinTech's webserver)&lt;br /&gt;
&lt;br /&gt;
Once in the webserver and you have access to the command line use this command to go into the MySQL command prompt &amp;lt;code&amp;gt;mysql -u &amp;lt;admin username&amp;gt; -p&amp;lt;/code&amp;gt; then type in the password associated with your admin user. Upon success you should see a prompt that looks like such:&lt;br /&gt;
 Welcome to MySQL monitor. Commands end with ; or \g.                                      Your MySQL connection id is 5340 to server version: 3.23.54                                  .                                                                                         Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;
Run the following commands to create the database, &amp;lt;code&amp;gt;CREATE DATABASE &amp;lt;database name&amp;gt;;&amp;lt;/code&amp;gt; then, &amp;lt;code&amp;gt;GRANT ALL PRIVLEGES ON &amp;lt;database name&amp;gt;.* TO &amp;quot;&amp;lt;wordpress username&amp;gt;&amp;quot;@&amp;quot;&amp;lt;host name&amp;gt;&amp;quot;&amp;lt;/code&amp;gt; Replace wordpress username and host name with the desired names. Do the same when it asks for a password. &lt;br /&gt;
&lt;br /&gt;
To finish the creation of the database run these two commands &amp;lt;code&amp;gt;FLUSH PRIVILEGES;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;EXIT;&amp;lt;/code&amp;gt;then the MySQL monitor will personally say bye to you.&lt;br /&gt;
&lt;br /&gt;
===Setting up the wp-config.php file===&lt;br /&gt;
You can either create and edit the &amp;lt;code&amp;gt;wp-config.php&amp;lt;/code&amp;gt; file yourself, or you can skip this step and let WordPress try to do this itself when you run the installation script. (not recommended) &lt;br /&gt;
&lt;br /&gt;
Follow these instructions if you wish to edit the file manually. Navigate to your domain's home directory then copy the &amp;lt;code&amp;gt;wp-config-sample.php&amp;lt;/code&amp;gt;file and rename the copy to &amp;lt;code&amp;gt;wp-config.php&amp;lt;/code&amp;gt; You can do this using the &amp;lt;code&amp;gt;cp&amp;lt;/code&amp;gt; command within Linux, or running &amp;lt;code&amp;gt;sudo cp wp-config-sample.php wp-config.php&amp;lt;/code&amp;gt; in your domain's home directory. Edit it using &amp;lt;code&amp;gt;sudo vim wp-config.php&amp;lt;/code&amp;gt; press &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; to enter insert mode and change the following values. &amp;lt;blockquote&amp;gt;'''DB_NAME''' use the name of your database&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;'''DB_USER''' use the username of your database&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;'''DB_PASSWORD''' use the password of your database&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;'''DB_HOST''' use the hostname you determined for your database, whish is usually &amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;Then you must enter your secret key values. (good luck) To get your secret key values visit this website [https://api.wordpress.org/secret-key/1.1/salt/ here] then go down to where the website matches the file. Enter your 8 unique keys by hand, make sure each character matches exactly, and you use the correct key for the correct slot. ie. &amp;lt;code&amp;gt;AUTH_KEY&amp;lt;/code&amp;gt; goes with &amp;lt;code&amp;gt;AUTH_KEY&amp;lt;/code&amp;gt; etc. &lt;br /&gt;
&lt;br /&gt;
'''SAVE SAVE SAVE PLEASE''', you should also save while you are editing the file periodically. Save by pressing &amp;lt;code&amp;gt;esc&amp;lt;/code&amp;gt; then typing &amp;lt;code&amp;gt;:w&amp;lt;/code&amp;gt; and exit by pressing &amp;lt;code&amp;gt;esc&amp;lt;/code&amp;gt; and typing &amp;lt;code&amp;gt;:q&amp;lt;/code&amp;gt; , alternatively you can save and exit by pressing &amp;lt;code&amp;gt;esc&amp;lt;/code&amp;gt; and typing &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Finishing Up===&lt;br /&gt;
You might have to move all of your WordPress files out of the WordPress directory into your domain's home directory. Do this with the &amp;lt;code&amp;gt;mv&amp;lt;/code&amp;gt; command ie. &amp;lt;code&amp;gt;sudo mv wp-config.php /var/www/example.ms&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Visit your webpage to finish the WordPress installation and to make a WordPress account.  &lt;br /&gt;
&lt;br /&gt;
====Links For Extra Explanations====&lt;br /&gt;
[https://wordpress.org/support/article/how-to-install-wordpress/#step-3-set-up-wp-config-php Installing WordPress]&lt;br /&gt;
&lt;br /&gt;
[https://wordpress.org/support/article/creating-database-for-wordpress/ Creating a Database for WordPress]&lt;br /&gt;
&lt;br /&gt;
==Management==&lt;br /&gt;
WordPress was created with the user's experience in mind. The dashboard is very intuitive, and the community is large enough to have answers to most questions/problems. In order to manage a WordPress powered website, you need to use the admin dashboard. In order to get to it, go to the WordPress installation's root directory and then navigate to the &amp;lt;code&amp;gt;/wp-admin&amp;lt;/code&amp;gt; directory (i.e. website.com/wp-admin). From there, you can edit posts, the theme, pages, plugins, and more. If you don't know how to do something, Google it! The WordPress community has been around since 2003, so your question has most likely been asked and answered before.&lt;br /&gt;
&lt;br /&gt;
===Logging In===&lt;br /&gt;
In order to log into WordPress, go to website.com'''/wp-admin''' (replace website.com with your domain).&lt;br /&gt;
[[File:W1.png|left|frameless|208x208px|screenshot of the login page]]&lt;br /&gt;
&lt;br /&gt;
[[File:W2.png|left|thumb|150x150px|the ''Users'' tab on the sidebar in the dashboard]]&lt;br /&gt;
&lt;br /&gt;
===Creating Accounts===&lt;br /&gt;
If you need to create an account, go to '''Users → Add New''' from the WordPress dashboard. From there, fill out all of the information for the new account and press the ''Add New User'' button.&lt;br /&gt;
&lt;br /&gt;
If you need to edit any of the users (change username, reset password, etc), navigate to '''Users → All Users''' and click on the one that you need to modify.&lt;br /&gt;
&lt;br /&gt;
===Adding Menu Items===&lt;br /&gt;
Before you can add an item to your primary menu, you need to have a new (or preexisting) page. If you need to create one, go to '''Pages → Add New''' and create it. Once it's created, navigate to '''Appearance → Menus''' and draw your attention to the ''Add Menu Items'' section. Find your new page in the list and click on the checkbox and click ''Add To Menu''.&lt;br /&gt;
[[File:W3.png|left|thumb|204x204px|adding an item to the ''Menu structure'' section]]&lt;br /&gt;
&lt;br /&gt;
===Editing Page Contents===&lt;br /&gt;
To edit page content you want to first open the page you want to edit. To do this from Dashboard you want to go to '''Pages''' then click on the page you want then you click the blue button that says '''Edit with Elementor''' or from the pages section you can hover over the page you want to edit then some options will appear below of which you want to select '''Edit with Elementor'''. From there you can edit stuff already on the page, add more content or get rid of content.&lt;br /&gt;
[[File:W4.png|left|thumb|what it should look like when trying to create a dropdown menu]]&lt;br /&gt;
&lt;br /&gt;
===Adding/Modifying Themes===&lt;br /&gt;
To add/modify themes you want to go to '''Appearance''' then you can select '''Themes''' to choose a theme or customize the one you already have selected. You can choose '''Customize''' to go directly to modifying the theme you already have selected. You can select '''Widgets''' to edit the widgets on different parts of your website like the header, sidebars and footer. You can select '''Menus''' and edit the menus. You can select '''Header''' to go instantly to editing the header. You can go to '''Background''' to edit the background.&lt;br /&gt;
&lt;br /&gt;
===Uploading Images===&lt;br /&gt;
To upload an image you can select the '''Media''' section from the '''Dashboard'''. From there you can view images you already have uploaded and you can select '''Add New''' to add a new image. You can also add new images if you are already editing a page. To do this just drag the image widget to where you want it then you can choose image and insert an image that is already uploaded or upload a new image.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
If after an installation you get prompted for FTP credentials, add the following line to the wp-config.php file in the directory that WordPress was installed &lt;br /&gt;
 define(“FS_METHOD”, “direct”);&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=WordPress&amp;diff=1150</id>
		<title>WordPress</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=WordPress&amp;diff=1150"/>
		<updated>2021-04-01T17:55:42Z</updated>

		<summary type="html">&lt;p&gt;KNapier: added to editing page content and adding/modifying themes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
[[File:Wp-admin.png|thumb|screenshot of the WordPress admin dashboard]]&lt;br /&gt;
[https://wordpress.org/ WordPress] is a content management system (CMS) that is functions primarily serve our [http://24pin.tech/ homepage] to users that would like to get help or discover more about the program. It's a very powerful platform that grants administrators creative freedom over whatever they want on their website.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The installation for WordPress is really simple. All you have to do is download the compressed file for the installation and extract it in the directory that you'd want to install it to. You can either download it from their [https://wordpress.org/download/ website here] or alternatively you can download it using &amp;lt;code&amp;gt;wget&amp;lt;/code&amp;gt;. The command would be &amp;lt;code&amp;gt;sudo wget &amp;lt;nowiki&amp;gt;https://wordpress.org/latest.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; on UNIX systems (if you're using aptitude for your package manager.) Once you've downloaded the file, run &amp;lt;code&amp;gt;sudo tar -xzvf latest.tar.gz&amp;lt;/code&amp;gt; to extract it.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Once you've downloaded and extracted the file, visit your web server to continue with the installation process. From here you must create a Database for WordPress, we use MySQL the instructions for creating a database within MySQL goes as follows. &lt;br /&gt;
&lt;br /&gt;
===Accessing MySQL===&lt;br /&gt;
First of all log onto your webserver. (Logan is 24PinTech's webserver)&lt;br /&gt;
&lt;br /&gt;
Once in the webserver and you have access to the command line use this command to go into the MySQL command prompt &amp;lt;code&amp;gt;mysql -u &amp;lt;admin username&amp;gt; -p&amp;lt;/code&amp;gt; then type in the password associated with your admin user. Upon success you should see a prompt that looks like such:&lt;br /&gt;
 Welcome to MySQL monitor. Commands end with ; or \g.                                      Your MySQL connection id is 5340 to server version: 3.23.54                                  .                                                                                         Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;
Run the following commands to create the database, &amp;lt;code&amp;gt;CREATE DATABASE &amp;lt;database name&amp;gt;;&amp;lt;/code&amp;gt; then, &amp;lt;code&amp;gt;GRANT ALL PRIVLEGES ON &amp;lt;database name&amp;gt;.* TO &amp;quot;&amp;lt;wordpress username&amp;gt;&amp;quot;@&amp;quot;&amp;lt;host name&amp;gt;&amp;quot;&amp;lt;/code&amp;gt; Replace wordpress username and host name with the desired names. Do the same when it asks for a password. &lt;br /&gt;
&lt;br /&gt;
To finish the creation of the database run these two commands &amp;lt;code&amp;gt;FLUSH PRIVILEGES;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;EXIT;&amp;lt;/code&amp;gt;then the MySQL monitor will personally say bye to you.&lt;br /&gt;
&lt;br /&gt;
===Setting up the wp-config.php file===&lt;br /&gt;
You can either create and edit the &amp;lt;code&amp;gt;wp-config.php&amp;lt;/code&amp;gt; file yourself, or you can skip this step and let WordPress try to do this itself when you run the installation script. (not recommended) &lt;br /&gt;
&lt;br /&gt;
Follow these instructions if you wish to edit the file manually. Navigate to your domain's home directory then copy the &amp;lt;code&amp;gt;wp-config-sample.php&amp;lt;/code&amp;gt;file and rename the copy to &amp;lt;code&amp;gt;wp-config.php&amp;lt;/code&amp;gt; You can do this using the &amp;lt;code&amp;gt;cp&amp;lt;/code&amp;gt; command within Linux, or running &amp;lt;code&amp;gt;sudo cp wp-config-sample.php wp-config.php&amp;lt;/code&amp;gt; in your domain's home directory. Edit it using &amp;lt;code&amp;gt;sudo vim wp-config.php&amp;lt;/code&amp;gt; press &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; to enter insert mode and change the following values. &amp;lt;blockquote&amp;gt;'''DB_NAME''' use the name of your database&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;'''DB_USER''' use the username of your database&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;'''DB_PASSWORD''' use the password of your database&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;'''DB_HOST''' use the hostname you determined for your database, whish is usually &amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;Then you must enter your secret key values. (good luck) To get your secret key values visit this website [https://api.wordpress.org/secret-key/1.1/salt/ here] then go down to where the website matches the file. Enter your 8 unique keys by hand, make sure each character matches exactly, and you use the correct key for the correct slot. ie. &amp;lt;code&amp;gt;AUTH_KEY&amp;lt;/code&amp;gt; goes with &amp;lt;code&amp;gt;AUTH_KEY&amp;lt;/code&amp;gt; etc. &lt;br /&gt;
&lt;br /&gt;
'''SAVE SAVE SAVE PLEASE''', you should also save while you are editing the file periodically. Save by pressing &amp;lt;code&amp;gt;esc&amp;lt;/code&amp;gt; then typing &amp;lt;code&amp;gt;:w&amp;lt;/code&amp;gt; and exit by pressing &amp;lt;code&amp;gt;esc&amp;lt;/code&amp;gt; and typing &amp;lt;code&amp;gt;:q&amp;lt;/code&amp;gt; , alternatively you can save and exit by pressing &amp;lt;code&amp;gt;esc&amp;lt;/code&amp;gt; and typing &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
===Finishing Up===&lt;br /&gt;
You might have to move all of your WordPress files out of the WordPress directory into your domain's home directory. Do this with the &amp;lt;code&amp;gt;mv&amp;lt;/code&amp;gt; command ie. &amp;lt;code&amp;gt;sudo mv wp-config.php /var/www/example.ms&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Visit your webpage to finish the WordPress installation and to make a WordPress account.  &lt;br /&gt;
&lt;br /&gt;
====Links For Extra Explanations====&lt;br /&gt;
[https://wordpress.org/support/article/how-to-install-wordpress/#step-3-set-up-wp-config-php Installing WordPress]&lt;br /&gt;
&lt;br /&gt;
[https://wordpress.org/support/article/creating-database-for-wordpress/ Creating a Database for WordPress]&lt;br /&gt;
&lt;br /&gt;
==Management==&lt;br /&gt;
WordPress was created with the user's experience in mind. The dashboard is very intuitive, and the community is large enough to have answers to most questions/problems. In order to manage a WordPress powered website, you need to use the admin dashboard. In order to get to it, go to the WordPress installation's root directory and then navigate to the &amp;lt;code&amp;gt;/wp-admin&amp;lt;/code&amp;gt; directory (i.e. website.com/wp-admin). From there, you can edit posts, the theme, pages, plugins, and more. If you don't know how to do something, Google it! The WordPress community has been around since 2003, so your question has most likely been asked and answered before.&lt;br /&gt;
&lt;br /&gt;
===Logging In===&lt;br /&gt;
In order to log into WordPress, go to website.com'''/wp-admin''' (replace website.com with your domain).&lt;br /&gt;
[[File:W1.png|left|frameless|208x208px|screenshot of the login page]]&lt;br /&gt;
&lt;br /&gt;
[[File:W2.png|left|thumb|150x150px|the ''Users'' tab on the sidebar in the dashboard]]&lt;br /&gt;
&lt;br /&gt;
===Creating Accounts===&lt;br /&gt;
If you need to create an account, go to '''Users → Add New''' from the WordPress dashboard. From there, fill out all of the information for the new account and press the ''Add New User'' button.&lt;br /&gt;
&lt;br /&gt;
If you need to edit any of the users (change username, reset password, etc), navigate to '''Users → All Users''' and click on the one that you need to modify.&lt;br /&gt;
&lt;br /&gt;
===Adding Menu Items===&lt;br /&gt;
Before you can add an item to your primary menu, you need to have a new (or preexisting) page. If you need to create one, go to '''Pages → Add New''' and create it. Once it's created, navigate to '''Appearance → Menus''' and draw your attention to the ''Add Menu Items'' section. Find your new page in the list and click on the checkbox and click ''Add To Menu''.&lt;br /&gt;
[[File:W3.png|left|thumb|204x204px|adding an item to the ''Menu structure'' section]]&lt;br /&gt;
&lt;br /&gt;
===Editing Page Contents===&lt;br /&gt;
To edit page content you want to first open the page you want to edit. To do this from Dashboard you want to go to '''Pages''' then click on the page you want then you click the blue button that says '''Edit with Elementor''' or from the pages section you can hover over the page you want to edit then some options will appear below of which you want to select '''Edit with Elementor'''. From there you can edit stuff already on the page, add more content or get rid of content.&lt;br /&gt;
[[File:W4.png|left|thumb|what it should look like when trying to create a dropdown menu]]&lt;br /&gt;
&lt;br /&gt;
===Adding/Modifying Themes===&lt;br /&gt;
To add/modify themes you want to go to '''Appearance''' then you can select '''Themes''' to choose a theme or customize the one you already have selected. You can choose '''Customize''' to go directly to modifying the theme you already have selected. You can select '''Widgets''' to edit the widgets on different parts of your website like the header, sidebars and footer. You can select '''Menus''' and edit the menus. You can select '''Header''' to go instantly to editing the header. You can go to '''Background''' to edit the background.&lt;br /&gt;
&lt;br /&gt;
===Uploading Images===&lt;br /&gt;
ldkfjalkdfj&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
If after an installation you get prompted for FTP credentials, add the following line to the wp-config.php file in the directory that WordPress was installed &lt;br /&gt;
 define(“FS_METHOD”, “direct”);&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Nginx&amp;diff=1094</id>
		<title>Nginx</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Nginx&amp;diff=1094"/>
		<updated>2020-12-31T20:40:11Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Added another tip.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==About==&lt;br /&gt;
Nginx (pronounced engine-x) is web server which can also be used  proxy, load balancer, mail proxy and HTTP cache. It's also a modern alternative to something like Apache, IIS, or Caddy.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
An nginx installation should be pretty accessible regardless of your OS. This guide is specifically written for Ubuntu Server 18.04 LTS, but should work on any other type of Unix operating system. The setup that we're using is commonly referred to as a LEMP stack (Linux, nginx, MySQL, PHP.)&lt;br /&gt;
&lt;br /&gt;
*nginx/1.14.0 (Ubuntu)&lt;br /&gt;
*PHP 7.2.10-0ubuntu0.18.04.1 (cli)&lt;br /&gt;
*MySQL v14.14 Distribution 5.7.24&lt;br /&gt;
&lt;br /&gt;
If you've just installed a new operating system, you'll want to update your local package index by running &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;, and then add the Universe repository by running &amp;lt;code&amp;gt;sudo apt-add-repository universe&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installing nginx==&lt;br /&gt;
To start, you're going to want to install nginx using the aptitude package manager. You can do this by running &amp;lt;code&amp;gt;sudo apt-get install nginx&amp;lt;/code&amp;gt;. Once you run that, you'll want to go through the configuration prompt that appears.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
After nginx and its subsequent dependencies have finished installing, you'll want to let it through the firewall by running &amp;lt;code&amp;gt;sudo ufw allow 'Nginx HTTP'&amp;lt;/code&amp;gt;. Check what your current IP is by running &amp;lt;code&amp;gt;ifconfig&amp;lt;/code&amp;gt;, and then look for whatever interface looks correct. In this instance, the proper interface is &amp;lt;code&amp;gt;eth0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
[[File:Ifconfig-example.png|left|frame|an example of the results from ifconfig]]&lt;br /&gt;
After running the command, the first indented line should say '''''inet''''' and then an IP address afterwards. Verify functionality of nginx by going to your web browser and typing &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://{ip}/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;{ip}&amp;lt;/code&amp;gt; is what follows after '''''inet'''''.&lt;br /&gt;
&lt;br /&gt;
If the default nginx page displays, continue to the next section.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
==Installing MySQL==&lt;br /&gt;
The process of installing MySQL is fairly similar to installing nginx, although MySQL does require a little bit of configuration before it will function properly. Start off by running &amp;lt;code&amp;gt;sudo apt-get install mysql-server&amp;lt;/code&amp;gt;, and then once it finishes run the setup script by typing &amp;lt;code&amp;gt;sudo mysql_secure_installation&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
The first thing that the installations script will ask you is if you'd like to enable the &amp;lt;code&amp;gt;VALIDATE PASSWORD PLUGIN&amp;lt;/code&amp;gt;, but don't. If you don't care about why, then skip to the next paragraph, but if you do, keep reading. Essentially, the plugin throws errors if passwords don't meet specific criteria. This causes issues if you either a.) use weak passwords, or b.) install a package that automatically compiles and creates a default account with basic credentials. '''It is always good practice to use strong passwords for everything, and database credentials are no exception.'''&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Say yes to the rest of the questions and use good judgement if it asks something that requires anything other than a Y/N input.&lt;br /&gt;
&lt;br /&gt;
==Installing PHP==&lt;br /&gt;
Again, installing PHP is very similar to two sections preceding this one. Start off by installing the &amp;lt;code&amp;gt;php-fpm&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;php-mysql&amp;lt;/code&amp;gt; packages by running &amp;lt;code&amp;gt;sudo apt-get install php-fpm php-mysql&amp;lt;/code&amp;gt;. After it installs, you'll want to edit &amp;lt;code&amp;gt;php.ini&amp;lt;/code&amp;gt; by running &amp;lt;code&amp;gt;sudo vim /etc/php/7.2/fpm/php.ini&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
'''''Note:''' If the file isn't found, check'' the directory path by using the &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; command and seeing where something doesn't exist.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
If you're using Vim, type a &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; and search for &amp;lt;code&amp;gt;cgi.fix_pathinfo&amp;lt;/code&amp;gt;. You should be taken to a line that's commented out and says &amp;lt;code&amp;gt;;cgi.fix_pathinfo=0&amp;lt;/code&amp;gt; or something similar. Press the &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; key to start editing and remove the &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt; to uncomment it. If the variable is set to 1, change it to 0. Press the &amp;lt;code&amp;gt;escape&amp;lt;/code&amp;gt; key and type &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; to save and quit your changes. If you didn't run Vim as a superuser (if you didn't run the command with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;), it will throw and error and the file won't save.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Once the file saves, run &amp;lt;code&amp;gt;sudo systemctl restart php7.2-fpm&amp;lt;/code&amp;gt; to restart PHP.&lt;br /&gt;
&lt;br /&gt;
==Configuring nginx==&lt;br /&gt;
The configuration for nginx is a little different compared to anything you might be used to. To start, there are two directories: &amp;lt;code&amp;gt;sites-available&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sites-enabled&amp;lt;/code&amp;gt;. The former directory actually contains the configuration files, while the latter contains symbolic links to the configuration files and enables them.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
To start, lets say that we wanted to configure our nginx server to work with the domain &amp;lt;code&amp;gt;example.ms&amp;lt;/code&amp;gt;. First, we'd want to verify that the directory &amp;lt;code&amp;gt;/var/www/example.ms&amp;lt;/code&amp;gt; exists. Move to the &amp;lt;code&amp;gt;sites-available&amp;lt;/code&amp;gt; directory by entering the command &amp;lt;code&amp;gt;cd /etc/nginx/sites-available&amp;lt;/code&amp;gt;. Next, you'll want to create a new configuration file with the name of the domain. You can either by running &amp;lt;code&amp;gt;sudo touch example.ms &amp;amp;&amp;amp; sudo vim example.ms&amp;lt;/code&amp;gt; or simply by running &amp;lt;code&amp;gt;sudo vim example.ms&amp;lt;/code&amp;gt; since Vim creates the file if it doesn't exist. Again, press &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; to edit the file. Once you're in edit mode, you'll want the contents to look something like this:&amp;lt;pre&amp;gt;&lt;br /&gt;
server {&lt;br /&gt;
     listen 80;&lt;br /&gt;
     listen [::]:80;&lt;br /&gt;
&lt;br /&gt;
     # this is a comment! you don't have to include this, but if you're not&lt;br /&gt;
     # going to be using a domain, then you can replace it with an IP&lt;br /&gt;
     server_name example.ms;&lt;br /&gt;
&lt;br /&gt;
     root /var/www/example.ms;&lt;br /&gt;
     index index.php index.html index.htm;&lt;br /&gt;
&lt;br /&gt;
     location = /favicon.io {&lt;br /&gt;
          log_not_found off;&lt;br /&gt;
          access_log off;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
     location = /robots.txt {&lt;br /&gt;
          allow all;&lt;br /&gt;
          log_not_found off;&lt;br /&gt;
          access_log off;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
     location / {&lt;br /&gt;
          try_files $uri $uri/ /index.php$args;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
     location ~ \.php$ {&lt;br /&gt;
          include snippets/fastcgi-php.conf;&lt;br /&gt;
          fastcgi_intercept_errors on;&lt;br /&gt;
          fastcgi_pass unix:/run/php/php7.2-fpm.sock;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
     location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {&lt;br /&gt;
          expires max;&lt;br /&gt;
          log_not_found off;&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;'''''Tip:''' You can periodically save your configuration file by pressing &amp;lt;code&amp;gt;escape&amp;lt;/code&amp;gt;, typing &amp;lt;code&amp;gt;:w&amp;lt;/code&amp;gt; , and then pressing &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; again to edit the file.''&lt;br /&gt;
&lt;br /&gt;
'''''Tip''''': If you are adding another domain the &amp;lt;code&amp;gt;listen 80;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;listen [::]:80;&amp;lt;/code&amp;gt; isn't needed and you can go from &amp;lt;code&amp;gt;server {&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;server_name example.ms;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''.''&lt;br /&gt;
&lt;br /&gt;
Once you're completely done editing, save and quit the file by pressing the escape key and typing &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt;. Finally, you can check your configuration file for errors by running &amp;lt;code&amp;gt;sudo nginx -t&amp;lt;/code&amp;gt;. If there are any errors, refer back to your configuration file and see where you went wrong. In the event that nginx threw an error, review your configuration file and look for any missing &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt;. Every line that doesn't have curly brackets should end in a semicolon, which is probably the issue. If that isn't, then refer to your favorite search engine and start researching.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
If nothing went wrong, and your configuration file is completely free of errors, run &amp;lt;code&amp;gt;cd ../sites-enabled&amp;lt;/code&amp;gt; to move to the sites-enabled directory. Finally, to enable your website, run &amp;lt;code&amp;gt;sudo ln -s /etc/nginx/sites-available/example.ms ./&amp;lt;/code&amp;gt; to create the symbolic link to your configuration file, and then run &amp;lt;code&amp;gt;sudo systemctl restart nginx&amp;lt;/code&amp;gt; to restart nginx and make your changes go live.&lt;br /&gt;
&lt;br /&gt;
==Verifying Functionality==&lt;br /&gt;
Of course, you'll want to make sure that everything you just did actually works. Run &amp;lt;code&amp;gt;cd /var/www/example.ms &amp;amp;&amp;amp; sudo vim info.php&amp;lt;/code&amp;gt; to move to your websites home directory and create the file &amp;lt;code&amp;gt;info.php&amp;lt;/code&amp;gt;. Inside of the file, type the following:&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
     phpinfo();&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;... and then save and quit the file by pressing &amp;lt;code&amp;gt;escape&amp;lt;/code&amp;gt; and typing &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt;. Now, go to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://example.ms/info.php&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. If you didn't configure the nameservers for your domain to point to your new nginx server, then just replace the domain name with the IP of the server (refer to the &amp;lt;code&amp;gt;ifconfig&amp;lt;/code&amp;gt; part of the [[Nginx#Installing nginx|Installing nginx]] section if you don't know how.)&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
If everything worked properly, you should see a PHP information page with a bunch of library authors and enabled modules. If it doesn't, research!&lt;br /&gt;
&lt;br /&gt;
==Subdomains==&lt;br /&gt;
Adding subdomains is really easy and doesn't require a lot of effort. You'll just need to remember the general process from the [[Nginx#Configuring nginx|Configuring nginx]] section.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
To start, navigate to the &amp;lt;code&amp;gt;sites-available&amp;lt;/code&amp;gt; directory by running  &amp;lt;code&amp;gt;cd /etc/nginx/sites-available&amp;lt;/code&amp;gt;. Then, you can either copy a pre-existing configuration by running &amp;lt;code&amp;gt;sudo cp example.ms subdomain.example.ms&amp;lt;/code&amp;gt; or creating a new file by running &amp;lt;code&amp;gt;sudo vim subdomain.example.ms&amp;lt;/code&amp;gt;. If you copied it, edit the file by running &amp;lt;code&amp;gt;sudo vim subdomain.example.ms&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===What needs to be changed===&lt;br /&gt;
The only important things that need to be changed are the &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;server_name&amp;lt;/code&amp;gt; variables. Press &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; to start editing the file in Vim, and then find where the variables are located. Change the &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; variable to an updated path where the contents for the subdomain can be found. Generally, good practice for this is to create a new folder in the primary domains path with the name of the subdomain. So, if we were trying to create &amp;lt;code&amp;gt;subdomain.example.ms&amp;lt;/code&amp;gt;, we'd create a new folder by running the command  &amp;lt;code&amp;gt;sudo mkdir /var/www/example.ms/subdomain&amp;lt;/code&amp;gt;. Then, we'd modify our &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; variable to look something like this:&amp;lt;pre&amp;gt;&lt;br /&gt;
# before&lt;br /&gt;
root /var/www/example.ms;&lt;br /&gt;
&lt;br /&gt;
# after&lt;br /&gt;
root /var/www/example.ms/subdomain;&lt;br /&gt;
&amp;lt;/pre&amp;gt;The &amp;lt;code&amp;gt;server_name&amp;lt;/code&amp;gt; variable is just as simple. Just add the subdomain prefix to the beginning of your domain:&lt;br /&gt;
 # before&lt;br /&gt;
 server_name example.ms;&lt;br /&gt;
 &lt;br /&gt;
 # after&lt;br /&gt;
 server_name subdomain.example.ms;&lt;br /&gt;
Once you've made the proper changes, save and quit the file by pressing &amp;lt;code&amp;gt;escape&amp;lt;/code&amp;gt; and typing &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt;. Then, run &amp;lt;code&amp;gt;cd ../sites-enabled &amp;amp;&amp;amp; sudo ln -s /etc/nginx/sites-available/subdomain.example.ms ./&amp;lt;/code&amp;gt; and restart nginx by running &amp;lt;code&amp;gt;sudo systemctl restart nginx&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Adding other domains (that aren't subdomains)==&lt;br /&gt;
The process is exactly the same as adding a subdomain, except instead of adding a prefix the value of &amp;lt;code&amp;gt;server_name&amp;lt;/code&amp;gt; you'll just completely change the domain. Again, don't forget to create the symbolic link to the configuration file and ''especially'' don't forget to restart nginx after saving the config/creating the symbolic link. When you're creating the folder to contain the contents for the server, create a new folder that has the name of the domain. So, for instance, if I was creating example2.ms, I'd run &amp;lt;code&amp;gt;sudo mkdir /var/www/example2.ms&amp;lt;/code&amp;gt;. Now that the domain is ready go to [http://wiki.24pin.tech/index.php?title=WordPress WordPress]if you are planning on using WordPress as your editor.&lt;br /&gt;
&lt;br /&gt;
==Conclusion==&lt;br /&gt;
By now, your nginx server should be up and fully operational. As always, if you're having any issues please STFW before you ask people for advice!&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Thank you,&lt;br /&gt;
&lt;br /&gt;
- Tyler&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Nginx&amp;diff=1093</id>
		<title>Nginx</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Nginx&amp;diff=1093"/>
		<updated>2020-12-31T20:21:02Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Added to the end of the Adding other domains (that aren't subdomains) to help with the flow of adding domains.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==About==&lt;br /&gt;
Nginx (pronounced engine-x) is web server which can also be used  proxy, load balancer, mail proxy and HTTP cache. It's also a modern alternative to something like Apache, IIS, or Caddy.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
An nginx installation should be pretty accessible regardless of your OS. This guide is specifically written for Ubuntu Server 18.04 LTS, but should work on any other type of Unix operating system. The setup that we're using is commonly referred to as a LEMP stack (Linux, nginx, MySQL, PHP.)&lt;br /&gt;
&lt;br /&gt;
*nginx/1.14.0 (Ubuntu)&lt;br /&gt;
*PHP 7.2.10-0ubuntu0.18.04.1 (cli)&lt;br /&gt;
*MySQL v14.14 Distribution 5.7.24&lt;br /&gt;
&lt;br /&gt;
If you've just installed a new operating system, you'll want to update your local package index by running &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;, and then add the Universe repository by running &amp;lt;code&amp;gt;sudo apt-add-repository universe&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installing nginx==&lt;br /&gt;
To start, you're going to want to install nginx using the aptitude package manager. You can do this by running &amp;lt;code&amp;gt;sudo apt-get install nginx&amp;lt;/code&amp;gt;. Once you run that, you'll want to go through the configuration prompt that appears.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
After nginx and its subsequent dependencies have finished installing, you'll want to let it through the firewall by running &amp;lt;code&amp;gt;sudo ufw allow 'Nginx HTTP'&amp;lt;/code&amp;gt;. Check what your current IP is by running &amp;lt;code&amp;gt;ifconfig&amp;lt;/code&amp;gt;, and then look for whatever interface looks correct. In this instance, the proper interface is &amp;lt;code&amp;gt;eth0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
[[File:Ifconfig-example.png|left|frame|an example of the results from ifconfig]]&lt;br /&gt;
After running the command, the first indented line should say '''''inet''''' and then an IP address afterwards. Verify functionality of nginx by going to your web browser and typing &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://{ip}/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;{ip}&amp;lt;/code&amp;gt; is what follows after '''''inet'''''.&lt;br /&gt;
&lt;br /&gt;
If the default nginx page displays, continue to the next section.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
==Installing MySQL==&lt;br /&gt;
The process of installing MySQL is fairly similar to installing nginx, although MySQL does require a little bit of configuration before it will function properly. Start off by running &amp;lt;code&amp;gt;sudo apt-get install mysql-server&amp;lt;/code&amp;gt;, and then once it finishes run the setup script by typing &amp;lt;code&amp;gt;sudo mysql_secure_installation&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
The first thing that the installations script will ask you is if you'd like to enable the &amp;lt;code&amp;gt;VALIDATE PASSWORD PLUGIN&amp;lt;/code&amp;gt;, but don't. If you don't care about why, then skip to the next paragraph, but if you do, keep reading. Essentially, the plugin throws errors if passwords don't meet specific criteria. This causes issues if you either a.) use weak passwords, or b.) install a package that automatically compiles and creates a default account with basic credentials. '''It is always good practice to use strong passwords for everything, and database credentials are no exception.'''&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Say yes to the rest of the questions and use good judgement if it asks something that requires anything other than a Y/N input.&lt;br /&gt;
&lt;br /&gt;
==Installing PHP==&lt;br /&gt;
Again, installing PHP is very similar to two sections preceding this one. Start off by installing the &amp;lt;code&amp;gt;php-fpm&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;php-mysql&amp;lt;/code&amp;gt; packages by running &amp;lt;code&amp;gt;sudo apt-get install php-fpm php-mysql&amp;lt;/code&amp;gt;. After it installs, you'll want to edit &amp;lt;code&amp;gt;php.ini&amp;lt;/code&amp;gt; by running &amp;lt;code&amp;gt;sudo vim /etc/php/7.2/fpm/php.ini&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
'''''Note:''' If the file isn't found, check'' the directory path by using the &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; command and seeing where something doesn't exist.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
If you're using Vim, type a &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; and search for &amp;lt;code&amp;gt;cgi.fix_pathinfo&amp;lt;/code&amp;gt;. You should be taken to a line that's commented out and says &amp;lt;code&amp;gt;;cgi.fix_pathinfo=0&amp;lt;/code&amp;gt; or something similar. Press the &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; key to start editing and remove the &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt; to uncomment it. If the variable is set to 1, change it to 0. Press the &amp;lt;code&amp;gt;escape&amp;lt;/code&amp;gt; key and type &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; to save and quit your changes. If you didn't run Vim as a superuser (if you didn't run the command with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;), it will throw and error and the file won't save.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Once the file saves, run &amp;lt;code&amp;gt;sudo systemctl restart php7.2-fpm&amp;lt;/code&amp;gt; to restart PHP.&lt;br /&gt;
&lt;br /&gt;
==Configuring nginx==&lt;br /&gt;
The configuration for nginx is a little different compared to anything you might be used to. To start, there are two directories: &amp;lt;code&amp;gt;sites-available&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sites-enabled&amp;lt;/code&amp;gt;. The former directory actually contains the configuration files, while the latter contains symbolic links to the configuration files and enables them.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
To start, lets say that we wanted to configure our nginx server to work with the domain &amp;lt;code&amp;gt;example.ms&amp;lt;/code&amp;gt;. First, we'd want to verify that the directory &amp;lt;code&amp;gt;/var/www/example.ms&amp;lt;/code&amp;gt; exists. Move to the &amp;lt;code&amp;gt;sites-available&amp;lt;/code&amp;gt; directory by entering the command &amp;lt;code&amp;gt;cd /etc/nginx/sites-available&amp;lt;/code&amp;gt;. Next, you'll want to create a new configuration file with the name of the domain. You can either by running &amp;lt;code&amp;gt;sudo touch example.ms &amp;amp;&amp;amp; sudo vim example.ms&amp;lt;/code&amp;gt; or simply by running &amp;lt;code&amp;gt;sudo vim example.ms&amp;lt;/code&amp;gt; since Vim creates the file if it doesn't exist. Again, press &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; to edit the file. Once you're in edit mode, you'll want the contents to look something like this:&amp;lt;pre&amp;gt;&lt;br /&gt;
server {&lt;br /&gt;
     listen 80;&lt;br /&gt;
     listen [::]:80;&lt;br /&gt;
&lt;br /&gt;
     # this is a comment! you don't have to include this, but if you're not&lt;br /&gt;
     # going to be using a domain, then you can replace it with an IP&lt;br /&gt;
     server_name example.ms;&lt;br /&gt;
&lt;br /&gt;
     root /var/www/example.ms;&lt;br /&gt;
     index index.php index.html index.htm;&lt;br /&gt;
&lt;br /&gt;
     location = /favicon.io {&lt;br /&gt;
          log_not_found off;&lt;br /&gt;
          access_log off;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
     location = /robots.txt {&lt;br /&gt;
          allow all;&lt;br /&gt;
          log_not_found off;&lt;br /&gt;
          access_log off;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
     location / {&lt;br /&gt;
          try_files $uri $uri/ /index.php$args;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
     location ~ \.php$ {&lt;br /&gt;
          include snippets/fastcgi-php.conf;&lt;br /&gt;
          fastcgi_intercept_errors on;&lt;br /&gt;
          fastcgi_pass unix:/run/php/php7.2-fpm.sock;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
     location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {&lt;br /&gt;
          expires max;&lt;br /&gt;
          log_not_found off;&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;'''''Tip:''' You can periodically save your configuration file by pressing &amp;lt;code&amp;gt;escape&amp;lt;/code&amp;gt;, typing &amp;lt;code&amp;gt;:w&amp;lt;/code&amp;gt; , and then pressing &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; again to edit the file.''&lt;br /&gt;
&lt;br /&gt;
''.''&lt;br /&gt;
&lt;br /&gt;
Once you're completely done editing, save and quit the file by pressing the escape key and typing &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt;. Finally, you can check your configuration file for errors by running &amp;lt;code&amp;gt;sudo nginx -t&amp;lt;/code&amp;gt;. If there are any errors, refer back to your configuration file and see where you went wrong. In the event that nginx threw an error, review your configuration file and look for any missing &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt;. Every line that doesn't have curly brackets should end in a semicolon, which is probably the issue. If that isn't, then refer to your favorite search engine and start researching.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
If nothing went wrong, and your configuration file is completely free of errors, run &amp;lt;code&amp;gt;cd ../sites-enabled&amp;lt;/code&amp;gt; to move to the sites-enabled directory. Finally, to enable your website, run &amp;lt;code&amp;gt;sudo ln -s /etc/nginx/sites-available/example.ms ./&amp;lt;/code&amp;gt; to create the symbolic link to your configuration file, and then run &amp;lt;code&amp;gt;sudo systemctl restart nginx&amp;lt;/code&amp;gt; to restart nginx and make your changes go live.&lt;br /&gt;
&lt;br /&gt;
==Verifying Functionality==&lt;br /&gt;
Of course, you'll want to make sure that everything you just did actually works. Run &amp;lt;code&amp;gt;cd /var/www/example.ms &amp;amp;&amp;amp; sudo vim info.php&amp;lt;/code&amp;gt; to move to your websites home directory and create the file &amp;lt;code&amp;gt;info.php&amp;lt;/code&amp;gt;. Inside of the file, type the following:&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
     phpinfo();&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;... and then save and quit the file by pressing &amp;lt;code&amp;gt;escape&amp;lt;/code&amp;gt; and typing &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt;. Now, go to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://example.ms/info.php&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. If you didn't configure the nameservers for your domain to point to your new nginx server, then just replace the domain name with the IP of the server (refer to the &amp;lt;code&amp;gt;ifconfig&amp;lt;/code&amp;gt; part of the [[Nginx#Installing nginx|Installing nginx]] section if you don't know how.)&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
If everything worked properly, you should see a PHP information page with a bunch of library authors and enabled modules. If it doesn't, research!&lt;br /&gt;
&lt;br /&gt;
==Subdomains==&lt;br /&gt;
Adding subdomains is really easy and doesn't require a lot of effort. You'll just need to remember the general process from the [[Nginx#Configuring nginx|Configuring nginx]] section.&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
To start, navigate to the &amp;lt;code&amp;gt;sites-available&amp;lt;/code&amp;gt; directory by running  &amp;lt;code&amp;gt;cd /etc/nginx/sites-available&amp;lt;/code&amp;gt;. Then, you can either copy a pre-existing configuration by running &amp;lt;code&amp;gt;sudo cp example.ms subdomain.example.ms&amp;lt;/code&amp;gt; or creating a new file by running &amp;lt;code&amp;gt;sudo vim subdomain.example.ms&amp;lt;/code&amp;gt;. If you copied it, edit the file by running &amp;lt;code&amp;gt;sudo vim subdomain.example.ms&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===What needs to be changed===&lt;br /&gt;
The only important things that need to be changed are the &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;server_name&amp;lt;/code&amp;gt; variables. Press &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; to start editing the file in Vim, and then find where the variables are located. Change the &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; variable to an updated path where the contents for the subdomain can be found. Generally, good practice for this is to create a new folder in the primary domains path with the name of the subdomain. So, if we were trying to create &amp;lt;code&amp;gt;subdomain.example.ms&amp;lt;/code&amp;gt;, we'd create a new folder by running the command  &amp;lt;code&amp;gt;sudo mkdir /var/www/example.ms/subdomain&amp;lt;/code&amp;gt;. Then, we'd modify our &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; variable to look something like this:&amp;lt;pre&amp;gt;&lt;br /&gt;
# before&lt;br /&gt;
root /var/www/example.ms;&lt;br /&gt;
&lt;br /&gt;
# after&lt;br /&gt;
root /var/www/example.ms/subdomain;&lt;br /&gt;
&amp;lt;/pre&amp;gt;The &amp;lt;code&amp;gt;server_name&amp;lt;/code&amp;gt; variable is just as simple. Just add the subdomain prefix to the beginning of your domain:&lt;br /&gt;
 # before&lt;br /&gt;
 server_name example.ms;&lt;br /&gt;
 &lt;br /&gt;
 # after&lt;br /&gt;
 server_name subdomain.example.ms;&lt;br /&gt;
Once you've made the proper changes, save and quit the file by pressing &amp;lt;code&amp;gt;escape&amp;lt;/code&amp;gt; and typing &amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt;. Then, run &amp;lt;code&amp;gt;cd ../sites-enabled &amp;amp;&amp;amp; sudo ln -s /etc/nginx/sites-available/subdomain.example.ms ./&amp;lt;/code&amp;gt; and restart nginx by running &amp;lt;code&amp;gt;sudo systemctl restart nginx&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Adding other domains (that aren't subdomains)==&lt;br /&gt;
The process is exactly the same as adding a subdomain, except instead of adding a prefix the value of &amp;lt;code&amp;gt;server_name&amp;lt;/code&amp;gt; you'll just completely change the domain. Again, don't forget to create the symbolic link to the configuration file and ''especially'' don't forget to restart nginx after saving the config/creating the symbolic link. When you're creating the folder to contain the contents for the server, create a new folder that has the name of the domain. So, for instance, if I was creating example2.ms, I'd run &amp;lt;code&amp;gt;sudo mkdir /var/www/example2.ms&amp;lt;/code&amp;gt;. Now that the domain is ready go to [http://wiki.24pin.tech/index.php?title=WordPress WordPress]if you are planning on using WordPress as your editor.&lt;br /&gt;
&lt;br /&gt;
==Conclusion==&lt;br /&gt;
By now, your nginx server should be up and fully operational. As always, if you're having any issues please STFW before you ask people for advice!&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Thank you,&lt;br /&gt;
&lt;br /&gt;
- Tyler&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Freyr&amp;diff=1086</id>
		<title>Freyr</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Freyr&amp;diff=1086"/>
		<updated>2020-03-09T20:29:25Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Started services&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General Overview==&lt;br /&gt;
Freyr (10.21.25.5) is a backup server for Logan. It primarily functions as a backup for [[Logan]] which is our print server, BDC (backup domain controller), host our DHCP/DNS backups and is our LEMP (NGINX) server. All it does is Hyper-V boomer.&lt;br /&gt;
&lt;br /&gt;
==System Information==&lt;br /&gt;
&lt;br /&gt;
*Processor: Intel Xeon E5620 @2.40 GHz (16CPUs)&lt;br /&gt;
*Memory: 48.0 GB DDR3&lt;br /&gt;
*Storage: HP LOGICAL VOLUME SCSI Disk&lt;br /&gt;
*System Model: ProLiant DL 360G7&lt;br /&gt;
&lt;br /&gt;
== Services ==&lt;br /&gt;
Freyr is a backup for Logan but it isn't one of our Domain Controllers so it dosn't run as many services as Logan&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Freyr&amp;diff=1085</id>
		<title>Freyr</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Freyr&amp;diff=1085"/>
		<updated>2020-03-09T20:17:49Z</updated>

		<summary type="html">&lt;p&gt;KNapier: I added what I needed to&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General Overview==&lt;br /&gt;
Freyr (10.21.25.5) is a backup server for Logan. It primarily functions as a backup for [[Logan]] which is our print server, BDC (backup domain controller), host our DHCP/DNS backups and is our LEMP (NGINX) server. All it does is Hyper-V boomer.&lt;br /&gt;
&lt;br /&gt;
=System Information=&lt;br /&gt;
&lt;br /&gt;
*Processor: Intel Xeon E5620 @2.40 GHz (16CPUs)&lt;br /&gt;
*Memory: 48.0 GB DDR3&lt;br /&gt;
*Storage: HP LOGICAL VOLUME SCSI Disk&lt;br /&gt;
*System Model: ProLiant DL 360G7&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Freyr&amp;diff=1077</id>
		<title>Freyr</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Freyr&amp;diff=1077"/>
		<updated>2020-02-25T20:11:54Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Added a General Overview to Freyr&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General Overview ==&lt;br /&gt;
Freyr (10.21.25.5) is a backup server for Logan. It primarily functions as a backup for [[Logan]] which is our print server, BDC (backup domain controller), host our DHCP/DNS backups and is our LEMP (NGINX) server.&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Logan_(Retired)&amp;diff=1076</id>
		<title>Logan (Retired)</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Logan_(Retired)&amp;diff=1076"/>
		<updated>2020-02-25T20:06:16Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Changed the outdated Apache information to NGINX&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General Overview==&lt;br /&gt;
Logan (10.21.25.10) 1 out of 2 of the Dell PowerEdge R430's that we have in Mr. Chamberlain's room. It primarily functions as a print server, BDC (backup domain controller), a host for our DHCP/DNS backups, and a LEMP (NGINX) server.  &lt;br /&gt;
&lt;br /&gt;
==System information==&lt;br /&gt;
Logan runs the Windows Server 2016 Standard Edition OS Version 10.0 Build 14393, has 16.0 GB of memory available. Processor is Intel Core Xeon CPU E5-2620 @ 2.10GHz (16CPUs). &lt;br /&gt;
&lt;br /&gt;
==Services==&lt;br /&gt;
Since Logan is one of our Domain Controllers, there are services that Logan runs in order to keep everything running smoothly. Services include:&lt;br /&gt;
&lt;br /&gt;
DHCP&lt;br /&gt;
&lt;br /&gt;
DNS&lt;br /&gt;
&lt;br /&gt;
Active Directory&lt;br /&gt;
&lt;br /&gt;
IDRAC&lt;br /&gt;
&lt;br /&gt;
NGINX&lt;br /&gt;
&lt;br /&gt;
Parsoid&lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
These applications were installed onto Logan to help support and secure the network even further.&lt;br /&gt;
&lt;br /&gt;
BeyondTrust Network Scanner&lt;br /&gt;
&lt;br /&gt;
DCdiag&lt;br /&gt;
&lt;br /&gt;
Spiceworks&lt;br /&gt;
&lt;br /&gt;
LoganWeb&lt;br /&gt;
&lt;br /&gt;
Hyper-V Manager&lt;br /&gt;
&lt;br /&gt;
==Startup==&lt;br /&gt;
There is currently only 1 file in the startup folder which is a visual basic script to start up the Parsoid server. The code for that can be seen as follows:&amp;lt;pre&amp;gt;&lt;br /&gt;
set w = CreateObject(&amp;quot;WScript.Shell&amp;quot;)&lt;br /&gt;
w.Run chr(34) &amp;amp; &amp;quot;C:\Program Files\nodejs\parsoid\parsoid.bat&amp;quot; &amp;amp; chr(34), 0&lt;br /&gt;
set w = Nothing&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Print Services==&lt;br /&gt;
There are currently 2 active print servers on Logan: one for the &amp;lt;code&amp;gt;Brother HL-4570CDW&amp;lt;/code&amp;gt; printer, and one for the &amp;lt;code&amp;gt;HP LaserJet P4014 UPD PCL 6&amp;lt;/code&amp;gt; printer.&lt;br /&gt;
&lt;br /&gt;
[[File:Logan_PrintAllPrinters.png]]&lt;br /&gt;
&lt;br /&gt;
Below is the advanced configuration page for both of the main printers.&lt;br /&gt;
&lt;br /&gt;
[[File:Printers-advanced_logan.png|frameless|600x600px]]&lt;br /&gt;
&lt;br /&gt;
==Backup Domain Controller==&lt;br /&gt;
Logan is a backup domain controller for Loki, meaning it is on hot standby for [[DNS]] and [[Active Directory]].&lt;br /&gt;
&lt;br /&gt;
==DHCP==&lt;br /&gt;
Logan runs as a backup [[DHCP]] server for [[Loki]].&lt;br /&gt;
&lt;br /&gt;
==LEMP Stack (Nginx Server)==&lt;br /&gt;
Everything you need to know about our web server can be found on the [http://wiki.24pin.tech/index.php?title=Nginx Nginx] page. It covers everything ranging from installation to configuration, and covers the basics to troubleshooting.&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Logan_(Retired)&amp;diff=1059</id>
		<title>Logan (Retired)</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Logan_(Retired)&amp;diff=1059"/>
		<updated>2020-01-17T20:28:18Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Changed the WAMP section to LEMP.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General Overview==&lt;br /&gt;
Logan (10.21.25.10) 1 out of 2 of the Dell PowerEdge R430's that we have in Mr. Chamberlain's room. It primarily functions as a print server, BDC (backup domain controller, a host for our DHCP/DNS backups, and a WAMP (Apache) server.&lt;br /&gt;
&lt;br /&gt;
==Startup==&lt;br /&gt;
There is currently only 1 file in the startup folder which is a visual basic script to start up the Parsoid server. The code for that can be seen as follows:&amp;lt;pre&amp;gt;&lt;br /&gt;
set w = CreateObject(&amp;quot;WScript.Shell&amp;quot;)&lt;br /&gt;
w.Run chr(34) &amp;amp; &amp;quot;C:\Program Files\nodejs\parsoid\parsoid.bat&amp;quot; &amp;amp; chr(34), 0&lt;br /&gt;
set w = Nothing&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Print Services==&lt;br /&gt;
There are currently 2 active print servers on Logan: one for the &amp;lt;code&amp;gt;Brother HL-4570CDW&amp;lt;/code&amp;gt; printer, and one for the &amp;lt;code&amp;gt;HP LaserJet P4014 UPD PCL 6&amp;lt;/code&amp;gt; printer.&lt;br /&gt;
&lt;br /&gt;
[[File:Logan_PrintAllPrinters.png]]&lt;br /&gt;
&lt;br /&gt;
Below is the advanced configuration page for both of the main printers.&lt;br /&gt;
&lt;br /&gt;
[[File:Printers-advanced_logan.png|frameless|600x600px]]&lt;br /&gt;
&lt;br /&gt;
==Backup Domain Controller==&lt;br /&gt;
Logan is a backup domain controller for Loki, meaning it is on hot standby for [[DNS]] and [[Active Directory]].&lt;br /&gt;
&lt;br /&gt;
==DHCP==&lt;br /&gt;
Logan runs as a backup [[DHCP]] server for [[Loki]].&lt;br /&gt;
&lt;br /&gt;
==LEMP Stack (Nginx Server)==&lt;br /&gt;
Everything you need to know about our web server can be found on the [http://wiki.24pin.tech/index.php?title=Nginx Nginx] page. It covers everything ranging from installation to configuration, and covers the basics to troubleshooting.&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=User:Freyes&amp;diff=1056</id>
		<title>User:Freyes</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=User:Freyes&amp;diff=1056"/>
		<updated>2020-01-14T20:30:05Z</updated>

		<summary type="html">&lt;p&gt;KNapier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;big dumb[[File:CIJH0069.jpg|thumb]]&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Exporting_and_Importing_Virtual_Machines_(Hyper-V)&amp;diff=1030</id>
		<title>Exporting and Importing Virtual Machines (Hyper-V)</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Exporting_and_Importing_Virtual_Machines_(Hyper-V)&amp;diff=1030"/>
		<updated>2019-12-11T18:26:30Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Added caption.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
To export and import virtual machine with Hyper-V you will need to activate Hyper-v on both Windows machines. You would do this when you want to transfer a virtual machine (like Logan) to a different Windows machine.&lt;br /&gt;
&lt;br /&gt;
==Export==&lt;br /&gt;
[[File:Export and Import screenshot 1.png|thumb|Hyper-V Manager window with Import and Export options circled.]]&lt;br /&gt;
To export a virtual machine you want to log into the Window machine you want to export a virtual machine from. After you log on you want to open ‘Hyper-V Manager’. Select the virtual machine you want and select ‘Export…’.Type in where you want to save it or left click browse and save it to a folder in your Local Disk (C:) (you may need to make a folder in the Local Disk to store the virtual machine). Once you have chosen a location click ‘Export’. Then wait for it to export. After it has exported transfer it from your Local Disk to the Shared Storage.&lt;br /&gt;
&lt;br /&gt;
==Import==&lt;br /&gt;
To import a virtual machine you want to log into the Window machine you want to import a virtual machine onto. Open File Explorer and transfer the virtual machine from the Shared Storage to the Local Disk. Open up ‘Hyper-V Manager’ on the server you want the virtual machine on. Click ‘Import Virtual Machine…’. On the Import Virtual Machine window click ‘Next’. Type in the location you want to import the server from or click browse and find the location you want to import from in your Local Disk.Click ‘Next’. Chose the import type, click next. Click finish&lt;br /&gt;
&lt;br /&gt;
==Link that could help==&lt;br /&gt;
&amp;lt;blockquote&amp;gt;https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/export-and-import-virtual-machines&amp;lt;/blockquote&amp;gt;&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Exporting_and_Importing_Virtual_Machines_(Hyper-V)&amp;diff=1028</id>
		<title>Exporting and Importing Virtual Machines (Hyper-V)</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Exporting_and_Importing_Virtual_Machines_(Hyper-V)&amp;diff=1028"/>
		<updated>2019-12-11T18:23:22Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Added picture.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
To export and import virtual machine with Hyper-V you will need to activate Hyper-v on both Windows machines. You would do this when you want to transfer a virtual machine (like Logan) to a different Windows machine.&lt;br /&gt;
&lt;br /&gt;
==Export==&lt;br /&gt;
[[File:Export and Import screenshot 1.png|thumb]]&lt;br /&gt;
To export a virtual machine you want to log into the Window machine you want to export a virtual machine from. After you log on you want to open ‘Hyper-V Manager’. Select the virtual machine you want and select ‘Export…’.Type in where you want to save it or left click browse and save it to a folder in your Local Disk (C:) (you may need to make a folder in the Local Disk to store the virtual machine). Once you have chosen a location click ‘Export’. Then wait for it to export. After it has exported transfer it from your Local Disk to the Shared Storage.&lt;br /&gt;
&lt;br /&gt;
==Import==&lt;br /&gt;
To import a virtual machine you want to log into the Window machine you want to import a virtual machine onto. Open File Explorer and transfer the virtual machine from the Shared Storage to the Local Disk. Open up ‘Hyper-V Manager’ on the server you want the virtual machine on. Click ‘Import Virtual Machine…’. On the Import Virtual Machine window click ‘Next’. Type in the location you want to import the server from or click browse and find the location you want to import from in your Local Disk.Click ‘Next’. Chose the import type, click next. Click finish&lt;br /&gt;
&lt;br /&gt;
==Link that could help==&lt;br /&gt;
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/export-and-import-virtual-machines&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=File:Export_and_Import_screenshot_1.png&amp;diff=1027</id>
		<title>File:Export and Import screenshot 1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=File:Export_and_Import_screenshot_1.png&amp;diff=1027"/>
		<updated>2019-12-11T18:22:34Z</updated>

		<summary type="html">&lt;p&gt;KNapier: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;screenshot of export and import button.&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Exporting_and_Importing_Virtual_Machines_(Hyper-V)&amp;diff=1026</id>
		<title>Exporting and Importing Virtual Machines (Hyper-V)</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Exporting_and_Importing_Virtual_Machines_(Hyper-V)&amp;diff=1026"/>
		<updated>2019-12-11T18:21:19Z</updated>

		<summary type="html">&lt;p&gt;KNapier: I added everything&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
To export and import virtual machine with Hyper-V you will need to activate Hyper-v on both Windows machines. You would do this when you want to transfer a virtual machine (like Logan) to a different Windows machine.&lt;br /&gt;
&lt;br /&gt;
== Export ==&lt;br /&gt;
To export a virtual machine you want to log into the Window machine you want to export a virtual machine from. After you log on you want to open ‘Hyper-V Manager’. Select the virtual machine you want and select ‘Export…’.Type in where you want to save it or left click browse and save it to a folder in your Local Disk (C:) (you may need to make a folder in the Local Disk to store the virtual machine). Once you have chosen a location click ‘Export’. Then wait for it to export. After it has exported transfer it from your Local Disk to the Shared Storage.&lt;br /&gt;
&lt;br /&gt;
== Import ==&lt;br /&gt;
To import a virtual machine you want to log into the Window machine you want to import a virtual machine onto. Open File Explorer and transfer the virtual machine from the Shared Storage to the Local Disk. Open up ‘Hyper-V Manager’ on the server you want the virtual machine on. Click ‘Import Virtual Machine…’. On the Import Virtual Machine window click ‘Next’. Type in the location you want to import the server from or click browse and find the location you want to import from in your Local Disk.Click ‘Next’. Chose the import type, click next. Click finish&lt;br /&gt;
&lt;br /&gt;
== Link that could help ==&lt;br /&gt;
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/export-and-import-virtual-machines&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
	<entry>
		<id>https://wiki.24pin.tech/index.php?title=Exporting_and_Importing_Virtual_Machines_(Hyper-V)&amp;diff=1025</id>
		<title>Exporting and Importing Virtual Machines (Hyper-V)</title>
		<link rel="alternate" type="text/html" href="https://wiki.24pin.tech/index.php?title=Exporting_and_Importing_Virtual_Machines_(Hyper-V)&amp;diff=1025"/>
		<updated>2019-12-11T18:19:36Z</updated>

		<summary type="html">&lt;p&gt;KNapier: Created blank page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>KNapier</name></author>
	</entry>
</feed>