TECH TIPS

How to Manage File and Folder Permissions in Linux

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...

How do I add multiple user to UNIX group?

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...

Tutorial: Install a LAMP Web Server on Amazon Linux 2

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...

SETTING UP JAVA ENVIRONMENT VARIABLE ON EC2

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...

How do I free up a TCP/IP port?

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 of...

I can’t SSH to instance started in new subnet/zone

I have an AMI and security group that I've been starting instances from, using our VPC and a subnet we've had defined, for a long time. Once such instances start, I'm able to SSH to them.So far so good.Lately we started getting error messages about Amazon not having...

We Want to Help

Whatever your project or need,

we are here to serve.