{"id":1948,"date":"2014-01-29T12:30:50","date_gmt":"2014-01-29T17:30:50","guid":{"rendered":"http:\/\/www.dientoan.us\/?p=1948"},"modified":"2014-01-29T12:30:50","modified_gmt":"2014-01-29T17:30:50","slug":"notes-on-setting-up-linux-server-brianna","status":"publish","type":"post","link":"http:\/\/www.dientoan.us\/?p=1948","title":{"rendered":"Notes on setting up Linux server Brianna"},"content":{"rendered":"<p>A new Linux server is available to support laptop operation starting on 2\/24\/2014.<br \/>\nThese are the necessary steps to set up the server.<\/p>\n<p>1. Install Fedora Core 11 (disc 942) since the hardware platform is not suitable for cpu-intensive tasks such as ffmpeg. This is an old Celeron with limited memory capacity (only 448 MB with 320 GB hard disk).<\/p>\n<p>2. Change \/etc\/inittab to run in multi-user console mode.<br \/>\n   # Default runlevel. The runlevels used are:<br \/>\n   #   0 &#8211; halt (Do NOT set initdefault to this)<br \/>\n   #   1 &#8211; Single user mode<br \/>\n   #   2 &#8211; Multiuser, without NFS (The same as 3, if you do not have networking)<br \/>\n   #   3 &#8211; Full multiuser mode<br \/>\n   #   4 &#8211; unused<br \/>\n   #   5 &#8211; X11<br \/>\n   #   6 &#8211; reboot (Do NOT set initdefault to this)<br \/>\nid:3:initdefault:<\/p>\n<p>3. Assign static IP address (Brianna at .118). Check adapter address on Angelina (.108).<br \/>\n\/etc\/rc.local<br \/>\nifconfig eth0 xxx.xxx.xxx.118 netmask 255.255.255.0 up<\/p>\n<p>4. Disable SELinux policy in \/etc\/selinux\/config<br \/>\nSELINUX=disabled<\/p>\n<p>5. Set up SMB for Windows access.<br \/>\nyum install samba<br \/>\nModify the following lines at \/etc\/samba\/smb.conf<br \/>\n        workgroup = Linux<br \/>\n        server string = Brianna 1.0 GHz Celeron<br \/>\n        hosts allow = 192.168.224.<br \/>\n[documents]<br \/>\n        path = \/home\/xxxx\/Documents<br \/>\n        writeable = yes<br \/>\n        browseable = yes<br \/>\n        valid users = xxxx<\/p>\n<p>6. Set up SSH on Angelina for console access.<br \/>\n7. Yum install httpd (use ClearSpot USB access).<br \/>\nyum install httpd<br \/>\nyum install httpd-devel<\/p>\n<p>8. Set up the MySQL 5 databas\u1eb9<br \/>\nyum install mysql<br \/>\nyum install mysql-devel<\/p>\n<p>9. Set up php 5.2 package.<br \/>\nyum install php<\/p>\n<p>10. Set up GIMP graphic package.<br \/>\nyum install gimp<\/p>\n<p>11. Change the behavior of the console prompt at \/root\/ and ~<br \/>\ncat .bash_profile<br \/>\nPATH=$PATH:$HOME\/bin<br \/>\nexport PATH<br \/>\nexport HISTSIZE=10000<br \/>\nexport HISTCONTROL=erasedups<br \/>\nshopt -s histappend<br \/>\nPATH=$PATH:\/sbin:\/usr\/sbin<br \/>\nPS1=&#8217;! u w % &#8216;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new Linux server is available to support laptop operation starting on 2\/24\/2014. These are the necessary steps to set up the server. 1. Install Fedora Core 11 (disc 942) since the hardware platform is not suitable for cpu-intensive tasks &hellip; <a href=\"http:\/\/www.dientoan.us\/?p=1948\">\u0110\u1ecdc ti\u1ebfp <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.dientoan.us\/index.php?rest_route=\/wp\/v2\/posts\/1948"}],"collection":[{"href":"http:\/\/www.dientoan.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.dientoan.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.dientoan.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.dientoan.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1948"}],"version-history":[{"count":0,"href":"http:\/\/www.dientoan.us\/index.php?rest_route=\/wp\/v2\/posts\/1948\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.dientoan.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.dientoan.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1948"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.dientoan.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}