Setting up Magento Local Development in openSUSE


Finally, I managed to install Magento in my local environment of openSUSE. It’s quite tricky to get it up and running. It’s mainly due to filesystem permissions issue, as well as Apache virtual host configuration. I don’t have many experience with Apache, so it took more time to configure the virtual host. Because I prefer LEMP stack, and since a couple of months ago, I use Docker for local development environment instead.

Actually, I have successfully installed it in Fedora as well. But, I delete the installation due to the low disk capacity. The overall steps I did to eventually get Magento served in my localhost are:

  1. Downloading Magento from its official website, and I had to log in first, I downloaded the latest version (2.3)
  2. Installing the prerequisites as described in Magento dev docs, I got a little trouble to fulfill the minimum requirements, i.e. PHP version and extensions. openSUSE Tumbleweed has PHP v 7.2 in the main repo, but Magento didn’t support this version, so I used other repo to install v 7.1. But the issue hasn’t stopped, as that repo didn’t have php-mcrypt package. So I had to download the RPM from somewhere (likely which had the nearly compatible version.
  3. Configuring Apache in localhost, where I struggled to get the right configuration
  4. Extracting the Magento tarball and setting filesystem permissions. Actually this step was the hardest phase, although I had followed the instruction from official Magento website.
  5. Running the installation step. Since I didn’t get the right configuration of filesystem permissions, so that the front end installer didn’t show up, I used the Magento command line installer module instead. It’s quite tricky as well, actually. But it worked.
  6. Setting up PHP session directory permission manually. As I put the Magento source files in my home partition, and Apache run as wwwrun user, it cannot access the PHP session directory to write a new session. Actually Magento can make use of other session handler system like memcached and redis, but I didn’t find the corresponding packages in the custom zypper repo I mentioned before.

This is the final result of the installation of Magento in my openSUSE.

Magento dashboard


my command line history


Installing openSUSE Krypton: an always-updated KDE distro

opensuse grub boot options

I think this is the most reasonable decision for me to install openSUSE (again in another device) in triple-boot with Fedora and Windows. Since I cannot abandon Fedora just like that, for it has created so many awesome memories. LOL, I’m joking. Actually I still have an on-going work in Fedora that I have no intention to move it to openSUSE. Besides, the LVM partition contents of Fedora where my data resides couldn’t be displayed by YaST when I installed openSUSE with Krypton Live ISO. So, I couldn’t just replace the Fedora root partition with openSUSE and then mount the separated home partition.


The most time-consuming process is partitioning. I had to decide which partition should I “sacrifice” for openSUSE. I didn’t want resize existing partition and created one from it. So, the other option was to replace Fedora, but it’s kind of hard for me. Fortunately, there was a not-so-important NTFS partition and a “Windows recovery” partition that were fairly enough to use. So I came up with deleting both partition for the installation.

I was using Krypton live ISO which only 1 GB in size, unlike the official Tumbleweed ISO that has 4++ GB size. I thought that in such size, it would install only the essential software. But actually, since YaST asked for internet connection, it downloaded updates up to 4 GB! And during the download process, WiFi disconnected, which stopped the process.

Screenshot_20180218_032642After reconnecting a few times, eventually the download process continued. But, there were still some problems. There were some packages that failed to download. I was sure that during the installation, there were updates in the repo as well. As Krypton is always-updated KDE build, which means every single Git push, there will be updates available. So I skipped a few packages, and the installation could be finished. But, after I restarted the laptop and booted up to openSUSE, I got IceWM desktop instead. Yeah, it’s because the essential plasma-desktop and plasma-session were failed to download, or has been updated then.

Fortunately, YaST software installer recorded what missed out from the installation process. It suggested me to download the missing packages as soon as I open it for the first time. So after finishing the installation, I relogin, and finally KDE was here. Frankly, the desktop feels smoother than my Fedora. I wonder what causes it. Whether it’s relatively new installation or my Fedora KDE has been bloated with background programs. Let’s see if openSUSE will still like this until some time onward. 🙂

Mendeley Desktop: Linux Version

In the first day of this semester, a lecturer showed us a useful app: Mendeley. The name reminded me to something. I just remembered about library collection numbering system. But no, it’s Dewey system actually (I googled it just now). Or perhaps it’s more similar to a name of something about chemical. Umm… Mendeleev’s periodic table! Forget it! There’s nothing to do with chemical actually. It’s just an unrequited love of me. 😀

Mendeley is a reference manager and an academic social network. My lecturer showed us how he uses it to monitor the progress of his related researches over the world. It’s about economics. He also uses it as a citation manager for his papers. He showed us how easy to generate the citation from certain paper for bibliography, with just copy it from its menu and then we just need to paste it to word processing app, like MS Word.

Mendeley can be downloaded from its official page in this link. It supports all major operating systems, including Linux. For Linux itself, there are two options: for Ubuntu family and for “generic Linux”, that means a pre-compiled binary for all Linux distro variants. As I use Fedora, I chose the latter. I just had to extract the tarball, and then executed the file ./bin/mendeleydesktop either from terminal or double click the file. We need to register a free account on the Mendeley website to use this app, anyway.

mendeley linux desktop

Hey, it’s Qt-based!

I was interested to give it a try, as I saw another option to generate the citation format other than Formatted citation. They’re LaTeX custom command and BibTex entry formats. Actually I haven’t needed it yet, after all.

mendeley on fedora

Mendeley search results and copy citation format

I tried the Bibtex entry format option, as you can see from above screenshot. Then I created the .bib file manually from copied text. And then I appended the citation to the LaTeX file. Just like below screenshot.

mendeley citation bibtex

Bibtex citation format of Mendeley (note that it’s just an example text)

It’s so convenient to organized the citation using Mendeley. I start imagining to be a researcher and write some useful papers by utilizing it. 😀



Get notified when Woocommerce payment received

I’ll show you how to get notification when there’s a new completed payment in your Woocommerce website. You’ll be using Slack for this, since it’s free and you can get the notification right away on your phone if you install the app.

First thing first, you need to install some WordPress plugins and create a Slack channel. The plugins are Slack (unofficial) and Slack Woocommerce (kind of extension of the first one). Once you activate those plugins, you have a setting page for adding new Slack integration. But before that, you need to create a custom integration in your Slack channel.

Once you create your workspace and login to it, add an app from <your-workspace> Search for “Incoming Webhook”, and click Add Configuration button. You may need creating a new channel instead of #general for this Custom integration.

slack incoming webhook

Follow along the step to create a webhook, and you’ll get a hook URL. Copy that URL to paste it to the Slack Woocommerce configuration on your website. See below: (the URL format may differs from what it suggested)

woocommerce notification with slack

You can test that configuration by clicking test button below. And if you get a new message in your Slack channel, then the setup is done. To get the push notification on your phone, install Slack app and login to it.

Don’t forget to tick the option “When a payment in Woocommerce marked as complete” in the Events to Notify section. Note that the event it handles is ​woocommerce_order_status_completed that means you may need a kind of automatic payment confirmation. For instance if you have only bank transfer payment option.


Facebook changes its news feed algorithm, or anything else?

You may have heard about the change of Facebook’s news feed algorithm. And then you may ask, “why should I care about it?” Well, yes, that’s a good question, though. From the user perspective, I lately tried logging in to the platform, and actually there was nothing change, compared with last couple of weeks ago. There were still less updates from “real” people, instead of from groups and pages. And of course the promoted posts still exist. Or is it just the algorithm that hasn’t yet implemented to all their servers around the globe?pexels-photo-267482.jpeg

I don’t know, but let’s come back to your question, why it matters to you if they change their sort of algorithm to show you which updates you worth reading. From what I read on Medium here, there are 3 main reason behind the change of algorithm:

  1. Priority of personal over the public.
  2. Priority of commenting on likes and views.
  3. Priority of quality over quantity.

So basically Facebook want to prioritize the user posts rather than other else, like ads; and they want to retain the users. As I read somewhere in the web that recently Facebook users spent less time on the platform in the last quarter of last year.

The real uproar is actually would occured in the marketing world (read the first link above). With the decrease of ads display in the feed, it certainly would make marketing in this platform quite challenging. Just let’s see the changes.


Herzlich willkommen, OpenSUSE!


Wait…! That desktop looks familiar. Have I ever met it before? Umm, maybe.

I suddenly remembered about OpenSUSE, which I once wanted to give it a try, as I wrote it somewhere in my other blog. And actually when I checked the post again, it was one and a half years ago. Then recently, I got encouraged (once again 😀 ) by kang Cip to try OpenSUSE out. And yes, I ended up installing it into my PC, eventually. Note that the screenshot above is just a live session. And here is the real installation result:

boot options screen

Dual boot options of OpenSUSE Leap and Windows

From the time I posted about my desire, it means that it took a quite long time for me to eventually install OpenSUSE. That’s the first time I played around with the YaST installer of this chameleon-logo Linux distro.

Continue reading “Herzlich willkommen, OpenSUSE!”


Philosophy of Kanji — catatan mama nisa

Yeaay! Postingan kedua di bulan januari! Terharu. ;’) Sebenernya udah lama nonton video ini. Ga sengaja liat di newsfeed fb. Tapi pas nonton lagi sekarang, masih terharu juga. ;’) Jadi, ini acara tv ceritanya si Gorugo artis komedian jepang lagi ngasih kuliah kanji ke anak2 sekolah. Kanji pertama yang dia bahas adalah kanji 夢 […]

