-
Jenkins
Jenkins is CI/CD tool. I install it.
-
Miniforge
Miniforge is one of Python Version Managers. Its usage is similar to that of anaconda. Miniforge must be installed not by root but by user. Install Miniforge following steps below. Command “conda search python” cannot be executed in Oracle Cloud(Free Tier).
-
NVM
NVM(Node Version Manager) is a good tool for development using Node.js. Node.js is used for not only web development but also Electron application. Application developed using Electron is executed in variable OS(Windows, MacOS, Linux). NVM must be installed not by root but by user. Install NVM following steps below.
-
VSCode remote Development
It is convenient to use VSCode with extension remote Develonpment. Install VSCode and its extension “remote Development”. It allow programmer to develop in environment of server. This is very useful for development and debugging. It can be used for C/C++, Java, Python. Followings is how to connect without password using SSH. In Linux In Windows…
-
Domain and https
We can get domain for free at https://www.duckdns.org/. Firstly, sign in with google. Secondly, search favorite domain. Finally, register IP. That’s all. If available domain exist, set WordPress > settings > general > WordPress Address (URL) and Site Address (URL) to https://ahamike.duckdns.org. Use certbot to serve via https like followings.
-
Firewall
I set it to a port other than the default port used by SSH, MariaDB, PostgreSQL and MongoDB. To connect these daemons, firewall(NOT ufw BUT iptables) must be configured in OCI(ubuntu 22). Besides these ports should be added to public subnet’s security list in OCI. Followings is only about firewall.
-
Adding and Deleting user
OCI’s default user is ubuntu. To add a new user and to delete an user, follow the step below.
-
Swapping
OCI’s memory is only 1GB and Swapping is needed. Followings is example of configuration 2GB swapping.
-
WordPress
WordPress is one of the most famous tool to create web-page. I installed WordPress and I am continuing to configure because I am a newbie in WordPress and PHP. Looking at some sites, I followed them like step below. Installation Configuration add followings. get salt. replace next with salt. PHP configuration $ sudo vi /etc/php/8.1/fpm/php.ini…
-
Nginx
Nginx is used as reverse proxy server. I would configure Nginx to use context path. Installing and configuring Nginx is like the step below.
-
Java JDK
Java is constantly being developed. I installed version 8, 11 and 17. To install Java JDK and configure it, follow the steps below. Setting JAVA_HOME is not necessary and JAVA_HOME of java 8 jdk is either /usr/lib/jvm/java-8-openjdk-amd64/jre or /usr/lib/jvm/java-8-openjdk-amd64. In Jenkins configuration of Java 8, JAVA_HOME must be /usr/lib/jvm/java-8-openjdk-amd64.
-
Git
Git is necessary to manage source. When starting Oracle Cloud Instance(OCI), git is already installed.
-
Docker
Docker is an useful utility. We program and run in same environment via docker. I installed docker like followings.
-
Database
Databases installed in Oracle Cloud are MariaDB, PostgreSQL and MongoDB. MariaDB is activate, but PostgreSQL and MongoDB are inactivate currently. The process of installation is followings. MariaDB PostgreSQL MongoDB
-
Hello world!
Welcome to WordPress. I installed WordPress in Oracle Cloud. I would like to build and run general REST API server. Also I would like to build server via Jenkins(CI/CD). But instance’s memory is only 1 GB in Oracle Cloud. So Jenkins cannot be installed. I give up installing Jenkins and installed other things necessary for…