I already run the full node, I just wanted to know if I can mine too. I will search about lightning channel. Ty.
and I would like to mine,too (not for profit, just to help bitcoin network).
Since you don't have specialized hardware (ASIC), don't do it. I'd recommend to check
Non-specialized hardware comparison and
Mining hardware comparison to see the vast difference.
I found somewhere on internet that the command for mining is setgenerate true (1), but it doesn't work.
It's likely you found outdated article,
setgenerate command removed on Bitcoin Core 0.13.0.