November 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Categories

November 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Centos 7 SYSTEMCTL && Run level && hostname

Centos 7 SYSTEMCTL && Run level && hostname

Centos 7 SYSTEMCTL && Run level && hostname

systemctl start httpd.service (service httpd start)

systemctl stop httpd.service ( service httpd stop)

systemctl restart httpd.service ( service httpd stop)

systemctl status httpd.service ( service httpd status)

systemctl enable httpd.service (chkconfig httpd on)

systemctl disable httpd.service (chkconfig httpd […]

Centos 7 Samba

Centos 7 Samba

FILEDOC /samba/docs LEARDOCS /samba/tech

rpm -qi samba

mkdir -p /samba/docs mkdir -p /samba/tech

ulimit -n 16384

vi /etc/security/limits.conf * – nofile 16384

cd /etc/samba/

cp smb.conf smb.conf.origin

[global] workgroup=FILESERVER netbios name=SERVER1 server string=Samba Server #security=share security=user map to guest = Bad User [SHAREDOCS] path=/samba/tech readonly=yes browseable=yes guest ok=yes [TECHDOCS] path =/samba/tech public […]