Wednesday, April 13, 2022

Thursday, March 24, 2022

sshd-config

**Cannot login to SSH 

rex@debtiny:~$ sudo vim /etc/ssh/ssh_config

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options override the
# default value.

Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
# Authentication:

#LoginGraceTime 2m
PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

PubkeyAuthentication yes


# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
#PermitEmptyPasswords no

Saturday, February 26, 2022

IPMI and BMC

 Understanding the IPMI and BMC

IPMI - is a set of computer interface specifications (Hardware-based)

BMC - is a service processor which is capable of monitoring the physical state of the servers or other hardware device that has sensor.

Friday, September 4, 2020

 Unifi Beginner Mode

Overview login:

Welcome to EdgeOS ubnt ttyS0


By logging in, accessing, or using the Ubiquiti product, you

acknowledge that you have read and understood the Ubiquiti

License Agreement (available in the Web UI at, by default,

http://192.168.1.1) and agree to be bound by its terms.

Login incorrect
ubnt login:
Password:
Login timed o
Welcome to EdgeOS ubnt ttyS0

rxlacson@ubnt:~$ info

Model:       UniFi-Gateway-3
Version:     4.4.50.5272448
MAC Address: 00:00:c2:00:00:00
IP Address:  192.168.1.176
Hostname:    ubnt
Uptime:      8977 seconds

Status:      Unknown[11] (http://192.168.1.6:8080/inform)

Remotely access the UAP AC PRO via ssh.

Tuesday, June 14, 2016

Howto Screenshot in Centos 6x

Simple way, in order to make a screenshot in Centos 6.x
[rx@localhost ~]$ cat /etc/redhat-release 
CentOS release 6.8 (Final)

[rx@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[rx@localhost ~]$ su -

Install this by typing:
yum install gnome-utils

 S a m p l e  of Screnshoot:



Friday, April 22, 2016

Nagios Core

Working on my Nagios Core 3.5.1 on my virtual Centos 6.4 Minimalist

Thursday, April 21, 2016

Wednesday, April 20, 2016

Android Starter

Howto install Android Studio for beginners.
1. Download Android Studio http://developer.android.com/sdk/index.html
2. Unpack the .zip file and point it to your preferred localtion such as /usr/local/ for your user profile or /opt/ for shared users.
root@Inspiron-1525:~/Download# unzip android-studio-ide-143.2739321-linux.zip  -d /opt
3.To launch Android Studio, open a terminal, navigate to the /opt/android-studio/bin/ directory and execute the studio.sh 
root@Inspiron-1525:~/Download#cd /opt/android-studio/bin
root@Inspiron-1525:~/opt/android-studio/bin#sh studio.sh
4. The  Android Studio Wizard guides you though the rest of the setup, and includes download SDK components which is required for development.

Note: If you are running 64 bit Linux OS, install the following:
  For Ubuntu
     sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
  For Fedora
     sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

Install Java SE Development Kit 8

Howto install Java SE Development Kit 8 on Linux terminal

1. Download at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2. Check existing java version in your system and OS version.
  rex@Inspiron-1525:~$ javac -version
  rex@Inspiron-1525:~$ uname -m
3. Change to root priviledge and make the following directory.
  rex@Inspiron-1525:~$ sudo su
  root@Inspiron-1525:/home/ronald# mkdir /opt/jdk
4. Extract the .tar.gz file downloaded and open new created directory
  root@Inspiron-1525:~/Downloads# tar -zxf jdk-8u91-linux-x64.tar.gz  -C /opt/jdk
  root@Inspiron-1525:~/Downloads# ls /opt/jdk/
5.Setting Oracle JDK as the default JVM
root@Inspiron-1525:~/Downloads# update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_91/bin/java 100
root@Inspiron-1525:~/Downloads# update-alternatives --install /usr/bin/javac javac  /opt/jdk/jdk1.8.0_91/bin/javac 100
6. Verify your installation.
  root@Inspiron-1525:~/Downloads# update-alternatives  --display java
  root@Inspiron-1525:~/Downloads# update-alternatives  --display javac

Tuesday, April 19, 2016

Centos 6

Work around using Centos 6 in Minimal mode:

To start:
Configure the network:

 [root@rex ~]#vi /etc/sysconfig/network-scripts/ifcfg-eth0
Dynamic IP configuration
 





Static IP configuration
 DEVICE=eth0
 HWADDR=08:00:27:CD:DD:9D
 TYPE=Ethernet
 UUID=43dec226-bd53-4ad2-af70-b80fe17f779b
 # change
 ONBOOT=yes
 NM_CONTROLLED=yes
 # change
 BOOTPROTO=none
 # add follows
 # this server's IP address
 IPADDR=10.10.0.50
 # subnet mask
 NETMASK=255.255.255.0
 # default gateway
 GATEWAY=10.0.0.1
 # DNS server's IP address
 DNS1=10.0.0.10
 IPV6INIT=no
 USERCTL=no 
:Restart network
 [root@rex ~]#/etc/rc.d/init.d/network restart  
:Check updated network address
 [root@rex ~]#chkconfig network on
 [root@rex ~]#ifconfig
:Display services | Adding and Stopping services you don't need
 [root@rex ~]#chkconfig --list
 [root@rex ~]#/etc/rc.d/init.d/netfs stop
 [root@rex ~]#chkconfig netfs off
Update it to the latest system
 [root@rex ~]#yum -y install yum-plugin-fastestmirror
 [root@rex ~]#yum -y update  
:Configure sudoer
 [root@rex ~]#visudo
 # add follows to the end: "cent" can use all root privilege
 cent    ALL=(ALL)       ALL
 
 

XenServer

This is just a an experiment if I can setup an old machine running Xenserver on VirtualBox in my LinuxMint with 5th Gen Processor.

What is Xenserver?
Citirix XenServer is a hypervisor platform that enables the creation and management of virtualized server infrastructure. It is developed by Citrix Systems and is built over the Xen virtual machine hypervisor. XenServerprovides server virtualization and monitoring services.

link courtesy: http://lpvirtualization.blogspot.com/2014/08/xenserver-installation-on-virtualbox.html

Sunday, March 20, 2016

Liberty Park

In my point of view paying high tax in the government is no problem at all, it's just a matter which is give and take. As I relish together with my family having time and enjoying a picnic with clean public place at Liberty Park. They do right thing serving the people.. Cheers!

Wednesday, March 9, 2016

Plan to OS Linux Change to Latest

Since 2011 I already started using Linux Mint 11 Katya, and no bugs and very stable almost 5 years that I rely on it, cheers to LinuxMint 11. Right now i have plan to migrate to new one for a reason of latest repo, maybe Centos, Debian or Fedora.

Wednesday, July 1, 2015

CHMOD / UMASK /RWX 755

Linux Desktop is already popular now a day, because of this even me I  always rely using GUI "Gooey" meaning mice instead using CLI or linux terminal..
But at this time i need to go back to  my CLI bash Shell to do things as a system 
administrator of my linux system.
Here's a deeper understanding about the chmod and umask for file access privileged..(file attribution)















source:  http://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html


Sunday, June 28, 2015

The Long Time Distro

As what I've used several Linux distributions, a times come that i need to migrate to a stable for my server that will run for a long period of years runnning  services like APACHE, MYSQL, SAMBA, BIND, DHCP, SSH, SQUID, etc......................
Image below shows about the LTS (Long Time Support) from Ubuntu.
LTR - Long Time Release as what we need to consider in the version of Linux kernel that we used in every Linux that we installed. In my final point of view we know already how to select the distro for our servers or even desktop.

Tuesday, June 23, 2015

Linux JOB ReqJBOSS

First time to explore about JBOSS from Redhat Linux...
As I started to used JBOSS, this is my preparation:
My primary OS Linux Ubuntu Server 14.04 LTS purely CLI mode..

Step 1:   Download JBOSS @ SourceForge and I've downloaded JBOSS 6.0
Step 2.   Install JAVA  
Step 3.   CREATE JBOSS USER AND SET PASSWORD
      #useradd -d /home/jboss -s /bin/bash -m jboss
      #passwd jboss
Step 4.   COPY JBOSS ZIPFILE AND UNZIP
viewed using lynx -- other photos

      #cp jboss-AS.zip /home/jboss
      #cd /home.jboss
      #unzip jboss-AS.zip
Step 5.   RENAME THE FOLDER AND CHANGE OWNERSHIP
      #mv jboss6.0.Final jboss-6.0
      #chown -R jboss:jboss /home/jboss/jboss-6.0/
      #chmod -R 775 /home/jboss/jboss-6.0
       
Step 6.   SET THE JBOSS AND JAVA PATH
      #su -l jboss
      # vi .bashrc
             add the ff. lines:    export JBOSS_HOME=$HOME/jboss-6.0
                                           export JAVA_HOME=/usr/lib/jvm/java-7-oracle
     Step 7.   THE JBOSS AND LOGIN TO WEB PORTAL
      #cd jboss-6.0/bin
     #./run.sh
                access to jboss web portal using any web browser  [  http://localhost:8080]



Sunday, May 3, 2015

Bago City College - Lab Network Project

LINUX/BSD WEB CACHE SERVER(PROXY) // GIGABIT HUB//CCTV /// AUDIO MULTIMEDIA SERVER WITH 4 CHANNEL SURROUND SYSTEM , CAPABLE FOR PUBLIC INTRANET AUDIO SHARING.....

This project is a fully customized, the materials that we used is an angle bar just to create the rack for the server . (No Rack Sever frame available in our place) With the help of my students team, we're happy and proud to accomplished the cheap but very powerful school laboratory server..thanks to free software; We Love you Linux!!!

Friday, April 24, 2015

RUN YOUR OLD DESKTOP USING AUDIOPHILE

BEST AND RECOMMENDED USING YOUR OLD DESKTOP WITH MULTIPLE
AUDIO OUTPUT WITH 1 GB OF RAM.


Run Virtual Samsung S4

RUN ANDROID AS VIRTUAL USING SAMSUNG S4 EMULATION USING GENYMOTION
HOWTO:
DOWNLOAD AND INSTALL VIRTUALBOX
https://www.virtualbox.org/


DOWNLOAD   AND INSTALL GENYMOTION  
https://cloud.genymotion.com/page/launchpad/download/

sample or  command in linux terminal : /DEBIAN/UBUNTU/LINUXMINT/
cd /home/pc_name/download

chmod +x genymotion-2.2.2_x86.bin

sudo /home/pc_name/download/genymotion-2.2.2_x86.bin

sudo /home/pc_name/download/genymotion/genymotion

UPDATES: June 29, 2015 Time: 8:45 PM
      Moving genymotion location to /opt