<?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 Rizky Ariestiyansyah on Medium]]></title>
        <description><![CDATA[Stories by Rizky Ariestiyansyah on Medium]]></description>
        <link>https://medium.com/@ariestiyansyah?source=rss-86f722b0540d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*w2w3UhtqUX0zlOKUmms-iQ.jpeg</url>
            <title>Stories by Rizky Ariestiyansyah on Medium</title>
            <link>https://medium.com/@ariestiyansyah?source=rss-86f722b0540d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 09:45:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ariestiyansyah/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[Stories: Rainer Heufers — Center for Indonesian Policy Studies (CIPS)]]></title>
            <link>https://medium.com/valutac/stories-rainer-heufers-center-for-indonesian-policy-studies-cips-af63769eabb5?source=rss-86f722b0540d------2</link>
            <guid isPermaLink="false">https://medium.com/p/af63769eabb5</guid>
            <category><![CDATA[django]]></category>
            <category><![CDATA[elearning-development]]></category>
            <category><![CDATA[open-edx]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[mooc]]></category>
            <dc:creator><![CDATA[Rizky Ariestiyansyah]]></dc:creator>
            <pubDate>Sat, 27 Jan 2018 15:00:23 GMT</pubDate>
            <atom:updated>2018-01-27T15:05:57.672Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*05kIlzYyWRChoY0OWzor2A.png" /><figcaption>Banner from akademi-cips</figcaption></figure><p>Mr. Rainer and Team from <strong>Center for Indonesian Policy Studies (CIPS) </strong>used our Django/Python Development Services to build E-Learning platform (MOOC), read his story:</p><blockquote>The Valutac team were very helpful in getting our first MOOC platform set up. They are supportive in adapting to our needs, and they enabled us to build a great MOOC platform! — Rainer Heufers, Executive Director of Center for Indonesian Policy Studies (CIPS)</blockquote><h4><strong>About</strong></h4><p>Akademi-cips.org is an Open Massive Online Course developed by the Center for Indonesian Policy Studies (CIPS). The CIPS Academy is a platform that provides courses to provide access to quality and affordable education around public policy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af63769eabb5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/valutac/stories-rainer-heufers-center-for-indonesian-policy-studies-cips-af63769eabb5">Stories: Rainer Heufers — Center for Indonesian Policy Studies (CIPS)</a> was originally published in <a href="https://medium.com/valutac">Valutac</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup Caddy with PHP on Ubuntu]]></title>
            <link>https://medium.com/valutac/setup-caddy-with-php-on-ubuntu-89143dda8722?source=rss-86f722b0540d------2</link>
            <guid isPermaLink="false">https://medium.com/p/89143dda8722</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[valutac]]></category>
            <category><![CDATA[caddy]]></category>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Rizky Ariestiyansyah]]></dc:creator>
            <pubDate>Tue, 06 Jun 2017 19:53:40 GMT</pubDate>
            <atom:updated>2017-06-06T19:53:40.292Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o0SyqRPTmsua1iW3AvPV2A.png" /></figure><h4>Introduction</h4><p>Caddy is a very promising webserver (written in Go) that allows HTTP/2. It is a full-featured web server that includes the ability to enable HTTPS automatically. This allows for web server creation with high flexibility and low overhead. Creator claims caddy to be designed for human and it is probably the only of its kind. The purpose of Caddy is to streamline an authentic web development, deployment, and hosting workflow so that anyone can host their own web sites without requiring special technical knowledge. If you are designer, blogger and developer prefer to have a simple yet webserver with HTTP/2 support by default, Caddy is definitely worth checking out.</p><h4>Installation</h4><p>You can run auto Caddy installation instead of download the file archive by running the following code in your terminal.</p><pre>curl https://getcaddy.com | bash</pre><p>The command above will install caddy to /usr/local/bin/caddy</p><h4>System Setup</h4><p>Allow caddy to use standard internal network post</p><pre>sudo setcap cap_net_bind_service=+ep /usr/local/bin/caddy</pre><h4>PHP Setup</h4><p>Install PHP-fpm by running the following command:</p><p>PHP5</p><pre>sudo apt-get install php5-fpm php5-cli curl</pre><p>PHP7</p><pre>sudo apt-get install php7.0-fpm php7.0-cli curl</pre><p>Site Configuration</p><p>Create web server root directory to store all of your webpages like .php, .html, ect.</p><pre>sudo mkdir -p /opt/www<br>sudo chown -R www-data:www-data</pre><h4>Caddy Configuration</h4><p>Create the directory we’ll be using to store Caddyfile and ssl, give user perms to write to it:</p><pre>sudo mkdir /etc/caddy<br>sudo chown -R root:www-data /etc/caddy<br>sudo mkdir /etc/ssl/caddy<br>sudo chown -R www-data:root /etc/ssl/caddy<br>chmod 0770 /etc/ssl/caddy</pre><p>Create Caddyfile which the main configuration file of Caddy.</p><pre>sudo vim /etc/caddy/Caddyfile</pre><p>Put the following code:</p><pre>yourdomain.com {<br>root /opt/www<br>tls your@yourdomain.com.com<br>}</pre><ul><li>root /opt/www : point the web server root directory to /opt/www</li><li>tls your@yourdomain.com : configures HTTPS connections</li></ul><p>To configure php settings with more granularity, you can use the fastcgi directive.</p><pre>fastcgi / /var/run/php/php7.0-fpm.sock {<br>	ext 	.php<br>	split	.php<br>	index	index.php<br>}</pre><ul><li>ext : if requested file has the .php extension use fastcgi proxy</li><li>split : To store anything after .php in the PATH_INFO CGI variable</li><li>index: To check for index.php if no file is specified in the URL</li></ul><p>Note: Use the following socket path for PHP5</p><pre>/var/run/php5-fpm.sock</pre><h4>Server Configuration</h4><p>Now we create a systemd configuration file /etc/systemd/system/caddy.service, which looks like this:</p><pre>[Unit]<br>Description=Caddy HTTP/2 web server<br>Documentation=https://caddyserver.com/docs<br>After=network-online.target<br>Wants=network-online.target systemd-networkd-wait-online.service</pre><pre>[Service]<br>Restart=on-failure</pre><pre>User=www-data<br>Group=www-data</pre><pre>Environment=HOME=/etc/ssl/caddy</pre><pre>ExecStart=/usr/local/bin/caddy -log stdout -agree=true -conf=/etc/caddy/Caddyfile -root=/var/tmp<br>ExecReload=/bin/kill -USR1 $MAINPID</pre><pre>LimitNOFILE=4096<br>LimitNPROC=64</pre><pre>PrivateTmp=true<br>PrivateDevices=true<br>ProtectHome=true<br>ProtectSystem=full<br>ReadWriteDirectories=/etc/ssl/caddy</pre><pre>CapabilityBoundingSet=CAP_NET_BIND_SERVICE<br>AmbientCapabilities=CAP_NET_BIND_SERVICE<br>NoNewPrivileges=true</pre><pre>[Install]<br>WantedBy=multi-user.target</pre><h4>Testing PHP</h4><p>With a Caddy web server configured and the PHP packages installed, we should be able to verify that PHP is up and running. Begin by checking the installed version of PHP at the command line:</p><pre>$ php -v<br>PHP 7.0.8-0ubuntu0.16.04.2 (cli) ( NTS )<br>Copyright (c) 1997-2016 The PHP Group<br>Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies<br>	with Zend OPcache v7.0.8-0ubuntu0.16.04.2, Copyright (c) 1999-2016, by Zend Technologies</pre><p>You can also create a test file in the web server root directory, which is /opt/www</p><p>Using Vim, create the file called into.php in the web server root directory</p><pre>sudo vim /opt/www/tes.php</pre><p>Paste the following code into tes.php</p><pre>&lt;?php<br>phpinfo();<br>?&gt;</pre><p>Exit and save tes.php from your editor. Now, load the following address in your browser:</p><pre><a href="https://yourdomain.com/tes.php">https://yourdomain.com/tes.php</a></pre><p>You should see PHP version and configuration info for PHP. Once you’ve double-checked this, it’s safest to to delete testing file.</p><pre>sudo rm -r /opt/www/tes.php</pre><h4>CONCLUSION</h4><p>Now, you have working Caddy web server with PHP feature.</p><p>Source: <a href="http://oonlab.com/code/2016/08/12/setup-caddy-on-ubuntu-to-work-with-php/">http://oonlab.com/code/2016/08/12/setup-caddy-on-ubuntu-to-work-with-php/</a> — Rizky’s blog</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89143dda8722" width="1" height="1" alt=""><hr><p><a href="https://medium.com/valutac/setup-caddy-with-php-on-ubuntu-89143dda8722">Setup Caddy with PHP on Ubuntu</a> was originally published in <a href="https://medium.com/valutac">Valutac</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stories: Kevin Zhang — CEO at CARGO ERP PTE LTD]]></title>
            <link>https://medium.com/valutac/stories-kevin-zhang-ceo-at-cargo-erp-pte-ltd-64d72a9fcdf8?source=rss-86f722b0540d------2</link>
            <guid isPermaLink="false">https://medium.com/p/64d72a9fcdf8</guid>
            <category><![CDATA[advisor]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[recruitment]]></category>
            <dc:creator><![CDATA[Rizky Ariestiyansyah]]></dc:creator>
            <pubDate>Tue, 06 Jun 2017 19:44:20 GMT</pubDate>
            <atom:updated>2018-01-27T15:10:34.077Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ql8YZXW6a1KumcAWDhcoLQ.png" /><figcaption>Cargo photo</figcaption></figure><blockquote>I have used Rizky’s Services at on recruitment and technical consulting. Rizky and his team are extremely knowledgeable and get the best result. He is always flexible, is also very fast to respond to even our smallest request or question. I HIGHLY recommend his Services!.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64d72a9fcdf8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/valutac/stories-kevin-zhang-ceo-at-cargo-erp-pte-ltd-64d72a9fcdf8">Stories: Kevin Zhang — CEO at CARGO ERP PTE LTD</a> was originally published in <a href="https://medium.com/valutac">Valutac</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stories: Franky Espehana — Director of New Horizons CLC Singapore]]></title>
            <link>https://medium.com/valutac/testimonials-franky-espehana-director-of-new-horizons-clc-singapore-825be318811?source=rss-86f722b0540d------2</link>
            <guid isPermaLink="false">https://medium.com/p/825be318811</guid>
            <category><![CDATA[elearning-development]]></category>
            <category><![CDATA[mooc]]></category>
            <category><![CDATA[open-edx]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Rizky Ariestiyansyah]]></dc:creator>
            <pubDate>Tue, 06 Jun 2017 19:42:00 GMT</pubDate>
            <atom:updated>2018-01-27T15:08:15.359Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edZ4TrJhkX10GfdgHJfRDA.png" /><figcaption>New Horizons Singapore</figcaption></figure><p>Mr. Franky from New Horizons CLC Singapore used our Django/Python Development Services, read his story:</p><blockquote>I have had the opportunity to know Ariestiyansyah Rizky through a project to set up an online learning portal based on OPENedX for New Horizons Singapore. OPENedX is an opensource online platform to host Massive Open Online Courses (MOOCs) as well as smaller classes and training modules.<br>The project was completed successfully by Rizky due to his deep understanding and experience about OPENedX and his highly technical competencies of the underlying infrastructures and software.</blockquote><blockquote>He delivered the project professionally throughout the entire project cycle. He has excellent communication skills and yet he is humble and friendly.</blockquote><blockquote>I look forward to exploring more new projects with Rizky.</blockquote><h4>About</h4><p>New Horizons Singapore started its operations in 1997 and has since become the premier IT training center islandwide. With a convenient location in Singapore, we provide the best solutions to fit learning styles, budgets and schedules, with a variety of IT and business applications from instructor-led classrooms to flexible schedule methodologies.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=825be318811" width="1" height="1" alt=""><hr><p><a href="https://medium.com/valutac/testimonials-franky-espehana-director-of-new-horizons-clc-singapore-825be318811">Stories: Franky Espehana — Director of New Horizons CLC Singapore</a> was originally published in <a href="https://medium.com/valutac">Valutac</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open edX Ficus Instructor Page Error]]></title>
            <link>https://medium.com/valutac/open-edx-ficus-instructor-page-error-bcc171acb951?source=rss-86f722b0540d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcc171acb951</guid>
            <category><![CDATA[open-edx]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Rizky Ariestiyansyah]]></dc:creator>
            <pubDate>Tue, 06 Jun 2017 17:51:24 GMT</pubDate>
            <atom:updated>2017-06-06T18:03:36.151Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*0q-Z99TKh-Zdp6zUxUWbpA.png" /></figure><p><strong>Issue?</strong></p><p>This is what we found on edx.log</p><pre>OperationalError: (1045, &quot;Access denied for user &#39;edxapp_replica001&#39;@&#39;localhost&#39; (using password: YES)&quot;)<br>Mar 23 05:39:18 ip-172-31-6-181 [service_variant=lms][request_cache][env:sandbox] WARNING [ip-172-31-6-181  30422] [__init__.py:66] - Could not retrieve the current request. A stub request will be created instead using settings.SITE_NA<br>ME</pre><p>In this case we can’t access instructor tab on Open edX Learning Management System, the problem is user edxapp_replica001 doesn’t exist. Here’s list of MySQL use on ficus installation</p><pre>mysql&gt; SELECT User FROM mysql.user;<br>+------------------+<br>| User             |<br>+------------------+<br>| root             |<br>| root             |<br>| root             |<br>|                  |<br>| admin            |<br>| api001           |<br>| debian-sys-maint |<br>| ecomm001         |<br>| edxapp001        |<br>| edxapp_cmsh001   |<br>| migrate          |<br>| programs001      |<br>| read_only        |<br>| reports001       |<br>| root             |<br>| xqueue001        |<br>+------------------+<br>16 rows in set (0.00 sec)</pre><h4>Solution</h4><p>So, What’s the problem in this case? if you familiar with the new Open edX ficus.1 installation and choose to randomized password by running command below, the script will set default <strong>EDXAPP_MYSQL_REPLICA_USER</strong> on asible to edxapp_replica001 which will cause an error on MySQL 5.7.8 because it’s greater than 16 character</p><pre>wget <a href="https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/generate-passwords.sh">https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/generate-passwords.sh</a> -O - | bash</pre><p>If you found this problem after installation of ficus.1 you can change lms.auth.json and cms.auth.json database configuration. We can use edxapp001 user for read_replica database instead instead of edxapp_replica001.</p><pre>DATABASES&quot;: {<br>        &quot;default&quot;: {<br>            &quot;ATOMIC_REQUESTS&quot;: true,<br>            &quot;ENGINE&quot;: &quot;django.db.backends.mysql&quot;,<br>            &quot;HOST&quot;: &quot;localhost&quot;,<br>            &quot;NAME&quot;: &quot;edxapp&quot;,<br>            &quot;PASSWORD&quot;: &quot;yourpassword&quot;,<br>            &quot;PORT&quot;: &quot;3306&quot;,<br>            &quot;USER&quot;: &quot;edxapp001&quot;<br>        },<br>        &quot;read_replica&quot;: {<br>            &quot;ENGINE&quot;: &quot;django.db.backends.mysql&quot;,<br>            &quot;HOST&quot;: &quot;localhost&quot;,<br>            &quot;NAME&quot;: &quot;edxapp&quot;,<br>            &quot;PASSWORD&quot;: &quot;yourpassword&quot;,<br>            &quot;PORT&quot;: &quot;3306&quot;,<br>            &quot;USER&quot;: &quot;edxapp001&quot;<br>        },<br>        &quot;student_module_history&quot;: {<br>            &quot;ENGINE&quot;: &quot;django.db.backends.mysql&quot;,<br>            &quot;HOST&quot;: &quot;localhost&quot;,<br>            &quot;NAME&quot;: &quot;edxapp_csmh&quot;,<br>            &quot;PASSWORD&quot;: &quot;randomhash&quot;,<br>            &quot;PORT&quot;: &quot;3306&quot;,<br>            &quot;USER&quot;: &quot;edxapp_cmsh001&quot;<br>        }<br>    },</pre><p>Now restart the edxapp to make sure everything reloaded and the error on instructor page should be clearfix</p><pre>$ sudo /edx/bin/supervisorctl restart edxapp:</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcc171acb951" width="1" height="1" alt=""><hr><p><a href="https://medium.com/valutac/open-edx-ficus-instructor-page-error-bcc171acb951">Open edX Ficus Instructor Page Error</a> was originally published in <a href="https://medium.com/valutac">Valutac</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>