Hot answers tagged centos
In order to set permissions on the folder and all sub folders/files you need to use the recursive option in your command: chmod 777 -R /path/to/directory For more information using chmod please see here. UPDATE: Disclaimer: Using chmod 777 will make your folder executable by everyone. Please see below for a look at setting Your permissions are set ...
You can use chmod to change the permission bits. The -R option is for recursively - used for directories. The bits are explained as rwx i.e. read, write and executable. If r =1, w =1 and x =1 . The binary 111 means 7 in decimal. Thus, you see 7. Now, the fields are decided as u = user, group, and others. So, if you want to give permission to everyone then ...
Use SSH port forwarding: ssh -L 8080:internalServerIP:3389 user@publicIP This would allow you to RDP to localhost:8080 to reach your remote internalServer. You can even change the SSH listening port from 22 (standard) to 443 to get past most firewalls. For Windows, Cygwin (or puTTY) is your friend.
There are tools to make your own distros but I think it's the wrong way to go. You'll run into problems when you have hardware changes, when cent-os updates and so on. The correct way to do this is IMO to use a configuration management tool (for example puppet) Install a barebones centOS Install puppet Use puppet to configure the computer just as you ...
Take out the $ in chmod, I imagine that someone was just including a symbol to denote the beginning of your input. If you type su input the root password chmod a+w /etc/sudoers that should work fine. Note that you will need root access to modify the file.
127.0.0.1 localhost.localdomain localhost 127.0.0.1 laravel.localhost.com 192.168.0.102 laravel.localhost.com laravel.localhost.com 192,168.0.102 ::1 localhost6.localdomain6 localhost6 Remove the 4th line. I think the comma (,) in the IP address is causing the problem. And another thing is that hosts file should be in the format <ip-address> ...
Only top voted, non community-wiki answers of a minimum length are eligible