symbolic link

How to move the atom editor installable file to a different location?

When Atom editor is installed, it creates a symbolic link in /usr/local/bin folder. Get the new folder path where atom editor installable file resides and run the following command in the terminal

$ ln -s /NewFolder/Atom.app/Contents/Resources/app/atom.sh /usr/local/bin/atom

If a link is already created for the atom editor, then you need to remove the existing symbolic link before creating a new one

$ unlink AtomSymbolicLink (OR)

$ rm AtomSymbolicLink

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Apache: Where to put site configuration settings?

/etc/apache2/conf.d/ and /etc/apache2/sites-enabled are the two locations from where configuration settings are ready by apache

Apache configuration file has two lines (listed below) in /etc/apache2/apache2.conf which does that

# Include generic snippets of statements
Include /etc/apache2/conf.d/

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Ubuntu: Configuring Virtual Hosts to listen on different ports

Files to check
– /etc/apache2/ports.conf
– /etc/apache2/apache2.conf

Consider the ServerName to be “myserver”. Check /etc/hosts for an entry

127.0.0.1 localhost
192.168.1.100 myserver.com myserver

Continue Reading…

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Kurinchi Calendar
July 2017
M T W T F S S
« Apr    
 12
3456789
10111213141516
17181920212223
24252627282930
31