Thursday, April 16, 2020

How to install tightvnc on ubuntu

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04

Tuesday, October 22, 2019

Install FTP Server on CentOS 7

https://phoenixnap.com/kb/how-to-setup-ftp-server-install-vsftpd-centos-7

Thursday, October 17, 2019

Setup OpenSSH Server on Ubuntu

https://www.cyberciti.biz/faq/ubuntu-linux-install-openssh-server/

  1. Open the terminal application for Ubuntu desktop.
  2. For remote Ubuntu server you must use BMC or KVM or IPMI tool to get console access
  3. Type sudo apt-get install openssh-server
  4. Enable the ssh service by typing sudo systemctl enable ssh
  5. Start the ssh service by typing sudo systemctl start ssh
  6. Test it by login into the system using ssh user@server-name

Tuesday, July 24, 2018

share file on virtualbox

cd /media/amine/VBOXADDITIONS_5.1.26_117224/ ./autorun.sh sudo ./autorun.sh reboot cd /home cd amine/ mkdir share sudo mount -t vboxsf share /home/amine/share/

Make sure the file/folder is shared on VBox client. the shared name is "share"

Wednesday, November 29, 2017

to check which user you are logged into

whois

follow this guide to view other users

https://www.linuxquestions.org/linux/answers/Networking/How_to_list_all_your_USERs

How to view open ports on that machine

pi@raspberrypi:~ $ sudo netstat -tulpn | grep nx
tcp        0      0 127.0.0.1:7001          0.0.0.0:*               LISTEN      1021/nxnode.bin    
tcp        0      0 0.0.0.0:4000            0.0.0.0:*               LISTEN      1001/nxd          
tcp        0      0 127.0.0.1:12001         0.0.0.0:*               LISTEN      1021/nxnode.bin    
tcp        0      0 127.0.0.1:25001         0.0.0.0:*               LISTEN      1070/nxclient.bin  
tcp        0      0 127.0.0.1:21774         0.0.0.0:*               LISTEN      445/nxserver.bin  
tcp6       0      0 ::1:7001                :::*                    LISTEN      1021/nxnode.bin    
tcp6       0      0 :::4000                 :::*                    LISTEN      1001/nxd          
udp     7872      0 192.168.0.123:5353      0.0.0.0:*                           445/nxserver.bin  
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           445/nxserver.bin