View Single Post
Old 31-10-2006, 23:50   #14
Shaun
Inactive
 
Join Date: Jun 2003
Posts: 6,064
Shaun has a nice shiny starShaun has a nice shiny star
Shaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny star
Re: ubuntu single user mode with networking

This is why the masses can't get on with Linux. All I want to do is setup a network share so that my other PC can get at the files it needs to function on my PC.

Humph.

Code:
 Samba Server
[edit]
How to install Samba Server for files/folders sharing service

    * Read #General Notes
    * Read #How to add extra repositories 

sudo apt-get install samba smbfs

[edit]
How to add/edit/delete network users

    * Read #General Notes
    * Read #How to install Samba Server for files/folders sharing service
    * To add network user
          o Read #How to add/edit/delete system users 

sudo smbpasswd -a system_username
gksudo gedit /etc/samba/smbusers

    *
          o Insert the following line into the new file 

system_username = "network username"

    *
          o Save the edited file 
    * To edit network user 

sudo smbpasswd -a system_username

    * To delete network user 

sudo smbpasswd -x system_username

[edit]
How to share home folders with read only permission (Authentication=Yes)

    * Read #General Notes
    * Read #How to install Samba Server for files/folders sharing service 

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf

    * Find this line 

...
;  security = user
...

    * Replace with the following lines 

  security = user
  username map = /etc/samba/smbusers

    * Save the edited file
    * Read #How to add/edit/delete network users 

sudo testparm
sudo /etc/init.d/samba restart
Edit - And this, I can't even install Java without a fuss! Why do they make it so difficult?

Code:
 Install

# Linux self extracting binary file
# Linux RPM package

Note: The instructions below are for installing JRE 5.0. If you're installing another version, make sure you change the version number appropriately when you type the commands at the terminal.


To install the Linux (self-extracting) file

Follow these instructions:

   1. At the terminal: Type:
      su
   2. Enter the root password.
   3. Change to the directory in which you want to install. Type:
      cd <directory path name>
      For example, to install the software in the /usr/java/ directory, Type:
      cd /usr/java/

      Note about root access: To install the JRE in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the JRE in your home directory or a subdirectory for which you have write permissions.
   4. Change the permission of the file you downloaded to be executable. Type:
      chmod a+x jre-1_5_0-linux-i586.bin
   5. Verify that you have permission to execute the file. Type:
      ls -l



Make sure the installation file has executable permission

   6. Start the installation process.Type:
      ./jre-1_5_0-linux-i586.bin

      This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.



type YES to agree to the license agreement

   7. The JRE is installed into its own directory. In this example, it is installed in the /usr/java/jre1.5.0 directory. When the installation has completed, you will see the word Done.



The installation completes

   8. The JRE is installed in jre1.5.(version number) sub-directory under the current directory. In this case, the JRE is installed in the /usr/java/jre1.5.0 directory. Verify that the jre1.5.0 sub-directory is listed under the current directory. Type:
      ls



Verify the installation filename

The installation is now complete. Skip to the Enable and Configure section.
Shaun is offline   Reply With Quote