by ray | Jul 7, 2018 | Linux / Ubuntu
For many users of Linux, getting used to file permissions and ownership can be a bit of a challenge. It is commonly assumed, to get into this level of usage, the command line is a must. Although there is always far more power and flexibility to be had, running...
by ray | Jul 7, 2018 | Linux / Ubuntu
In Linux, I can create a group: sudo groupadd mygroup and add several users to it: sudo usermod -a -G mygroup userA sudo usermod -a -G mygroup userB sudo usermod -a -G mygroup userC Or, if gpasswd is available (should be on most distributions except e.g. Solaris) you...
by ray | Jul 7, 2018 | AWS
The following procedures help you install an Apache web server with PHP and MariaDB (a community-developed fork of MySQL) support on your Amazon Linux 2 instance (sometimes called a LAMP web server or LAMP stack). You can use this server to host a static website or...
by ray | Jul 7, 2018 | AWS, Linux / Ubuntu
STEPS TO SET JAVA ENVIROMENT VARIABLE ON EC2 IN 4 SIMPLE STEPS. First, check the version of JDK Step 1: Ensure you have right version of JAVA installed or upgrade if necessary (Optional) The latest version of JAVA is 1.8, by default Amazon Linux has JAVA version 1.7...
by ray | Jul 7, 2018 | Linux / Ubuntu
netstat -tulnap shows me what ports are in use. How do I free up a port in Linux? As the others have said, you’ll have to kill all processes that are listening on that port. The easiest way to do that would be to use the fuser(1) command. For example, to see all...