Mounting a shared Windows directory on Linux

If you have some important data on your Windows machine which you want to access from the Linux server, then you can do that and be able to access the shared directory or drive over the network and can access the directory from the Linux machine which is on the same network.

Below is the way using which you can do this:-

1) First, make the directory or drive on your Windows machine shared over the network or for a particular machine.

2) After this make sure that your Linux machine (or the machine which is allowed to access the shared drive or directory on the Windows machine) is on the same network.

3) Run the command below on the Linux machine command prompt:-

mount.cifs //windows-machine-ip/shared-directory /mnt/cifs -o username=windowuser password=password
For example-

mount.cifs // -o username=admin password=password

4) After this, you'll be able to connect to the shared directory and can access the data as below:-

cd /mnt/cifs

ls -al

That's all.

Sachin | Saturday 11 January 2014 - 06:03 am | | Default | No comments

Steps to install the Gallery application manually with Linux hosting

Please follow the steps below to install the Gallery application:-

1. Download the package from the official website or through any other means of Internet resources.
2. Upload the package in the domain directory where it is to be installed using the FTP client software.
3. Create the MySQL database from the H-Sphere control panel as per the steps mentioned below:-

MySQL database creation steps:-
i.    Login to the H-Sphere hosting control panel.
ii.   Select MySQL in the Databases menu and the MySQL database creation wizard automatically appears.
iii.  On the form that shows up, enter the name of the database and the database description if needed.
iv.   Agree with additional charges if any.
v.    On the form that appears, create a new user or grant privileges to that user.
vi.   Add a new user to the database you have just created: choose the user role and click Add User.
vii.  Choose roles for users of other databases so that they can use your new database. Click Grant.
viii. Click Finish to complete creating your MySQL database.

4. Run the installer in the web browser.

Manoj | Friday 10 January 2014 - 8:26 pm | | Default | No comments