Time of Update: 2015-06-30
標籤:首先centos7 已經不支援mysql,因為收費了你懂得,所以內部整合了mariadb,而安裝mysql的話會和mariadb的檔案衝突,所以需要先卸載掉mariadb,以下為卸載mariadb,安裝mysql的步驟。 #列出所有被安裝的rpm package rpm -qa | grep mariadb #卸載rpm -e
Time of Update: 2015-06-29
標籤:設定檔 linux 軟體包 思路:卸載redhat內建yum,然後下載centos的yum,安裝後修改設定檔 1、首先到http://mirrors.163.com/centos下載軟體包 x86 地址:http://mirrors.163.com/centos/6/os/i386/Packages/x86_64
Time of Update: 2015-06-28
標籤:整理一些常用的命令(持續更新):查看連接埠是否開啟: netstat -an | grep prot (查看是否開啟23連接埠) |:通道的意思,grep是指查看當前字元所在的行LINUX通過下面的命令可以開啟允許對外訪問的網路連接埠: /sbin/iptables -I INPUT -p tcp --dport 8000 -j ACCEPT #開啟8000連接埠 /etc/rc.d/init.d/iptables save #儲存配置
Time of Update: 2015-06-28
標籤:引言:我們必須明白:最小的許可權+最少的服務=最大的安全所以,無論是配置任何伺服器,我們都必須把不用的服務關閉、把系統使用權限設定到最小話,這樣才能保證伺服器最大的安全。下面是CentOS伺服器安全設定,供大家參考。 系統營運 www.osyunwei.com
Time of Update: 2015-06-30
標籤:centos 7.1 run level initial在大多數的linux發行版本中,通常有8個 runlevelRunlevel System State0 Halt the system1 Single user mode2 Basic multi user mode3 Multi user mode5 Multi user mode with GUI6 Reboot the systemS, s Single user mode可以在檔案 /etc/inittab
Time of Update: 2015-06-30
標籤:linux、centos、虛擬機器、安裝一、安裝CentOS 6.5用光碟片成功引導系統,會出現下面的介面650) this.width=650;" src="http://blog.itpub.net/attachment/201409/19/29819001_1411112632aJMt.jpg" width="637" height="462" style="border:0px;" />介面說明:Install or upgrade an existing
Time of Update: 2015-06-30
標籤:centos 7.1 hwclock ntpdate查看時區// cat /etc/localtime[[email protected] ~]# cat /etc/localtime TZif?\???‘p?????Z??6ip ~h?!Iap"^J?#)Cp$Gg%_?&‘I&?A?(+(?#?~?p?CDTCSTTZif2 &
Time of Update: 2015-06-30
標籤:暴力破解 ssh denyhosts hosts.deny Centos Denyhosts
Time of Update: 2015-06-30
標籤:linux 修改時間當我們使用CentOS時候,發現bios系統時間不對,那這個時候我們怎麼修改了?方法如下:[[email protected] ~]# hwclock --show //顯示當前bios 時間2015年06月28日 星期日 12時55分28秒 -0.826052 seconds[[email protected] ~]# date
Time of Update: 2015-06-30
標籤:本來幾下yum都能裝好的,yum卻出問題了,報錯:AttributeError: ‘YumBaseCli‘ object has no attribute ‘_not_found_i‘,可能是某個檔案縮排出了問題,搞了半天沒弄明白,乾脆重裝yum:首先確保你有root許可權,下面命令有些指定sudo,有些yum install沒有指定,但是還是要root許可權的。1. yum卸載:rpm -aq|grep yum查看yum包,rpm -e --nodeps yum**** 卸載yum2.
Time of Update: 2015-06-30
標籤:我們開機網卡不能啟動所以只能使用ifup eth0 (eth0指的網卡)來啟動了,但是每一次都這樣感覺不方便希望開機自動啟動網卡後來百度搜尋了一下發現可以通過修改網卡( ifcfg-eth0)參數來修改為開機啟動,即開啟 ifcfg-eth0
Time of Update: 2015-06-30
標籤:在《Xen虛擬機器磁碟鏡像模板製作(三)—CentOS 7》一文中,我們已經成功製作出了 CentOS7 磁碟鏡像。下面我們說明下如何通過它來產生目標虛擬機器,同時測試下之前製作好的虛擬機器磁碟鏡像模版是否有問題。1、建立目標虛擬機器的系統硬碟:[[email protected] ~]# lvcreate -L 15G -n centos7_vm vg0 Logical volume "centos7_vm" created2、查看成功建立的虛擬機器系統硬碟:[[
Time of Update: 2015-06-29
標籤:centos shell 使用者修改 賬戶到期 使用者操作在目前來說用的不是很多,為了便於以後翻閱還是將其整理一下吧。useradd使用者添加命令:格式:useradd [options] USERNAME。常用的幾個選項有: 1) -r 建立系統使用者例如:useradd -r
Time of Update: 2015-06-29
標籤:gcc gcc4.8.2 ld_library_path linux monaserver 伺服器上安裝的GCC版本過舊,不足以滿足個人使用的版本需求,故決定對其進行升級操作,由目前的版本3.4.6升級到4.8.2,受許可權制約,只能安裝到個人指定目錄,因此如果您的伺服器可以串連外網,並且有root或者sudo許可權的話,
Time of Update: 2015-06-29
標籤:centos最近在重溫linux的知識,感覺還是有很多問題會出現將遇到的問題整理如下: 1、在通過vitrualbox安裝好mini版centos,在安裝lnmp環境的時候需要yum安裝wget在命令列輸入yum install wget斷行符號的時候出現一下錯誤: 650) this.width=650;"
Time of Update: 2015-06-28
標籤:UPDATE 7/7/13: If you want to use Catalyst drivers version 12.8 you will find that X won’t start (error msg: /usr/lib/xorg/modules/drivers/fglrx_drv.so: undefined symbol: noXFree86DRIExtension) if you installed CentOS 6.4. Catalyst > 12.
Time of Update: 2015-06-28
標籤:centos 71.查看IP地址[[email protected] ~]# ip a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host
Time of Update: 2015-06-28
標籤:1)到ati的官網(http://support.amd.com/us/gpudownload/Pages/index.aspx)下載相應的驅動,一定要注意 radeon系列和mobility radeon系列的區別。筆記本當然是Mobility Radeon。2)備份原設定檔。 cp /etc/X11/xorg.conf
Time of Update: 2015-06-28
標籤: 環境: centos 6.3 核心(GNU貌似大家都知道)顯卡:ATI Mobility Radeon HD 3470安裝顯卡流程:1、官網下載最新驅動http://support.amd.com/us/gpudownload/linux/legacy/Pages/legacy-radeon_linux.aspx2、放進 : /home/Download(這個隨意放)3、解壓:unzip amd_xxxxxxxxxxxxxxxxxx.zip 解壓出
Time of Update: 2015-06-28
標籤:CentOS下yum安裝LAMP 1. 用yum安裝Apache,Mysql,PHP.1.1安裝Apache yum install httpd httpd-devel 安裝完成後,用/etc/init.d/httpd start 啟動apache設為開機啟動:chkconfig httpd on 1.2 安裝mysql 1.2.1 yum install mysql mysql-server mysql-devel 同樣,完成後,用/etc/init.d/mysqld