This article will explain how you can install and configure a PXE Server on RHELCentOS 7 x64bit with mirrored local installation repositories, sources. In this guide well explain how to install and configure VNC Remote Access in latest release of CentOS 7 and RHEL 7 Desktop edition via tigervncserver program. How to Pretend Youve Read a Book. We might be at Peak TV now, but weve been at Peak Books for at least a century, and if you enjoy reading, its physically impossible to read every book you want to, much less waste time with ones you dont. What do you do if your book club picks a dud, or your dad insists you read 3. Nobel lecture You pretend youve read the book.
I consulted the experts on skimming books publishing industry professionals. While these people do read far more books than average, they have to get a passing understanding of many more. And in most situations, thats all youre being asked to do. So dont feel bad. Learn the story. Spark. The site for people who want to establish the Network Server with CentOS, Ubuntu, Fedora, Debian. Notes, Cliffs. Notes, and Shmoop have you covered on the classics, and youd be surprised to learn what counts as a classic Twilight, The Notebook, and The Da Vinci Code are all summarized and analyzed for free. Even if these sites have nothing, googling Spark. Notes plus your title might turn up a competitor. You might have to throw money at the problem Book. Rags charges a hefty 2. Notes charges 5. Wikipedia is terrible for book summaries. Start with the publisher description on Amazon, which will describe the first act or two. Then read the reviews on Goodreads. Do a ctrl F for. Youre not likely to find a detailed plot outline, but you can cobble together some sense of the direction. Lastly, read the beginning and end of the book. According to one publishing director, Book editors often need to read just the first 2. You might feel a pang of regret or anxiety thats just your brains hunger for narrative.
Dont mistake it for a moral qualm. Chances are that youve said to yourself, at least once, that you need to read more. WhetherRead more Read. Steal an opinion. The most important knowledge to fake isnt the plot or the characters, its opinions. Whoevers pressuring you to read a book, you know what they want you to think of it. You just need to find someone with that opinionor, if you want to discourage this behavior, the opposite opinionand steal it. Youll find your opinion in the Goodreads reviews, which are automatically sorted by most interesting. These top reviews, no matter the starred rating, often include positives and negatives. For example, check out the page for the widely beloved bad sci fi novel Dune. Even five star reviews acknowledge flaws like the tired Chosen One narrative or the single gay character being a soulless villain, and even two star reviews acknowledge Herberts imaginative concepts and the books influence on the genre. You can put your own opinion anywhere along this spectrum. For a refined, official opinion, especially on new books, try a trade review. Gabe Habash, fiction reviews editor at Publishers Weekly, advises Trade reviews like Publishers Weekly and Kirkus are short, cover the main trajectory of the plot, include character names and the setting, and even give an opinion, which you can choose to agree with or disagree withAnd they have the added benefit of coming out usually before the book itself has even been published, so you can be ahead of the curve. Youll inevitably find yourself agreeing with opinions youre not qualified to evaluate, because youre on the internet, and thats what it is for. In fact, the more conflicted your opinion, the more realistic it will seem. If thats still too much work, Maris Kreizman, editorial director of Book of the Month, has a great strategy for playing this game on hard mode Find a one star review on Goodreads and learn it and then stick to it no matter what. WAR IS PEACE. FREEDOM IS SLAVERY. IGNORANCE IS STRENGTH. Read the book a little. Reading a few pages of the book is crucial for understanding the tone. Tone, like the flavor of an unknown dish, cant be accurately conveyed by summary. I got advice from an editor at Penguin Random House, who reviews hundreds of books each year for possible publication If I am reading a book, whether its on submission or for my book club, I am looking for the voice or language, plot, or atmosphere to draw me in. And from there when I am a third or halfway through and realize that I am not as hooked by the language or plot sometimes a voice wears on me after awhile, or emotionally invested in the characters arcs, then my interest starts to drop off. I will admit to skimming an entire thriller or psychological suspense novel just to find out the ending, or sometimes Ill flip ahead to the last third or second half to see what happens. Obviously there are contexts in which you really have to read your assigned books if you skate through your college assignments like I did, youll regret it. But if someone demands you read a book simply for their personal pleasure, theyre bullying you, and by even pretending to read it you are already a Christ like humanitarian. There is no single book you have to read cover to cover in order to be a good person, and there are plenty that will make you a worse one. Save your time for the books you do want to read. Or at least for some good TV. It is physically impossible to watch every episode of every good TV show. Yet we actually feelRead more Read. Install Tomcat 7 on Cent. OS, RHEL, or Fedora David Ghedini. Install Tomcat 7 on Cent. OS, RHEL, or Fedora. This post will cover installing and basic configuration of Tomcat 7 on Cent. OS 5. x. or Cent. OS 6. x. Tomcat 7 implements the Java. Server Pages 2. 2 and Servlet 3. The Manager application also has a new look and finer grain roles and access than 6. In this post, well install Tomcat 7, the new JDK 7, configure Tomcat as a service, create a startstop script, and optionally configure Tomcat to run under a non root user. We will also configure basic access to Tomcat Manager and take a quick look at memory management using JAVAOPTSFinally, we will look at running Tomcat on port 8. Tomcat behind Apache. I have just updated this post with Tomcat 7. Tomcat 7. If you are using a different release, simply change the file names below accordingly. To begin, well need to install the Java Development Kit JDK 7. JDK 1. 6 is the minimum JDK version for Tomcat 7. Step 1 Install JDK 1. You can download the latest JDK here http www. Well install the latest JDK, which is JDK 7, Update 5. The JDK is specific to 3. My Cent. OS box is 6. Ill need jdk 7u. If you are on 3. 2 bit, youll need jdk 7u. Start by creating a new directory usrjava rootsrv. Change to the usrjava directory we created. Download the appropriate JDK and save it to usrjava directory we created above. Unpack jdk 7u. 5 linux x. This will create the directory usrjavajdk. This will be our JAVAHOME. We can now set JAVAHOME and put Java into the path of our users. To set it for your current session, you can issue the following from the CLI rootsrv. JAVAHOMEusrjavajdk. JAVAHOME. rootsrv. PATHJAVAHOMEbin PATH. PATH. To set the JAVAHOME permanently, however, we need to add below to the. We can also add it etcprofile and then source it to give to all users. JAVAHOMEusrjavajdk. JAVAHOME. PATHJAVAHOMEbin PATH. Once you have added the above to. JAVAHOME is set correctly. rootsrv. JAVAHOME. usrjavajdk. Note If you decided to use JDK 6 rather than 7 as we did above, simply save the JDK 6 bin file to opt or another location, then navigate to usrjava and issue sh optjdk 6u. This will create a JAVA Home of usrjavajdk. Step 2 Download and Unpack Tomcat 7. We will install Tomcat 7 under usrshare. Switch to the usrshare directory rootsrv. Download apache tomcat 7. Once downloaded, you should verify the MD5 Checksum for your Tomcat download using the md. Compare the output above to the MD5 Checksum provided next to the download link and you used above and check that it matches. This will create the directory usrshareapache tomcat 7. Step 3 Configure Tomcat to Run as a Service. We will now see how to run Tomcat as a service and create a simple StartStopRestart script, as well as to start Tomcat at boot. Change to the etcinit. And here is the script we will use. binbash. Tomcat Start Stop Restart. JAVAHOMEusrjavajdk. JAVAHOME. PATHJAVAHOMEbin PATH. CATALINAHOMEusrshareapache tomcat 7. CATALINAHOMEbinstartup. CATALINAHOMEbinshutdown. CATALINAHOMEbinshutdown. CATALINAHOMEbinstartup. The above script is simple and contains all of the basic elements you will need to get going. As you can see, we are simply calling the startup. Tomcat bin directory usrshareapache tomcat 7. You can adjust your script according to your needs and, in subsequent posts, well look at additional examples. CATALINAHOME is the Tomcat home directory usrshareapache tomcat 7. Now, set the permissions for your script to make it executable rootsrv. We now use the chkconfig utility to have Tomcat start at boot time. In my script above, I am using chkconfig 2. You can adjust as needed. rootsrv. Verify it rootsrv. Now, lets test our script. Start Tomcat. rootsrv. Using CATALINABASE usrshareapache tomcat 7. Using CATALINAHOME usrshareapache tomcat 7. Using CATALINATMPDIR usrshareapache tomcat 7. Using JREHOME usrjavajdk. Using CLASSPATH usrshareapache tomcat 7. Stop Tomcat rootsrv. Using CATALINABASE usrshareapache tomcat 7. Using CATALINAHOME usrshareapache tomcat 7. Using CATALINATMPDIR usrshareapache tomcat 7. Using JREHOME usrjavajdk. Using CLASSPATH usrshareapache tomcat 7. Restarting Tomcat Must be started first rootsrv. Using CATALINABASE usrshareapache tomcat 7. Using CATALINAHOME usrshareapache tomcat 7. Using CATALINATMPDIR usrshareapache tomcat 7. Using JREHOME usrjavajdk. Using CLASSPATH usrshareapache tomcat 7. Using CATALINABASE usrshareapache tomcat 7. Using CATALINAHOME usrshareapache tomcat 7. Using CATALINATMPDIR usrshareapache tomcat 7. Using JREHOME usrjavajdk. Using CLASSPATH usrshareapache tomcat 7. We should review the Catalina. We can now access the Tomcat Manager page at http yourdomain. IPaddress 8. 08. Tomcat home page. Step 4 Configuring Tomcat Manager Access. Tomcat 7 contains a number of changes that offer finer grain roles. For security reasons, no users or passwords are created for the Tomcat manager roles by default. In a production deployment, it is always best to remove the Manager. To set roles, user names and passwords, we need to configure the tomcat users. CATALINAHOMEconftomcat users. In the case of our installation, CATALINAHOME is located at usrshareapache tomcat 7. By default the Tomcat 7 tomcat users. New roles for Tomcat 7 offer finer grained access and The following roles are now available manager guimanager statusmanager jmxmanager scriptadmin guadmin script. We can set the manager gui role, for example as below. Caution should be exercised in granting multiple roles so as not to under mind security. Step 5 Oprtional Manage Memory Usage Using JAVAOPTS. Getting the right heap memory settings for your installation will depend on a number of factors. For simplicity, we will set our inital heap size, Xms, and our maximum heap size, Xmx, to the same value of 1. Mb. Simliarly, there are several approaches you can take as to where and how you set your JAVAOPTSAgain, for simplicity, we will add our JAVAOPTS memory parameters in our Catalina. So, open the Catalina. Since we are using 1. Mb for both initial and maximum heap size, add the following line to Catalina. JAVAOPTS Xms. Xmx. 12. 8m. I usually just add this in the second line of the file so it looks as so. JAVAOPTS Xms. Xmx. 12. 8m. Licensed to the Apache Software Foundation ASF under one or more. See the NOTICE file distributed with. The ASF licenses this file to You under the Apache License, Version 2. License you may not use this file except in compliance with. License. You may obtain a copy of the License at. Step 6 Optional How to Run Tomcat using Minimally Privileged non root User. In our Tomcat configuration above, we are running Tomcat as Root. For security reasons, it is always best to run services with the only those privileges that are necessary. There are some who make a strong case that this is not required, but its always best to err on the side of caution. To run Tomcat as non root user, we need to do the following 1. Create the group tomcat rootsrv. Create the user tomcat and add this user to the tomcat group we created above. rootsrv. The above will create a home directory for the user tomcat in the default user home as hometomcat. If we want the home directory to be elsewhere, we simply specify so using the d switch. rootsrv. The above will create the user tomcats home directory as usrshareapache tomcat 7. Change ownership of the tomcat files to the user tomcat we created above rootsrv. Rf tomcat. tomcat usrshareapache tomcat 7. Note it is possible to enhance our security still further by making certain files and directories read only. This will not be covered in this post and care should be used when setting such. Adjust the startstop service script we created above. In our new script, we need to su to the user tomcat binbash. Tomcat Start Stop Restart. JAVAHOMEusrjavajdk. JAVAHOME. PATHJAVAHOMEbin PATH. CATALINAHOMEusrshareapache tomcat 7. CATALINAHOMEstartup. CATALINAHOMEshutdown. CATALINAHOMEshutdown. CATALINAHOMEstartup. Step 7 Optional How to Run Tomcat on Port 8.