<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Omaralramammneh on Medium]]></title>
        <description><![CDATA[Stories by Omaralramammneh on Medium]]></description>
        <link>https://medium.com/@omaralramammneh?source=rss-d8316c13f5e5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*OY9LUJIYICuZYhyP</url>
            <title>Stories by Omaralramammneh on Medium</title>
            <link>https://medium.com/@omaralramammneh?source=rss-d8316c13f5e5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 20:56:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@omaralramammneh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How To Setup and Install Mastodon On localhost Windows 10]]></title>
            <link>https://medium.com/@omaralramammneh/how-to-setup-and-install-mastodon-on-localhost-windows-10-7c05ef921985?source=rss-d8316c13f5e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c05ef921985</guid>
            <category><![CDATA[cms-development]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[installation]]></category>
            <category><![CDATA[facebook-clone]]></category>
            <category><![CDATA[script]]></category>
            <dc:creator><![CDATA[Omaralramammneh]]></dc:creator>
            <pubDate>Mon, 06 Mar 2023 12:25:06 GMT</pubDate>
            <atom:updated>2023-03-06T12:25:06.436Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
            <content:encoded><![CDATA[<p>Installing Mastodon on a Windows server can be a bit challenging, as Mastodon is designed to run on Linux-based systems. However, it is possible to run Mastodon on Windows using a Linux compatibility layer such as Windows Subsystem for Linux (WSL) or a virtual machine.</p><p>Here are the general steps to follow:</p><ol><li>Install Windows Subsystem for Linux (WSL) on your Windows server. You can do this by following the instructions on Microsoft’s website.</li><li>Install a Linux distribution of your choice on WSL. You can choose from several popular distributions such as Ubuntu, Debian, or Fedora. Once you have installed a Linux distribution, launch it.</li><li>Install the necessary dependencies for Mastodon. Open a terminal and run the following commands:</li></ol><pre>luaCopy code</pre><pre>sudo apt update<br>sudo apt upgrade<br>sudo apt install imagemagick libpq-dev libxml2-dev libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf automake libtool libidn11-dev libicu-dev libjemalloc-dev redis-server postgresql postgresql-contrib</pre><ol><li>Install Ruby and Ruby on Rails. Run the following commands in the terminal:</li></ol><pre>sqlCopy code</pre><pre>sudo apt install ruby-full<br>sudo gem install rails -v 5.2.4.4</pre><ol><li>Clone the Mastodon repository from GitHub. Run the following command in the terminal:</li></ol><pre>bashCopy code</pre><pre>git clone https://github.com/tootsuite/mastodon.git</pre><ol><li>Navigate to the Mastodon directory and install the necessary dependencies. Run the following commands in the terminal:</li></ol><pre>cssCopy code</pre><pre>cd mastodon<br>bundle install --deployment --without development test<br>yarn install --pure-lockfile</pre><ol><li>Create a PostgreSQL database for Mastodon. Run the following commands in the terminal:</li></ol><pre>cssCopy code</pre><pre>sudo -u postgres createuser -P mastodon<br>sudo -u postgres createdb -O mastodon mastodon_production</pre><ol><li>Generate a configuration file for Mastodon. Run the following command in the terminal:</li></ol><pre>pythonCopy code</pre><pre>RAILS_ENV=production bundle exec rake mastodon:setup</pre><ol><li>Edit the configuration file to include your server’s details, such as your server’s IP address or domain name. You can do this by opening the config/environments/production.rb file and modifying the relevant settings.</li><li>Compile the assets for Mastodon. Run the following command in the terminal:</li></ol><pre>pythonCopy code</pre><pre>RAILS_ENV=production bundle exec rails assets:precompile</pre><ol><li>Start the Mastodon services. Run the following command in the terminal:</li></ol><pre>sqlCopy code</pre><pre>sudo systemctl start redis postgresql</pre><ol><li>Start the Mastodon web server. Run the following command in the terminal:</li></ol><pre>pythonCopy code</pre><pre>RAILS_ENV=production bin/tootctl start</pre><p>At this point, Mastodon should be running on your Windows server. You can access it by opening a web browser and navigating to <a href="http://localhost:3000.">http://localhost:3000.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c05ef921985" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>