{"id":1919,"date":"2011-11-29T21:17:07","date_gmt":"2011-11-30T03:17:07","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=1919"},"modified":"2011-12-28T15:30:07","modified_gmt":"2011-12-28T21:30:07","slug":"fedora-16-etc-rc-local","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/fedora-16-etc-rc-local\/","title":{"rendered":"[Solved]Fedora 16 \/etc\/rc.local is missing"},"content":{"rendered":"<style>\nh2{\nmargin-top:20px;\n}\n<\/style>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" data-attachment-id=\"1508\" data-permalink=\"https:\/\/icesquare.com\/wordpress\/upgrade-fedora-linux-using-command-line\/fedora-logo\/#main\" data-orig-file=\"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo.png\" data-orig-size=\"275,272\" data-comments-opened=\"1\" data-image-title=\"Fedora\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo.png\" src=\"\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-150x150.png\" alt=\"\" title=\"Fedora\" class=\"alignleft size-thumbnail wp-image-1508\" srcset=\"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-150x150.png 150w, https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-177x177.png 177w, https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-35x35.png 35w, https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-164x164.png 164w, https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-185x185.png 185w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/p>\n<p>Finally, I got a chance to try the new Fedora 16. The overall experience is pretty good, except that it comes with some troublesomes. I guess it is a bonus feature to test your troubleshooting skills. No problem, those are piece of cake to me. After trying for about 15 mins, I found two minor computer problem so far: Missing <strong>rc.local<\/strong> and <strong>ntpdate<\/strong>.<\/p>\n<div style=\"margin:20px;\"><\/div>\n<h2>How to fix Missing rc.local<\/h2>\n<p>By default, rc.local is missing in Fedora 16. To create it, simply do the following:<\/p>\n<pre>\r\nsudo nano \/etc\/rc.d\/rc.local\r\n<\/pre>\n<p>and include your start-up script in the file, e.g.,<br \/>\n<\/p>\n<pre>\r\n#!\/bin\/sh\r\n\/opt\/lampp\/lampp startapache\r\n<\/pre>\n<p>Next, we need to change the ownership:<\/p>\n<pre>\r\nsudo chmod a+x \/etc\/rc.d\/rc.local\r\n<\/pre>\n<p>and create a symbolic link:<\/p>\n<pre>\r\nsudo ln -s \/etc\/rc.d\/rc.local \/etc\r\n<\/pre>\n<p>Now, try to reboot your computer. The script should start at the boot.<br \/>\n<\/p>\n<h2>Missing ntpdate<\/h2>\n<p>Typically I manually synchronize the computer time with a reference server, e.g.,<\/p>\n<pre>\r\nsudo ntpdate time.nist.gov\r\n<\/pre>\n<p>However, I guess Fedora team wants to move to NTP service, so they decide to take the ntpdate command away. All you need to do is to install it back, i.e.,<\/p>\n<pre>\r\nsudo yum install ntpdate -y\r\n<\/pre>\n<p>Enjoy the new Fedora 16.<\/p>\n<p>&#8211;Derrick<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally, I got a chance to try the new Fedora 16. The overall experience is pretty good, except that it comes with some troublesomes. I guess it is a bonus <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/fedora-16-etc-rc-local\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,144,6,69],"tags":[136],"class_list":["post-1919","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-sever-problem","category-technology","category-troubleshooting-technology","tag-fedora-16"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-uX","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2523,"url":"https:\/\/icesquare.com\/wordpress\/how-to-clean-up-reset-user-account-to-default-on-linux-ubuntu-fedora-automatically\/","url_meta":{"origin":1919,"position":0},"title":"How to Clean Up \/ Reset User Account To Default on Linux, Ubuntu, Fedora Automatically","author":"Derrick","date":"January 17, 2012","format":false,"excerpt":"Imagine that you set up a computer at a public location, such as cafe, library, or computer lab in your school, so that any one can use your computer. Most of the time, users mainly use the web browsers for surfing the web, checking the email, or updating the status\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3692,"url":"https:\/\/icesquare.com\/wordpress\/centos-7-epel-remi-location\/","url_meta":{"origin":1919,"position":1},"title":"CentOS 7 EPEL \/ REMI Location","author":"Derrick","date":"July 18, 2014","format":false,"excerpt":"CentOS 7 was released about a week ago, so I decided to give it a try. As you probably know, CentOS is a clone of Red Hat Enterprise Linux(RHEL). Typically, Red Hat put the new features in Fedora first. If things go well, they will move the new features to\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1643,"url":"https:\/\/icesquare.com\/wordpress\/set-up-pure-ftpd-server-with-virtual-user-on-fedora-linux\/","url_meta":{"origin":1919,"position":2},"title":"How to Set up a Pure-FTPd Server with Virtual User on Fedora","author":"Derrick","date":"October 11, 2011","format":false,"excerpt":"This tutorial is for Fedora Linux. If you are looking for setting up Pure-FTPd on FreeBSD, click here. My client likes to send me a huge data file (More than 10GB after compressed). Since I don't care about the security during the transfer, I decide to go with the old\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/10\/pure-ftpd.png","width":350,"height":200},"classes":[]},{"id":1601,"url":"https:\/\/icesquare.com\/wordpress\/freebsd-startup-script-how-to-start-a-script-on-boot-in-freebsd\/","url_meta":{"origin":1919,"position":3},"title":"FreeBSD Startup Script &#8211; How to Start a Script on Boot in FreeBSD (An Alternative Solution to \/etc\/rc.local)","author":"Derrick","date":"September 22, 2011","format":false,"excerpt":"I want to start a script when booting my FreeBSD box automatically. Unlike Linux, FreeBSD does not honor the script you put in \/etc\/rc.local. Usually it is recommended to use the rc service (See here for details), however I think it is too complicated to convert my script to a\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":305,"url":"https:\/\/icesquare.com\/wordpress\/installing-xampp-on-fedora-12-64-bit\/","url_meta":{"origin":1919,"position":4},"title":"Installing XAMPP on Fedora 12 64-bit system","author":"Derrick","date":"December 8, 2009","format":false,"excerpt":"I was installing XAMPP on Fedora 11 64-bit today, and I saw this famous message: sudo \/opt\/lampp\/lampp startapache XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system. The message is very clear that XAMPP doesn't like 32-bit system. So, we\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2156,"url":"https:\/\/icesquare.com\/wordpress\/cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysql-sock-2\/","url_meta":{"origin":1919,"position":5},"title":"Can&#8217;t connect to local MySQL server through socket &#8216;\/var\/lib\/mysql\/mysql.sock&#8217; (2)","author":"Derrick","date":"December 21, 2011","format":false,"excerpt":"When I tried to connect to the MySQL server through PHP, I got the following error: Can't connect to local MySQL server through socket '\/var\/lib\/mysql\/mysql.sock' (2) To give you some background, here is my situation. My Fedora Linux is a 64-bit machine, and I have installed a 32-bit version of\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1919"}],"version-history":[{"count":13,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1919\/revisions"}],"predecessor-version":[{"id":2353,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1919\/revisions\/2353"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}