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


Farewell OpenShift 2

It’s 3 days after the End of Life of OpenShift 2. As I posted earlier about the notice, I had migrated my little app to its next generation: OpenShift Online 3. My app is the basis of my personal website and the backend of my Android app. So it’s kind of a must for me to migrate it as soon as possible. And actually I did it successfully last week.

As I deploy it by Git, I still have the source repository. So, I don’t care of the deployed one on the OpenShift. But, once I received an email from OpenShift about the “one time exception” to allow me to backup the data even after its end of life, I think it’s worth trying. 😀


So, I just followed the guide from attached link. Then a few moments after I typed rhc snapshot save php, I got my deployed source of the app, including error logs of Nginx and PHP.


And now I feel so relieve of the data –if it will be deleted forever. Farewell, my –prior– app.

PopojiCMS, Pengelola Laman Web yang Fleksibel

Sudah banyak sekali pilihan CMS untuk website, sekarang ini. Salah satunya adalah PopojiCMS, buatan developer Indonesia. Menurut pengembangnya, Popoji berarti “kantong”, yang merupakan bahasa Manado. Karena memang pengembangnya berasal dari Manado. CMS ini belum begitu kompleks, maksudnya tidak seperti WordPress yang punya banyak API. Ya ini karena memang PopojiCMS ditujukan untuk developer pemula sampai master. Oleh karena itu, kita bisa membuat hasil akhir website yang sangat customizable dan fleksibel sesuai dengan yang kita inginkan.

Lihat laman web

Kebetulan sudah lama saya ingin mengisi hosting dengan tulisan-tulisan. Masalah utama adalah kuota penyimpanan file hanya 40 MB. 😀 Kalau diinstal WordPress, sangat tidak mungkin. Mau membuat sendiri, waduh, belum sempat dan mungkin akan lama. Nah, sepertinya PopojiCMS cocok dengan kebutuhan saya ini. Tinggal utak-atik tema dan lainnya sesuai kebutuhan. Kalau mau lebih simple lagi, pengembang menyediakan paket yang lebih komplit hanya dengan donasi Rp. 50.000,00.

Lihat laman demonya

Sementara saya masih menguji coba di localhost dulu.

Popoji CMS made in Indonesia

Laman admin Popoji CMS. (lihat ukuran asli)

Edit: (21.12.14)

Hasil instal di hostingan dan oprekan awal:

PopojiCMS diinstall di hostingan

PopojiCMS diinstall di hostingan (lihat ukuran asli)

Kalender Hijriyah dan jadwal waktu sholat sehari

Tulisan ini dipindahkan dari tulisan di blog saya yang lain.

Your Portfolio Archive currently has no entries. You can start creating them on your dashboard.

Sudah banyak widget-widget kalender hijriyah dan jadwal waktu sholat untuk situs web yang dibagikan oleh orang lain di internet. Namun kali ini saya memilih untuk membuatnya sendiri. Bukan karena tidak menghargai mereka yang sudah mendahului, tetapi karena saya ingin sekalian belajar dan mengembangkan kemampuan PHP dan juga menambah keanekaragaman karya semacam ini. Maksud saya adalah karya yang berhubungan dengan Islam. Semoga bisa menjadi salah satu syi’ar Islam.

Continue reading “Kalender Hijriyah dan jadwal waktu sholat sehari”