Install Samba3.6 on Fedora16

Source: Internet
Author: User
Fedora16, various dizzy and various high-tech technologies are a test of my patience. It solves the problem of the Fallback Mode of Gnome3.2. Note: I installed 32-bit Fedo under the VirtualBox virtual machine.

Fedora 16, a variety of dizzy, various high-tech, really test my patience, solve the problem of Gnome 3.2 Fallback mode, http://www.linuxidc.com/Linux/2012-03/56380.htm

A little excited, ready to continue, and then continue to install other software, and then the first software has a problem-Samba.

Note: I installed the 32-bit Fedora 16 on the VirtualBox virtual machine. I have a limited level of myself. I have not read the relevant information in some steps,

If you have any security risks or errors, please do not hesitate to inform us.

Fedora 15. After Samba is installed, a script file named smb is generated in the/etc/rc. d/init. d/directory by default,

As long as we can run:

/Etc/rc. d/init. d/smb start samba;

/Etc/rc. d/init. d/smb stop samba;

/Etc/rc. d/init. d/smb restart samba ......

(Start | stop | restart | reload | status | condrestart)

Run samba at startup. You only need to modify the/etc/rc. d/rc. local file and add a line:

/Etc/rc. d/init. d/smb start

You can.
But now the question is:

# Yum install samba

No/etc/rc. d/init. d/smb is generated after samba is installed.

Then the/etc/rc. d/rc. local file is missing.

I'm dizzy, too high-tech!


So I searched on the official wiki:

Http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/sect-Release_Notes-Changes_for_Sysadmin.html

---------- ---------- ---------- ---------- 3.2.5. rc. local no longer packaged

The/etc/rc. d/rc. local mizmization script is no longer encoded by default. administrators who need this functionality merely have to create this file, make it executable, and it will run on boot.

Upgrades are not affected by this change.

----------------------------------------

I scored less than 380 points in English level 4, so she does not support rc. local by default (the upgrade of Fedora 15 is still effective ).

I tried to create a new rc. local and then assigned executable permissions, which really didn't work.

So I am confused again. Sorry, I haven't read the basic Linux commands yet. How can I change the settings? How can I establish a connection between ln-s and rcN. d ......

Then I thought of the/etc/inittab file. Although it is no longer necessary, it is okay to look at it:

# Inittab is no longer used when using systemd.

#

# Adding configuration here will have no effect on your system.

#

# Ctrl-Alt-Delete is handled by/etc/systemd/system/ctrl-alt-del.target

#

# Define EMD uses 'targets' instead of runlevels. By default, there are two mai n targets:

#

# Multi-user.target: analogous to runlevel 3

# Graphical.tar get: analogous to runlevel 5

#

# To set a default target, run:

#

# Ln-s/lib/systemd/system/ . Target/etc/systemd/system/default. target

15 # 

Oh, I understand this:/lib/systemd/system/, decisive

# Cd/lib/systemd/system/; ll

After reading a pile of files, there are many runleveln.tar get. wants folders.

Decisive

# Cd/lib/systemd/system/runlevel5.target. wants; ll

There is a symbolic link file.

Systemd-update-utmp-runlevel.service-> ../systemd-update-utmp-runlevel.service


So I/Lib/systemd/system/folder foundSystemd-update-utmp-runlevel.service files,

Then I found that many runlevelN.tar get. wants folders contain this symbolic link;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.