[[研究室内のページ]]
+boot with DVD of Fedora 12 (Fedora-12-i686-Live) (2010.4.23)
+double click `Install to Hard Drive' on Desktop to install Fedora 12(2010.4.26)
+hostname was decided as 'tampopo'
+root password is set
+IP adress is set manually as 192.168.11.50 (right-click on the network setting icon and choose 'edit conections') (2010.4.27)
+reboot
+create non-administrative user('kobayasi') (2010.4.27)
+yum update(2010.4.27)
% su
# export proxy="http://proxy.nagaokaut.ac.jp:8080/"
# yum update
(the similar line was added to /etc/yum.conf however, it didn't work. maybe after rebooting it would work)
+anti-virus software was installed(2010.4.28)
# yum install clamav
# yum install clamav-update
# vi /etc/freshclam.conf
(modified as
#Example
HTTPProxyServer proxy.nagaokaut.ac.jp
)
# freshclam
# clamscan (現在のディレクトリを検査)
# clamscan -r / (/ディレクトリ内を検査)
+install nfs-utils to mount NFS filesystem
# yum install nfs-utils
+transfer data from suiba to tampopo(2010.4.30)
# mount suiba:/home /mnt/home/suiba
# cd /home
# cp -a /mnt/home/suiba/ali .
# cp -a /mnt/home/suiba/nagana .
etc...http://www.yahoo.co.jp/index.html
+setup telnet-server
# yum install telnet-server
# yum install system-config-services
# system-config-services
(telnet was turned to be enabled, xinetd was terned to be enabled and started)
+setup samba server for windows client
# yum install samba
# system-config-services
(smb was turned to be enable)
edit /etc/samba/smb.conf as follows:
workgroup = YOMOGI
hosts allow = 192.168.11. 127.
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
[public]
comment = Public Stuff
path = /home/samba
public = yes
writable = yes
printable = no
write list = +kobayasi
# cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
# smbpasswd -a kobayasi
# /etc/init.d/smb start
# /etc/init.d/nmb start
# yum install samba-swat
SELinux should be turned off in order for allow windows clients to manipulate filesystems of Samba server:
# vi /etc/selinux/config
(SELINUX=disabled)
# setenforce 0
+ NIS(2010.5.21)
# yum install ypserv
# domainname yomogi
# vi /etc/sysconfig/network
NISDOMAIN=yomogi
# vi /etc/ypserv
# Not everybody should see the shadow passwords, not secure, since
# under MSDOG everbody is root and can access ports < 1024 !!!
192.168.11. : * : shadow.byname : port
192.168.11. : * : passwd.adjunct.byname : port
+ VPN(2010.5.21) [[see here:http://www.plum-systems.co.jp/techinfo/openvpn/18.html#q135f17a]]
# cd /usr/share/openvpn/easy-rsa/2.0
# vi vars
export KEY_COUNTRY="JP"
etc...
# . ./vars
# ./clean-all
# ./build-ca
# ./build-key-server server
# ./build-key momiji
# ./build-dh
# cd keys/
# cp ca.crt ca.key dh1024.pem server.crt server.key /etc/openvpn/
# cd /usr/share/doc/openvpn-2.1.1/sample-config-files
# vi server.conf
+ backup HDD data of linux and windows PCs to tampopo
+ connected to UPS (2010.6.18)
+ suiba:/home was merged to tampopo:/home (2010.6.18)
+ switch file server from suiba to tampopo due to crash of suiba(2010.6.18)
+ FTP server(vsftbd) was installed(2010.7.8)
+ TeXlive was installed(2011.7.13)
# yum install texlive-east-asian
(1/11): mendexk-2.6e-48.fc12.i686.rpm | 47 kB
00:02
(2/11): netpbm-10.47.13-1.fc12.i686.rpm | 808 kB 00:17
(3/11): netpbm-progs-10.47.13-1.fc12.i686.rpm | 1.6 MB 00:19
(4/11): tex-preview-11.86-2.fc12.noarch.rpm | 51 kB 00:00
(5/11): texlive-east-asian-2007-48.fc12.i686.rpm | 357 kB 00:01
(6/11): texlive-latex-2007-48.fc12.i686.rpm | 79 kB 00:00
(7/11): texlive-texmf-east-asian-2007-34.fc12.noarch.rpm | 563 kB 00:10
(8/11): texlive-texmf-errata-east-asian-2007-7.fc12.noar | 5.4 kB 00:00
(9/11): texlive-texmf-errata-latex-2007-7.fc12.noarch.rp | 5.2 kB 00:00
(10/11): texlive-texmf-latex-2007-34.fc12.noarch.rpm | 5.3 MB 01:51
(11/11): texlive-utils-2007-48.fc12.i686.rpm | 204 kB 00:01
# yum install emacs-auctex texlive-afm texlive-dvips
(1/5): dvipng-1.13-1.fc12.i686.rpm | 96 kB 00:01
(2/5): emacs-auctex-11.86-2.fc12.noarch.rpm | 488 kB 00:09
(3/5): texlive-afm-2007-48.fc12.i686.rpm | 46 kB 00:01
(4/5): texlive-texmf-afm-2007-34.fc12.noarch.rpm | 4.5 MB 01:49
(5/5): texlive-texmf-errata-afm-2007-7.fc12.noarch.rpm | 5.2 kB 00:00
# yum install dvipdfmx
(1/2): dvipdfmx-0-0.30.20090708cvs.fc12.i686.rpm | 312 kB 00:09
(2/2): libpaper-1.1.23-6.fc12.i686.rpm | 33 kB 00:00
+rpmfusion* are installed to /etc/yum.repos.d/ from other host
+upgrade to Fedora 14
# preupgrade
+enable rpmfusion
# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora /rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
TODO:
- xv
-install ssh server for remote login
-setup to arrow root login
-setup rsync
-setup virtual network over subnet (1F room 158, 3F room 374, 5F room 570, and Kobayashi's office)
-setup nfs server for linux client
-switch the server from suiba to tampopo
Added samba user:
yamamoto-y,higashi,kawasaki,exp