<?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 Julius on Medium]]></title>
        <description><![CDATA[Stories by Julius on Medium]]></description>
        <link>https://medium.com/@zJ_?source=rss-2683a31acc10------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YWlzvWtZ82EB3hh7nci-fg.png</url>
            <title>Stories by Julius on Medium</title>
            <link>https://medium.com/@zJ_?source=rss-2683a31acc10------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:11:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zJ_/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 deploy a ModX website on Akash network.]]></title>
            <link>https://medium.com/@zJ_/how-to-host-a-modx-website-on-akash-network-30b46298152?source=rss-2683a31acc10------2</link>
            <guid isPermaLink="false">https://medium.com/p/30b46298152</guid>
            <category><![CDATA[modx]]></category>
            <category><![CDATA[modx-revolution]]></category>
            <category><![CDATA[akash-network]]></category>
            <dc:creator><![CDATA[Julius]]></dc:creator>
            <pubDate>Thu, 02 Sep 2021 19:17:51 GMT</pubDate>
            <atom:updated>2021-09-02T20:05:51.145Z</atom:updated>
            <content:encoded><![CDATA[<p>How to deploy a <a href="https://modx.com/">ModX</a> website on <a href="https://akash.network/">Akash network</a>.</p><p>This Guide will show you how to Deploy a ModX Website on Akash — the Unstoppable Cloud.</p><p>Requirements:</p><ol><li>At least 5 AKT</li><li>A deploy UI of your choice (<a href="https://forum.akash.network/t/deploy-ui-tools/898">List</a> of deployUI’s)</li><li>Docker installation + <a href="https://hub.docker.com/signup">Account</a></li><li>Clone the required repository</li></ol><p>You can find the repository here: <a href="https://github.com/zJuuu/akash-docker-modx">GitHub</a></p><p>It contains the necessary Dockerfile we will use to deploy on to akash network.</p><p>2. Import existing ModX files</p><p>This step is only required if you want to host a existing website on akash. If you want to start a new ModX website continue with step 3.</p><p>Wipe the content of the /html folder and copy your existing ModX website in to the /html folder.</p><p>Make sure to change your ../core/config/config.inc.php file according to the <a href="https://docs.modx.com/current/en/getting-started/maintenance/moving-your-site">docs</a>. (If you made any changes)</p><p>3. Start Docker</p><p>Start Docker and open a terminal window.</p><p>Now we have to build the docker image we will use on akash. We do this with the following command in a terminal of your choice.</p><p>Make sure to replace “yourusername” with your docker username and run the command in the repository folder.</p><blockquote>docker build -t yourusername/modx:latest .</blockquote><p>After this we have to push the image to docker hub.</p><blockquote>docker login</blockquote><blockquote>docker push yourusername/modx:latest</blockquote><p>You should see a new image on <a href="https://hub.docker.com/repositories">docker hub</a> now.</p><p>4. Set up the deploy ui</p><p>In this example we will use the akashlytics deploy ui.</p><p>The first step is to import the Akash wallet in to the deploy ui to query transactions to the blockchain.</p><p>Navigate to “Deployments“ and click on “Create Deployment”. If this is your first Deployment you will have to create a Certificate and submit it to the chain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CKJEr3Ma7CjPJYl1PsDAZg.png" /></figure><p>5. Submit the Deployment</p><p>Select “Empty” Template and click next. After this you will see the a blank field where you paste the following text. Make sure to replace “yourusername” with your docker username. If you want to use a custom domain change “yourdomain.com” to your domain.</p><p>Please add secure informations in line 7,8,9 and 10.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/34b7b8c0d97038740255df21e24d74df/href">https://medium.com/media/34b7b8c0d97038740255df21e24d74df/href</a></iframe><p>6. Accept the Bid of one Provider and test the website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tcz_cVCwcDd_Dr6zjG4-GQ.png" /><figcaption>Select a Provider</figcaption></figure><p>After accepting the Bid it will create the deployment and show you the url to the deployment. If you started with a blank website it will tell you “Could not load MODX config file.” go to /setup to complete the setup of the website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uyi7vzrhVxQtpcn2A3kEAA.png" /></figure><p>Insert the host:<em> db:3306</em> login name: <em>your choosen name </em>password: <em>your choosen name </em>and name: <em>modx</em>.</p><p>7. You are ready to use your ModX Website</p><p>Please note that this does not include a Database backup you will have to use a extra like “BackupMODX” to import the existing db. Otherwise you can also use the the open DB Port and use a Program like MySQL Workbench to import the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HYPVq8Z4q6CgLSiue1iisg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30b46298152" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to deploy a decentralized Blog]]></title>
            <link>https://medium.com/@zJ_/how-to-deploy-a-decentralized-blog-3a5a13a6a827?source=rss-2683a31acc10------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a5a13a6a827</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[handshake]]></category>
            <category><![CDATA[akash]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[skynet]]></category>
            <dc:creator><![CDATA[Julius]]></dc:creator>
            <pubDate>Mon, 12 Apr 2021 15:11:19 GMT</pubDate>
            <atom:updated>2021-05-02T13:30:21.234Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YWDZt7axkSNAMfiV3Pzcrw.png" /></figure><p>This Guide will show you how to deploy a WordPress blog on<a href="https://akash.network/"> Akash Network</a> which receives all static files from <a href="https://siasky.net/">Skynet</a>.</p><p>To access the website we don’t use a common “.com” but instead use a <a href="https://handshake.org/">Handshake</a>-Domain.</p><p>In addition, to make it as fail-safe as possible we will add a service which regularly creates <strong>backups of the database</strong> to Skynet.</p><p>This challenge came from <a href="https://twitter.com/gregosuri/status/1379854034698387457">Greg Osuri</a>, CEO of <a href="https://twitter.com/akashnet_">Akash</a>, who wanted to see if the community could integrate Skynet and HNS with Akash.</p><p>The first approach was to extend the WordPress Setup used on my other <a href="https://medium.com/@zJ_/deploy-a-wordpress-blog-on-akash-network-d3f49a780e47">Medium Story</a> with a custom Plugin to simply upload the WordPress Media Library to Skynet.</p><p><a href="https://twitter.com/nrm55">Neal</a> helped me with this and created a small plugin to make it work but we ran in to many problems and I decided to find a other way and use already existing WordPress Plugins instead. This was not the preferred way because it means you have to use a few different services.</p><p>The integration of <a href="https://siasky.net/">Skynet</a> with <a href="https://filebase.com/">Filebase</a> helped a lot. It allows you to store Files on Skynet but with the ability to access them like a AWS S3 Bucket.</p><h3>1. Buy a HNS-Domain of your choice</h3><p><a href="https://handshake.org/">Handshake</a> is a decentralized naming protocol and offers a alternative to common domains. You cannot access it directly, you need a special browser Browser like Puma (Android, iOS) or <a href="https://medium.com/blockchannel/explore-handshake-domains-today-9b087ed77a25">custom DNS Settings</a>.</p><p>To buy domains you use the currency HNS and a platform like <a href="https://www.namebase.io/">namebase.io</a></p><p>The Process to buy a domain takes a few days (<a href="https://learn.namebase.io/about-handshake/handshake-auction">Auction Process</a>).</p><h3>2. Create a deployment on AKASH Network</h3><p>Now that you have a Domain you can go on and create a new deployment on AKASH Network.</p><p>The easiest way to deploy at the moment is to use <a href="https://twitter.com/Tom_Beynon">Tom’s</a> <a href="https://github.com/tombeynon/akash-deploy">Deploy UI</a>, it saved me so much time because I had to test many docker images to make this work.</p><p>It sets everything up for you and let’s you create a deployment in just a few steps.</p><p>To run it you need Docker installed and start the following command in a Terminal of your choice:</p><pre><strong>docker run -v</strong> <em>~/.akash-ui:/root/akash</em> -p 3000:3000 --rm -it tombeynon/akash-deploy</pre><p><strong>-v</strong> <em>~/.akash-ui:/root/akash </em>Means that the folder ~/.akash-ui on your local machine corresponds to /root/akash in your virtual docker machine. This is where your keys are stored. Make sure you use a valid path.</p><p>After this you can access the tool on <a href="http://localhost:3000/">http://localhost:3000</a></p><p>After Key setup and funding your address you can finally deploy the blog.</p><p>To do this I created a custom wordpress image with a ready server configuration. In my other Medium Story I used the “wordpress:latest” image with simple environment variables to connect to the DB. This causes massive performance issues.</p><p>Replace <strong>bold</strong> words with secure credentials.</p><pre>---<br>version: &quot;2.0&quot;</pre><pre>services:<br>  db:<br>    image: mysql/mysql-server:latest<br>    env:<br>      - MYSQL_ROOT_PASSWORD=<strong>ROOTPASSWORD</strong><br>      - MYSQL_DATABASE=<strong>DATABASE</strong><br>      - MYSQL_USER=<strong>USERNAME</strong><br>      - MYSQL_PASSWORD=<strong>PASSWORD</strong><br>    expose:<br>      - port: 3306<br>        to:<br>          - service: wordpress<br>  wordpress:<br>    depends-on:<br>      - db<br>    image: zjuuu/akash-wphns:latest<br>    env:<br>      - WORDPRESS_DB_HOST=db<br>      - WORDPRESS_DB_NAME=<strong>DATABASE</strong><br>      - WORDPRESS_DB_USER=<strong>USERNAME</strong><br>      - WORDPRESS_DB_PASSWORD=<strong>PASSWORD</strong><br>      - WORDPRESS_TABLE_PREFIX=wp_<br>    expose:<br>      - port: 80<br>        accept:<br>          - <strong>HNS-DOMAIN</strong><br>        to:<br>          - global: true<br>profiles:<br>  compute:<br>    wordpress:<br>      resources:<br>        cpu:<br>          units: 1<br>        memory:<br>          size: 2Gi<br>        storage:<br>          size: 2Gi<br>    db:<br>      resources:<br>        cpu:<br>          units: 1<br>        memory:<br>          size: 1Gi<br>        storage:<br>          size: 1Gi<br>  placement:<br>    westcoast:<br>      pricing:<br>        wordpress:<br>          denom: uakt<br>          amount: 5000<br>        db:<br>          denom: uakt<br>          amount: 5000<br>deployment:<br>  wordpress:<br>    westcoast:<br>      profile: wordpress<br>      count: 1<br>  db:<br>    westcoast:<br>      profile: db<br>      count: 1</pre><p>After deployment you have to check the bids and accept the offer of one Provider. After that you have to send the manifest.</p><p>Then your page will boot up and after a few minutes you can access the supplied <strong>*.ingress.*.mainnet.akashian.io </strong>url.</p><p>You will see the common WordPress installation page to set everything up.</p><h3>3. Set up Filebase to serve your static files</h3><p>Go to <a href="https://filebase.com/">https://filebase.com/</a> and create a Account. You receive 5GB Storage for free.</p><p>Now we create 2 buckets on the Storage Network “Sia” (Skynet):</p><p>First one will store all static files of the blog and will be <strong>public.</strong></p><p>The Second is <strong>private</strong> and stores all Mysql backups.</p><p>Now you have to go to the <a href="https://console.filebase.com/users/edit">Filebase Settings</a> and get your “<strong>S3 Api Access Key ID</strong>”, “<strong>S3 API Secret Access Key</strong>” and “<strong>S3 API Endpoint</strong>”.</p><p>Now go back to your WordPress page and install the plugin: <a href="https://de.wordpress.org/plugins/ilab-media-tools/"><strong>Media Cloud</strong></a><strong>.</strong> After activation it will walk you through a installation guide. On the second step you have to provide a S3 Bucket Provider. Click on “S3 Compatible”. It will ask you to insert the information from your Filebase settings page.</p><p>After this, all content you upload to WordPress is now uploaded to the bucket instead. Please note, that the possibility to upload the static generated JS, CSS files is a premium function of this plugin.</p><h3>4. Set up regularly Database Backups to Filebase</h3><p>To achieve this, I used the plugin <a href="https://de.wordpress.org/plugins/backwpup/">BackWPup</a> it let’s you easily create backups of the database and other WordPress files and uploads them to the Filebase S3 Bucket.</p><p>After activation you have to add a new Job. In this example i will only backup the Database, that’s why i only check “Database backup” in the first step.</p><p>If you keep scrolling you will see a option called “Job Destination”. Select “Backup to an S3 Service” .</p><p>Scroll back to top and setup the schedule and backup settings.</p><p>In the last step you have to configure the “S3 Service”.</p><p>To do this you have to add the <a href="https://docs.filebase.com/platform-overview/service-endpoints">Filebase Endpoint, Region</a>, your S3 API Access Key ID and S3 API Secret Access Key:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*JovOg0CuigTb4aRaqtxCqw.png" /></figure><p>It will show a red error “The s3 service does not have a version: .” at Bucket selection. Ignore this error and click “Save changes”.</p><p>After saving you can select a desired bucket in that field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5YjQBpa2dxrWcsihxH87xw.png" /></figure><h3>5. Set the DNS of your HNS Domain to redirect to your blog</h3><p>To do this you have to go to your <a href="https://www.namebase.io/dashboard">Namebase.io Dashboard</a> select the Domain and add a <strong>“CNAME”-Record</strong> with the value set to the AKASH-Link of your WordPress blog. Don’t forget to set the Name to your Subdomain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*7HZrNhIy2_sAJc1NWqb_hw.png" /></figure><h3>6. Change the links on your WordPress blog</h3><p>The last step is to change the links on your WordPress to redirect to your HNS Domain instead of akashian.io.</p><p>Navigate to the settings and change the values of “<strong>WordPress Address</strong>” and “<strong>Site Address</strong>” to your HNS-Domain.</p><p>Click on “Save Changes”. It will redirect you to your HNS-Domain, depending on the Browser/DNS Settings you use, you will not be able to access the page anymore.</p><p>Don’t know how to access HNS-Domains? <a href="https://www.namebase.io/blog/how-to-access-handshake-domains/">Read this Guide</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qr44GJ-7BlCzVbRhvqkScQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a5a13a6a827" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy a WordPress Blog on Akash Network]]></title>
            <link>https://medium.com/@zJ_/deploy-a-wordpress-blog-on-akash-network-d3f49a780e47?source=rss-2683a31acc10------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3f49a780e47</guid>
            <category><![CDATA[dcloud]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[akash]]></category>
            <category><![CDATA[cosmos]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Julius]]></dc:creator>
            <pubDate>Wed, 07 Apr 2021 17:13:08 GMT</pubDate>
            <atom:updated>2021-04-22T11:05:20.549Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zgcFcCe841N65y4ew5zF5Q.png" /></figure><p>This Guide will show you how to Deploy a WordPress Blog on Akash — the Unstoppable Cloud.</p><p>Requirements:</p><ul><li>At least 5 AKT</li><li>Akash-Cli (<a href="https://docs.akash.network/guides/install">Install &amp; Setup Guide</a>)</li><li>Akash-Cli Wallet (<a href="https://docs.akash.network/guides/wallet">Wallet Guide</a>)</li></ul><h3>1. Set the environment Variables</h3><p>To make it as simple as possible we start with setting up reusable Variables in the Terminal.</p><p>We need to set the following:</p><ul><li>KEY_NAME (The name for the Key in your Keyring)</li><li>AKASH_KEYRING_BACKEND (Associated to your KEY_NAME)</li><li>ACCOUNT_ADDRESS</li><li>AKASH_NET_BASE</li><li>AKASH_NET</li><li>AKASH_VERSION</li><li>AKASH_CHAIN_ID</li><li>AKASH_NODE</li></ul><p>Set the Variables with:</p><pre><strong>export</strong> KEY_NAME<strong>=</strong>examplekeyname</pre><p>If you are not sure if the Variable is already set you can check it’s value with:</p><pre><strong>echo</strong> <strong>$</strong>KEY_NAME</pre><p>This will return the Variable. In this case it will return “examplekeyname”. If the Variable is not set a blank line is returned.</p><p>Now that we set the KEY_NAME we have to set the Keyring backend. Allowed Values are “os”, “file” and “test”.</p><p>Use the Value associated with your KEY_NAME. In this example my KEY_NAME (Value: “examplekeyname”) uses the “file”-Backend.</p><pre><strong>export</strong> AKASH_KEYRING_BACKEND=file</pre><p>Now that these two Variables are set, you can <strong>simply copy &amp; paste</strong> the following commands.</p><pre><strong>export</strong> ACCOUNT_ADDRESS=&quot;$(akash keys show $KEY_NAME -a)&quot;<br><strong>export </strong>AKASH_NET_BASE=<a href="https://raw.githubusercontent.com/ovrclk/net/master">https://raw.githubusercontent.com/ovrclk/net/master</a><br><strong>export </strong>AKASH_NET=&quot;$AKASH_NET_BASE/mainnet&quot;<br><strong>export </strong>AKASH_VERSION=&quot;$(curl -s &quot;$AKASH_NET/version.txt&quot;)&quot;<br><strong>export </strong>AKASH_CHAIN_ID=&quot;$(curl -s &quot;$AKASH_NET/chain-id.txt&quot;)&quot;<br><strong>export </strong>AKASH_NODE=&quot;$(curl -s &quot;$AKASH_NET/rpc-nodes.txt&quot; | shuf -n 1)&quot;</pre><h3>2. Check if you are using the correct Version &amp; Chain ID</h3><pre><strong>echo $AKASH_CHAIN_ID</strong> $(akash version)</pre><p>The Chain ID should be “akashnet-2” and the version <strong>≥ </strong>“v0.12.0-rc1”</p><pre>akashnet-2 v0.12.0-rc1</pre><h3>3. Create Certificate</h3><p>If this is your first deployment on Akash you will have to create a Certificate on the Chain to identify yourself to providers.</p><pre><strong>akash tx cert create client </strong>--chain-id $AKASH_CHAIN_ID --keyring-backend <strong>$KEYRING_BACKEND</strong> --from <strong>$KEY_NAME</strong> --node <strong>$AKASH_NODE</strong> --fees 5000uakt</pre><h3>4. Create the deploy.yml File</h3><p>Create deploy.yml file with an editor of your choice and paste the following text.</p><p>Please edit the <strong>bold </strong>text to something safe. Make sure that the first <strong>DBNAME#1,(…) </strong>matches the second <strong>DBNAME#1,(…) </strong>otherwise WordPress will be unable to connect to the Database.</p><p>deploy.yml:</p><pre>---<br>version: &quot;2.0&quot;</pre><pre>services:<br>  db:<br>    image: mysql/mysql-server:latest<br>    env:<br>      - MYSQL_ROOT_PASSWORD=<strong>PASSWORD#1</strong><br>      - MYSQL_DATABASE=<strong>DBNAME#1</strong><br>      - MYSQL_USER=<strong>DBUSER#1</strong><br>      - MYSQL_PASSWORD=<strong>PASSWORD#2</strong><br>    expose:<br>      - port: 3306<br>        to:<br>          - service: wordpress<br>  wordpress:<br>    depends-on:<br>      - db<br>    image: zjuuu/akash-wordpress:latest<br>    env:<br>      - WORDPRESS_DB_HOST=db<br>      - WORDPRESS_DB_NAME=<strong>DBNAME#1</strong><br>      - WORDPRESS_DB_USER=<strong>DBUSER#1</strong><br>      - WORDPRESS_DB_PASSWORD=<strong>PASSWORD#2</strong><br>      - WORDPRESS_TABLE_PREFIX=wp_<br>    expose:<br>      - port: 80<br>        accept:<br>          - <strong>YOUR-DOMAIN.com</strong><br>        to:<br>          - global: true<br>      - port: 443<br>        to:<br>          - global: true<br>profiles:<br>  compute:<br>    wordpress:<br>      resources:<br>        cpu:<br>          units: 1<br>        memory:<br>          size: 1Gi<br>        storage:<br>          size: 2Gi<br>    db:<br>      resources:<br>        cpu:<br>          units: 0.5<br>        memory:<br>          size: 512Mi<br>        storage:<br>          size: 512Mi<br>  placement:<br>    westcoast:<br>      pricing:<br>        wordpress:<br>          denom: uakt<br>          amount: 5000<br>        db:<br>          denom: uakt<br>          amount: 5000<br>deployment:<br>  wordpress:<br>    westcoast:<br>      profile: wordpress<br>      count: 1<br>  db:<br>    westcoast:<br>      profile: db<br>      count: 1</pre><p>If you want to use a Domain instead of the default Akash Link (*.ingress.sjc1p0.mainnet.akashian.io) you have to insert your Domain in <strong>YOUR-DOMAIN.com. </strong>Otherwise you have to <strong>delete:</strong></p><pre>accept:<br>          - <strong>YOUR-DOMAIN.com</strong></pre><p>Now that the deploy.yml is ready we can start to deploy.</p><h3>5. Create a Deployment</h3><p>Make sure your Terminal is in the same directory as your deploy.yml-File.</p><pre><strong>akash tx deployment create</strong> deploy.yml --from <strong>$KEY_NAME</strong> --node <strong>$AKASH_NODE </strong>--chain-id <strong>$AKASH_CHAIN_ID</strong> --fees 5000uakt -y</pre><p>After confirming the transaction you will see a response similar to this:</p><pre>{&quot;height&quot;:&quot;251787&quot;,&quot;txhash&quot;:&quot;2734E54A092365E84F7B538F8024CB695BC93067C2ECACBD6C153469DDDDDDDD&quot;,&quot;codespace&quot;:&quot;&quot;,&quot;code&quot;:0,&quot;data&quot;:&quot;0A0E0A0C6372656174652D6C65617365&quot;,&quot;raw_log&quot;:&quot;[{\&quot;events\&quot;:[{\&quot;type\&quot;:\&quot;akash.v1\&quot;,\&quot;attributes\&quot;:[{\&quot;key\&quot;:\&quot;module\&quot;,\&quot;value\&quot;:\&quot;market\&quot;},{\&quot;key\&quot;:\&quot;action\&quot;,\&quot;value\&quot;:\&quot;lease-created\&quot;},{\&quot;key\&quot;:\&quot;owner\&quot;,\&quot;value\&quot;:\&quot;akash1ytvu64v3rp5q7y3fueukmfashcvu9wxxxxxxxx\&quot;},{\&quot;key\&quot;:\&quot;<strong>dseq\&quot;,\&quot;value\&quot;:\&quot;251700\&quot;}</strong>,{\&quot;key\&quot;:\<strong>&quot;gseq\&quot;,\&quot;value\&quot;:\&quot;1\&quot;}</strong>,{\&quot;key\&quot;:\&quot;<strong>oseq\&quot;,\&quot;value\&quot;:\&quot;1\&quot;}</strong>,{\&quot;key\&quot;:\&quot;provider\&quot;,\&quot;value\&quot;:\&quot;akash10cl5rm0cqnpj45knzakpa4cnvn5amzwaaaaaaa\&quot;},{\&quot;key\&quot;:\&quot;price-denom\&quot;,\&quot;value\&quot;:\&quot;uakt\&quot;},{\&quot;key\&quot;:\&quot;price-amount\&quot;,\&quot;value\&quot;:\&quot;4\&quot;}]},</pre><p>export <strong>DSEQ</strong>, <strong>QSEQ </strong>and <strong>OSEQ </strong>as new Variables.</p><pre><strong>export </strong>DSEQ=251700<br><strong>export</strong> OSEQ=1<br><strong>export</strong> QSEQ=1</pre><h3>6. Select Provider</h3><p>Now your Lease-Request is on the Market and Providers bid on it.</p><p>You can see all Bids for your Lease with this command:</p><pre><strong>akash query market bid list</strong> --owner=<strong>$ACCOUNT_ADDRESS</strong> --node <strong>$AKASH_NODE</strong> --dseq <strong>$DSEQ</strong></pre><p>You will see something like this:</p><pre>bids:<br>- bid:<br>    bid_id:<br>      <strong>dseq</strong>: &quot;251700&quot;<br>      <strong>gseq</strong>: 1<br>      <strong>oseq</strong>: 1<br>      owner: akash1ytvu64v3rp5q7y3fueukmfashcvu9wxxxxxxxx<br>      <strong>provider: akash10cl5rm0cqnpj45knzakpa4cnvn5amzwaaaaaaa</strong><br>    created_at: &quot;251700&quot;<br>    price:<br>      <strong>amount: &quot;4&quot;</strong><br>      denom: uakt<br>    state: open<br>  escrow_account:<br>    balance:<br>      amount: &quot;50000000&quot;<br>      denom: uakt<br>    id:<br>      scope: bid<br>      xid: akash1ytvu64v3rp5q7y3fueukmfashcvu9wxxxxxxxx/251700/1/1/akash10cl5rm0cqnpj45knzakpa4cnvn5amzwaaaaaaa<br>    owner: akash10cl5rm0cqnpj45knzakpa4cnvn5amzwaaaaaaa<br>    settled_at: &quot;251700&quot;<br>    state: open<br>    transferred:<br>      amount: &quot;0&quot;<br>      denom: uakt</pre><p>In this Example i choose the provider: akash10cl5rm0cqnpj45knzakpa4cnvn5amzwaaaaaaa</p><pre><strong>export </strong>PROVIDER=akash10cl5rm0cqnpj45knzakpa4cnvn5amzwaaaaaaa</pre><p><em>amount: “4” </em>means it’s using 4<em> uAKT</em> or <em>0.000004 AKT</em> per block (1 Block = ~7 seconds) to execute the container.</p><h3>7. Now you have to create the Lease with the Provider</h3><p>Make sure you have at least 5 AKT in your Wallet because 5 AKT will be transferred into an Escrow Wallet to pay the leasing. If you close the deployment the remaining AKT will get returned.</p><pre><strong>akash tx market lease create</strong> --chain-id <strong>$AKASH_CHAIN_ID</strong> --node <strong>$AKASH_NODE</strong> --owner <strong>$ACCOUNT_ADDRESS</strong> --dseq <strong>$DSEQ</strong> --gseq <strong>$GSEQ</strong> --oseq <strong>$OSEQ</strong> --provider $PROVIDER --from <strong>$KEY_NAME</strong> --fees 5000uakt</pre><h3>8. Upload the Manifest</h3><pre><strong>akash provider send-manifest</strong> deploy.yml --node <strong>$AKASH_NODE</strong> --dseq $DSEQ --provider <strong>$PROVIDER</strong> --home ~/.akash --from <strong>$KEY_NAME</strong></pre><p>The manifest is now being processed.</p><h3>9. Check for the supplied Akash-Link</h3><pre><strong>akash provider lease-status</strong> --node <strong>$AKASH_NODE</strong> --home ~/.akash --dseq <strong>$DSEQ</strong> --from <strong>$KEY_NAME</strong> --provider <strong>$PROVIDER</strong></pre><p>You will see a similar Response:</p><pre>{</pre><pre>&quot;services&quot;: {</pre><pre>&quot;web&quot;: {</pre><pre>&quot;name&quot;: &quot;web&quot;,</pre><pre>&quot;available&quot;: 1,</pre><pre>&quot;total&quot;: 1,</pre><pre>&quot;uris&quot;: [</pre><pre>&quot;<strong>rga3h05jetf9h3p6dbk62m19ck.ingress.ewr1p0.mainnet.akashian.io</strong>&quot;</pre><pre>],</pre><pre>&quot;observed_generation&quot;: 1,</pre><pre>&quot;replicas&quot;: 1,</pre><pre>&quot;updated_replicas&quot;: 1,</pre><pre>&quot;ready_replicas&quot;: 1,</pre><pre>&quot;available_replicas&quot;: 1</pre><pre>}</pre><pre>}</pre><p>In this case: <strong>rga3h05jetf9h3p6dbk62m19ck.ingress.ewr1p0.mainnet.akashian.io </strong>is your Link to access the Wordpress Page.</p><p>Please Note: It <strong>takes a few minutes for the MySql Server</strong> to start. If the Error “<strong>Error establishing a database connection</strong>” still exists after 10 minutes you have to check the logs with the following command.</p><pre><strong>akash provider lease-logs</strong> --dseq=<strong>$DSEQ</strong> --from=<strong>$ACCOUNT_ADDRESS</strong> --provider=<strong>$PROVIDER</strong></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3f49a780e47" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>