一区二区三区精密机械,国产色视频一区二区三区QQ号,久久久久国产一区二区三区,嫩草乱码一区三区四区,波多野结衣一区二区,好吊视频一区二区三区,色噜噜狠狠一区二区三区AV蜜芽,无码精品一区二区三区在线,天堂VA蜜桃一区二区三区,强伦轩人妻一区二区三区四区,亚洲日韩一区二区

跳(tiào)轉到(dào)主要(yào)®'內(nèi)容

Linux

opensuse安裝virtualbox

故障描述

  無

故障分(fēn)析

  無

處理(lǐ)過程

1、進入“安裝/移除軟件(jiàn)”,并輸入r∏®♠oot密碼

2、搜索virtualbox。

3、選中virtualbox(基礎)和(hé)virtualbox-qtα≠&(界面)

4、點接入安裝。

5、進入Yast/安全和(hé)用(yòng) •λ♦戶/用(yòng)戶和(hé)組管理(lǐ)。

6、選中你(nǐ)要(yào)使用(yòng)virtuφ→>albox的(de)用(yòng)戶&g>↕©∞t;編輯>細節>附加的(de)組先中v≠↔∏∑boxusers>确定。

7、重啓opensuse登陸即可(kě)使用(yòn≥•≈g)virtualBox

建議(yì)/總結

  無

Centos 删除圖形界面後無法登陸

故障描述

  客戶安裝Centos後默認安裝有(yǒu)圖形界面,客戶删除圖形界☆±φσ面後啓動不(bù)提示登錄。但(dàn)可(kě)以用(yòng)s✘©δsh或telnet登錄。

故障分(fēn)析

  無

處理(lǐ)過程

1、ssh登陸服務器(qì)

2、修改/etc/inittab 文(wén)件(jiàn≈₩),将id:5:initdefault:(默認的(de) run ≠≤level 等級為(wèi) 5,即圖形界面改為(wèi)3即純文(wé§λn)本環境)

3.保存文(wén)件(jiàn)後重啓系統你(nǐ)就(jiù)可✘↓≥(kě)以看(kàn)見(jiàn)是(shì)啓動€₩↓的(de)文(wén)本界面了(le)。

建議(yì)/總結

  無

Linux選用(yòng)國(guó)內(nèi)163鏡像

故障描述

  Linux國(guó)外(wài)源速度較慢(m™≥Ω₽àn)。如(rú)何使用(yòng)國(guó)內(nè≤→≠₩i)源。

故障分(fēn)析

  無

處理(lǐ)過程

  建議(yì)使用(yòng)國(guó)內↑✔(nèi)163鏡像。

登陸http://mirrors.163.com/。£₽查看(kàn)每個(gè)版本對(duì)↑∑∑應的(de)使用(yòng)方法。以下(λ©xià)以Centos為(wèi)例

1、首先備份/etc/yum.repos.d/Ceπ✔>×ntOS-Base.repo

    mv /etc/yum.repos.d/©♠π>CentOS-Base.repo /etc/y☆♥∏Ωum.repos.d/CentOS-Base.repo.bac↑ε®λkup

2、下(xià)載對(duì)應版本repo文(wén)件(jiàn)♠← , 放(fàng)入/etc/yum.repos.d/(操作(zα₽‍uò)前請(qǐng)做(zuò)好(hǎo)相(x∏₽iàng)應備份)

3、運行(xíng)以下(xià)命令生(shēn‍÷×g)成緩存

    yum clean all
    yum makecache
建議(yì)/總結

  無

Centos 7.0 iptables服務管理(lǐ)

故障描述

  Centos7.0使用(yòng)se✔€rvice iptables restart提示錯ε←∏(cuò)誤

[root@FileServer etc]# service iptables™↕© restart
Redirecting to /bin/systemctl re×¥βstart  iptables.serv≥↓&ice
Failed to issue method call: Unit i↓ ÷ptables.service failed to load: No ₩ such file or directory.

故障分(fēn)析

  無

處理(lǐ)過程

  Iptables默認沒有(yǒu)安裝服務。

yum -y install iptabl£↕es-services

[root@FileServer etc]# serv≤₽ice iptables start
Redirecting to /bin/systemctl s€≥λ∏tart  iptables.servic‍≥♥ e

建議(yì)/總結

  無

Centos 7最小(xiǎo)安裝沒有(yǒu)ifco©÷≥$nfig

故障描述

  Centos 7.0最小(xiǎo)安裝成功φ¶後。沒有(yǒu)ifconfig

故障分(fēn)析

  無

處理(lǐ)過程

  mini安裝後默認沒有(yǒu)ifconfig。請(qǐε±↔ng)執行(xíng)yum -y install ne"≠↕∏t-tools 安裝網絡工(gōng)具!

同時(shí)建議(yì)安裝

yum -y install zip unz¶π±δip wget make

安裝zip,unzip,wget,make

建議(yì)/總結

  無

Linux添加FTP用(yòng)戶設置為(wèi)/bin/false無法登​£✔δ陸

故障描述

[root@Radius ftp]# u<♥φγseradd -d /home/huawei -g ftp -s /bin/f©‌↕¥alse huawei
[root@Radius ftp]#passwd huawei
[root@Radius ftp]# passwd hua♠∑₽wei
更改用(yòng)戶 huawei 的(de)密碼 。
新的(de) 密碼:
重新輸入新的(de) 密碼:
passwd: 所有(yǒu)的(de)身(shēn)份驗證令"→&∏牌已經成功更新。
[root@Radius ftp]# f∞•γtp 127.0.0.1
Connected to 127.0.0.1 (1 ↑↕27.0.0.1).
220 (vsFTPd 2.2.2)
Name (127.0.0.1:root):¶₽§  huawei
331 Please specify the passw¥≈ord.
Password:
530 Login incorrect.
ftp>

