Initializing MySQL database: Installing MySQL system tables...OKFilling help tables...OKTo start mysqld at boot time you have to copysupport-files/mysql.server to the right place for your system
(1)把驱动加入黑名单 编辑 /etc/modprobe.d/blacklist.conf ,在文件后面加入blacklist nouveau (2)root用户下运行如下两条命令: mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak dracut -v /boot/initramfs
1.查看内核文件 ls /usr/src 显示没有文件 uname -r 显示2.6.32-5-686 然后安装头文件 apt-get install linux-headers-2.6.32-5-686 2.apt-get install make 3.apt-get install build-essent
vim /boot/grub/grub.cfg
# --------------------------------------------------- # .bash_profile # --------------------------------------------------- # OS User: grid # Application: Oracle Grid Infrastructure #
配置文件: udev的配置文件位于 /etc/udev/ 和 /lib/udev/ ( # 开头的是注释) udev 的主配置文件是 /etc/udev/udev.conf。 它包含一套变量,允许用户修改 udev 默认值。可以设置的变量如下: udev_root 设备目录,默认是 /dev udev_log 日志等级(表示严重程度),跟 syslog 一致,例如: err, info,
udevinfo -a -p $(udevinfo -q path -n /dev/<device>) scsi_id -g [-x] -s /block/<device>
#snmptranslate -On SNMPv2-MIB::system #snmpconf #snmpwalk -v1 -c public 192.168.1.254
rhel-server-5.4-x86_64 keepalived-1.2.1.tar.gz yum install openssl gcc kernel-devel -y ./configure --prefix=/usr/local/keepalived --sysconf=/etc \ --with-kernel-dir=/usr/src/kernels/2.6.18-164.el5
Unusual USB Media In a few cases with oddly formatted or partitioned USB media, p_w_picpath writing may fail. You can install Red Hat Enterprise Linux on 32-bit x86 systems and BIOS-base
#yum install samba -y #vim /etc/samba/smb.conf #smbpasswd -a user1 #smbclient -L //192.168.1.3/share -U user1 #smbclient //192.168.1.3/share -U user1 #mount -t cifs //192.168.1.3/share /m
Features: 1.Anonymous and user -based FTP sessions 2.SSL support ( provided by SSH ) no need for VSFTPD 3.Does not permit 'root' access , by default Tasks: 1.Install using: 'yum' 2.Enable 'vsftp
Samba Server 1.Install 'samba' package 2.Explore default configuration: a. '/etc/samba/smb.conf' - monolithic configuration file b.'/etc/samba/smbusers' - Samba Serv
Ctrl-Shift-t creates a new tab Ctrl-PgUp/PgDn switches to next/prev tab Ctrl-Shift-c copies selected text Ctrl-Shift-v pastes text to the prompt Shift-PgUp/PgDn scrolls up and down a screen at a t
Ctrl-a moves to beginning of line Ctrl-e moves to end of line Ctrl-u deletes to beginning of line Ctrl-k deletes to end of line Ctrl-arrow moves left or right by word
dd if=/dev/zero of=data01 bs=1M count=5
# CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the c
yum groupinstall "X Window System" yum groupinstall "Desktop"
#yum install postfix #vim /etc/postfix/main.cf myhostname = postfix.contoso.msft mydomain = contoso.msft myorigin = #myhostname mydestination = $mydomain inet_interfaces = all mynetworks_style
#vim /etc/exports/home 10.1.1.0/24(rw,async,no_root_squash) #mount 10.1.1.1:/home /mnt #vim /etc/fstab10.1.1.1:/home /home nfs defaults &nb
Step 1 #yum install ypserv Step 2 #chkconfig time on or chkconfig time-stream on#chkconfig time-udp on or chkconfig time-dgram on#service xinetd restart Step 3 #nisdomainname contoso.msft#echo '/
which adsl-setup /sbin/adsl-setup rpm -qf /sbin/adsl-setup rp-pppoe-3.5-22
1 yum install gcc* pcre* openssl* -y 2 ./configure --with-http_stub_status_module --with-http_ssl_module make && make install
echo "1" > /proc/sys/net/ipv4/ip_forward 永久开启,可编辑以下文件 /etc/rc.d/rc.local vi /etc/sysctl.conf
1.related componet #yum install bind bind-chroot caching-nameserver -y 2.Edit Configuration File #cd /var/named/chroot/etc #cp -p named.caching-nameserver.conf named.conf #vim named.conf li
Step 1 #yum install sendmail sendmail-cf #yum install dovecot Step 2 #vim /etc/mail/sendmail.mc Addr=0.0.0.0 TRUST_AUTH_MECH define('confAUTH_MECHANISMS','EXTERNAL GSSAPI DIGEST-MD3 LOGIN
cfgmaker --global 'WorkDir: /var/www/mrtg' \ --global 'Options[_]: bits,growright' \ &n
[root@test]# mkdir -p /u01/swap [root@test]# dd if=/dev/zero of=/u01/swap/swap bs=1024 count=2048000 2048000+0 records in 2048000+0 records out [root@test]# mkswap /u01/swap/swap Setting up swaps
sqlplus user/passwd@//host:1521/orcl as sysdba
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号