0% found this document useful (0 votes)
65 views1 page

SSH at Password: CD .. Chmod - R 701 CD Mkdir Public - HTML Chmod - R 705 Public - HTML

National Institute of Science Education and Research provides instructions for setting up a personal webpage. Users should connect to the campus intranet or use the SSL-VPN. They need to create a "public_html" folder, give it the proper permissions, and transfer web content files into that folder using scp on Linux/Mac or FTP on Windows. The public_html folder will be the document root. Users' homepages can then be accessed at http://www.niser.ac.in/~username.

Uploaded by

polar neckson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views1 page

SSH at Password: CD .. Chmod - R 701 CD Mkdir Public - HTML Chmod - R 705 Public - HTML

National Institute of Science Education and Research provides instructions for setting up a personal webpage. Users should connect to the campus intranet or use the SSL-VPN. They need to create a "public_html" folder, give it the proper permissions, and transfer web content files into that folder using scp on Linux/Mac or FTP on Windows. The public_html folder will be the document root. Users' homepages can then be accessed at http://www.niser.ac.in/~username.

Uploaded by

polar neckson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

National Institute of Science Education and Research (NISER), Jatni, Khurda, Odisha, India.

Pin-752050

Personal Webpage Setup

1) You should be connected to NISER Campus intranet to upload your personal homepage or you should
be using SSL-VPN facility provided by NISER whose setup details are available in Computer Centre
website.
2) a) Creation of “public_html” folder with proper permission on Linux/Mac: If you are on a device with
Linux OS or Mac, then simply use the terminal to login to ssh server (IP Address:10.10.0.19). Use
your WiFi access credentials when asked for user id and password.
Give 701 permission to your home directory.
For this, open a terminal (on Linux) and use these commands:
ssh <username>@<10.10.0.19>
Password: (Type in your WiFi access password)
cd ..
chmod -R 701 <username>
cd
mkdir public_html
Give 705 permission to public_html (assuming that you are now back to the home directory).
chmod -R 705 public_html

b) Transfer of web contents into “public_html” on Linux/Mac: If you are on a device with Linux OS
or Mac, then simply secure-copy your files/directories from terminal. Use your WiFi access credentials
when asked for user id and password.
Assuming, you are already inside the directory containing personal homepage files.
scp -r * <username>@<10.10.0.19>:public_html/

3) a) Creation of “public_html” folder with proper permission on Windows: If you are using Windows
device then use applications like Putty, SSH Secure Shell, etc. to get command line access of the ssh
server.
Host: 10.10.0.19 (you should be directly connected to NISER Campus Intranet or through NISER VPN)
Mode: SFTP (Port 22)
Credentials (User Id and Password): Your WiFi access credentials are to be used.
Through command line type in the following commands:
Give 701 permission to your home directory.
cd ..
chmod -R 701 <username>
cd
mkdir public_html
Give 705 permission to public_html (assuming that you are now back to the home directory).
chmod -R 705 public_html

b) Transfer of web contents into “public_html” folder on Windows: For Windows device, use any FTP
client (coreFTP, FileZilla, WinSCP etc.) to transfer your files from PC to public_html directory in your
home folder.
Host: 10.10.0.19 (you should be directly connected to NISER Campus Intranet or through NISER VPN)
Mode: SFTP (Port 22)
Credentials (User Id and Password): Your WiFi access credentials are to be used.
Copy your personal homepage contents from your local device and paste it (or upload it) into
"public_html" folder located in your home directory on remote host. You may also use drag and drop
method if available in the FTP client software.

4) This public_html directory is the document-root for you.


NISER is not responsible for the information kept inside this directory

5) Make sure there is a file named index.html or index.php in your document-root.


Now your homepage should be open to the world. Your link will look like:
http://www.niser.ac.in/~username

You might also like