Currently browsing category

Linux, Page 36

Linux notes – disable SELINUX

# /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: …

linux notes : Set passwd for mysql

Sam-Tsengs-Computer:/usr/local/mysql/bin samtz$ ./mysql -u root mysql Reading table information for completion of table and column names You can turn off this feature …

Linux Notes – Users’ cgi setting

User Directories To allow CGI program execution for any file ending in .cgi in users’ directories, you can use the following configuration. …

Linux Notes – hosts

/etc/hosts.allow in.telnetd: 61.221.117.242/255.255.255.0, 163.26.198.1, .funny.net.tw : Allow in.proftpd: 61.221.117.242/255.255.255.0, 163.26.198.1, .funny.net.tw : Allow /etc/hosts.deny in.telnetd: ALL : Deny in.proftpd: ALL : Deny

How to reinstall grub?

it should be /dev/hda instead of /dev/hda1, so that the bootloader will be installed in your master boot record. When you get …

Linux notes – rpm

cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..} rpm -bb SPECS/bcm5700.spec or rpmbuild -bb SPECS/bcm5700.spec (for RPM version 4.x.x)

Linux on the IBM ThinkPad X31

This document describes the installation and configuration of Linux on the IBM ThinkPad X31, model number TK1C8UK. This machine is so incredible, …