via Filosofi Kanji — catatan mama nisa

This is a reblog from one of my subscribed WordPress blog. By only reading the title, I was so interested as I am learning Japanese, including kanji, of course. As for kanji, I actually haven’t learnt it much. Since, you know, there are thousands of characters you have to learn. Or maybe it’s just my excuse, though.

The original post tells about a lesson you got from the video above. A skit from a TV show which a comedian, named Gorugo, who was teaching kanji to students in a class. The teaching was conducted by a fun way, yet touching our soul. We can see some audiences and students got crying while listening to the talk of Gorugo. Me as well actually. 😀

Gorugo taught some kanjis, and he started with kanji 夢 [yume: dream, goal], as well as 叶 [kanau: come true]. Yes, if we combine those two, we will get it that the dream must come true, if we believe. The philosophy we can take as a lesson, is from the kanji 叶. While we in pursuing our dream, we may find a hard time. And in that hard time, we may throw up everything in our mind, either positive or negative. And throwing up is 吐 in Japanese. Note the similarity between 吐 and 叶. Gorugo said that if we pull out the negativity (or minus), then we got only the positivity, like the shift of the right stroke of both kanjis. Yes, if you can get rid of complaints in the hard times of pursuing your dream, you’ll get your dream come true, eventually.

I won’t discuss about the other kanjis for now. If you curious, just watch the video. But I tell you, it has no English subtitles. 😀