Category Archives: linux

How to attach shared OCFS2 Block Volume

Here is a very simple operation to create and attach the Block Volume to the Compute instance in the framework of Oracle Cloud Infrastructure. However, the shared connection of many instances to conventional Block Volume may cause data corruption due … Continue reading

Posted in linux, OCI, Oracle/CentOS/RedHat | Leave a comment

Take some of Linux

Default standard UNIX/Linux utilities cat – concatenate files to standard outputchgrp – change file group ownershipchmod – change file access permissionschown – change file owner and groupcp – copy files and directoriesdate – print or set the system data and … Continue reading

Posted in linux | Tagged | Leave a comment

Linux file management

Main commands List file(s) permissions: ls -la <filename/wildcard> Following commands with -R mean recursive action along the directory tree. Set file(s) permissions: chmod <object><modifier><digits/symbols> <filename/wildcard> <object> (if no – set every field): u – owner; g – owners group; o … Continue reading

Posted in cheatsheet, linux | Tagged | Leave a comment

Linux simple user management

Groups Create group: sudo groupadd <group>List users in the group: getent group <group>If <group> missing all the groups are listed with users.Attention: the user is not listed if the group is his main group! The only supplementary groups’ members displayed. … Continue reading

Posted in cheatsheet, linux | Tagged | Leave a comment

Next incarnation of OCI web-server. Part one. HTTP.

The first experience with OCI compute instances had been dedicated to how to deploy a simple Hello-world-scale webserver. Now it’s time to play with the toy a little harder. Here is an approach of how to make the simple webserver … Continue reading

Posted in linux, OCI, Oracle/CentOS/RedHat, web | Leave a comment