故障分(fēn)析

  [root@Radius ftp]# tail /var/log/♣ secure
Sep 11 10:16:39 radius prπ>oftpd[11888]: localho¥‌£st (192.168.1.199[192.168.1.199]) -↔₩ USER huawei (Login faileπ↑≠εd): Invalid shell: '/bin/false'
Sep 11 10:16:56 radius prof>>↕←tpd[11889]: localhost (192.16↓±≤β8.1.199[192.168.1.199]) - USER huaweiφ≥ (Login failed): Invalid sh'β‍ell: '/bin/false'
Sep 11 10:23:53 radius proftpd[12044]:₽πγ localhost (192.168.1.1•™↑ 99[192.168.1.199]) - USE∞ δ¥R huawei (Login failed): Inva≥↑lid shell: '/bin/false'

上(shàng)述錯(cuò)誤日(rì)志(zhε ×ì)确定為(wèi)用(yòng)戶shell為​₩"(wèi)/bin/false後,用(yòng)戶無法登陸FTP,λ≠vsftpd默認會(huì)檢查用(yòng)戶的(de)sheΩ​©≠ll,如(rú)果用(yòng)戶的(de)she≥↓ ‌ll在/etc/shells沒有(yǒu)記錄,則>←↑無法登陸ftp

處理(lǐ)過程

 1.在/etc/shells中添加一(yī)行(xíng)"/bi"<n/false";
2.重啓vsftpd服務。

[root@Radius opt]# vi /etc/she✔ ™∑lls

/bin/sh
/bin/bash
/sbin/nologin
/bin/dash
/bin/false

 

建議(yì)/總結

  無

Ruby Gem 提示OpenSSL錯(cuò)₽☆βπ誤

故障描述

  Ruby用(yòng)安裝提示無法加載Openssl

gem install rails -v 3.2.17∑γ±
ERROR:  Loading command: ins'≠≥tall (LoadError)
     &φ$;   cannot load ☆ ★such file -- openssl
ERROR:  While executing ge★↑×m ... (NoMethodError)
    undefined met♣∑hod `invoke_with_build_args' f ​Ωor nil:NilClass

故障分(fēn)析

  無

處理(lǐ)過程

  進入到(dào)ruby源碼包的(d↑£¥e)所在路(lù)徑,然後進入ext/openssl,執行(xín∑←₹±g):
sudo ruby extconf.rb,

make  

make install

建議(yì)/總結

  無

Linux簡單腳本實現(xiàn)自(zì)動備份文(w∏♦♣én)件(jiàn)

故障描述

  無

故障分(fēn)析

  無

處理(lǐ)過程

  自(zì)動備份文(wén)件(jiàn),✔☆♠ 同時(shí)按日(rì)期重命名

創建backup.sh文(wén)件(jiàn)。內(nèi)容如(rú)下(§>→xià):

#!/bin/sh
datenow=`date +%Y%m%d`
cp /data/db/backup/DataBase/data/‌✘∏db/backup/DataBase-$datenow

然後将Backup.sh加入Cron計(jì)劃即可(kě)←'>₹

建議(yì)/總結

  無

如(rú)何啓用(yòng)EPEL庫For Rhel/Ce♥>ntos 5,6

故障描述

Yum安裝Enablerepo時(shí)提示epel不(bù)可(kě∑₹Ω)用(yòng)。

yum --enablerepo=epel
Error getting repository data for e₽‌pel, repository not found

故障分(fēn)析

  無

處理(lǐ)過程

RHEL/CentOS 6 32-64 Biφ✘t

## RHEL/CentOS 6 32-Bit→§ ## #

#wget http://download.f ↓edoraproject.org/pub/epel/6/i38​¶‌6/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm  

## RHEL/CentOS 6 64-Bit ##
# wget http://download.fedoraproj£→αect.org/pub/epel/6/x86_64/epel-∞£release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.§Ωrpm
RHEL/CentOS 5 32-64 Bit

## RHEL/CentOS 5 32-Bit ##
# wget http://download.fedor↕σ×aproject.org/pub/epel/>>₽>5/i386/epel-release-5-♥"←★4.noarch.rpm
# rpm -ivh epel-release-5-4.noa&×¥'rch.rpm

## RHEL/CentOS 5 64-Bit ##
# wget http://download.f ®$ edoraproject.org/pub/eβγpel/5/x86_64/epel-release-5-4. ÷noarch.rpm
# rpm -ivh epel-release-5-4.noa¶"±←rch.rpm

RHEL/CentOS 4 32-64 Bit

## RHEL/CentOS 4 32-Bit ##
# wget http://download.f≈∞♠♥edoraproject.org/pub/e§∏✘pel/4/i386/epel-release-4-10.noarch.rp☆©φ<m
# rpm -ivh epel-release-4"δ-10.noarch.rpm

## RHEL/CentOS 4 64-Bi±εt ##
# wget http://downlo‍πad.fedoraproject.org/Ω↑α∞pub/epel/4/x86_64/epe←♠&↓l-release-4-10.noarch.rpm
# rpm -ivh epel-release-4-10.noarcγ" ₽h.rpm

 

建議(yì)/總結

  無

一区二区三区精密机械,国产色视频一区二区三区QQ号,久久久久国产一区二区三区,嫩草乱码一区三区四区,波多野结衣一区二区,好吊视频一区二区三区,色噜噜狠狠一区二区三区AV蜜芽,无码精品一区二区三区在线,天堂VA蜜桃一区二区三区,强伦轩人妻一区二区三区四区,亚洲日韩一区二区