Jump to content


Popular Content

Showing content with the highest reputation since 10/14/2018 in all areas

  1. 1 point
    Upgrading Fedora 28 Workstation to Fedora 29 Using the command line This method is the recommended and supported way to upgrade from Fedora 28to Fedora 29. Using this plugin will make your upgrade to Fedora 29 simple and easy. 1. Update software and back up your system Before you do anything, you will want to make sure you have the latest software for Fedora 28 before beginning the upgrade process. To update your software, use GNOME Software or enter the following command in a terminal. sudo dnf upgrade --refresh Additionally, make sure you back up your system before proceeding. 2. Install the DNF plugin sudo dnf install dnf-plugin-system-upgrade 3. Start the update with DNF Now that your system is up-to-date, backed up, and you have the DNF plugin installed, you can begin the upgrade by using the following command in a terminal: sudo dnf system-upgrade download --releasever=29 This command will begin downloading all of the upgrades for your machine locally to prepare for the upgrade. If you have issues when upgrading because of packages without updates, broken dependencies, or retired packages, add the ‐‐allowerasing flag when typing the above command. This will allow DNF to remove packages that may be blocking your system upgrade. 4. Reboot and upgrade Once the previous command finishes downloading all of the upgrades, your system will be ready for rebooting. To boot your system into the upgrade process, type the following command in a terminal: sudo dnf system-upgrade reboot Your system will restart after this. Many releases ago, the fedup tool would create a new option on the kernel selection / boot screen. With the dnf-plugin-system-upgrade package, your system reboots into the current kernel installed for Fedora 29; this is normal. Shortly after the kernel selection screen, your system begins the upgrade process. Now might be a good time for a coffee break! Once it finishes, your system will restart and you’ll be able to log in to your newly upgraded Fedora 29 system.
  2. 1 point
    One final point in terms of security... Apache usually runs under a non-privileged account (httpd, www-data, etc - depending upon your distro) so this account needs: read access to any website content read and execute access to any website directories (execute priv = directory traversal permission) write access to any directories that it needs to amend content in (eg: caches, config dirs, upload dirs). The first two are quite easy: chmod 644 on any files and 755 on any directories and you're away. However, this also means that anyone else on the server can access website content, meaning they could be exposed to confidential information (such as database credentials, backdoor passwords, etc). Rather than set the content world-readable, two alternative options are: set the GROUP of the files/directories to match the group of the webserver account (www-data or the httpd group) then set file permissions to 640 and dirs to 750 Install suPHP on Apache, and set the content back to owner-only accessible. The first is probably a quick and dirty method of doing it, but restricts the content to read/write for owner and read-only for Apache (and nothing for anyone else), thus preventing anyone outside of the website owner and apache to access that content. The second is preferable - it makes Apache perform a "su" to the website owner, accessing it as though it owned the content. This means that all cache data and config files just need to be read/writeable by the owner - no messing about with allowing apache groups or world read-access. So why not go for that latter option all the time? There are some downsides: it requires some configuration at the Apache end, in particular a custom php.ini file per-site it requires setting file/dir permissions carefully, since suPHP will abort serving up content if the mode (owner/group/permissions) do not exactly match that in the suphp config file there is an additional processing overhead (apache needs to keep switching user prior to accessing/delivering content) which can impact busy sites. The alternative is that you set all content to 777 and not worry about it, which is what a lot of new web administrators do. And then they wonder how they got cracked, why they're serving up trojans and exploits on their websites, and how their server has become part of a spam-spewing botnet. I'm afraid "but I didn't know" isn't an adequate defence. "But I didn't research and thus permitted something easily exploitable to be let loose on the internet" is more accurate. Practise safe web administration, people. You know it makes sense!
  3. 1 point
    the easy way as root cd to the 'document root path' of your apache server and do as follows find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \; this sets all your files to 644 and all your directories to 755 for example, cd /usr/local/apache/website/mystuff find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \; cheers anyweb
  4. 1 point
  5. 1 point
    This is an old joke for me and after reading loads of yours I figured it was time for one of mine! At school the kids are asked to use the word contagious in a sentence... so who can tell me the teacher asks The first kid says I had chicken spots and I had to stay away from others because it was contagious. very good the teacher replied The second kid said my mom's a nurse and she said there were people at the hospital who have to be in separate rooms sometimes because the are contagious. that's great the teacher replies The third child to answer said painting a fence with a small brush Puzzled, how asked the teacher. Well my dad said our neighbour was painting their fence with a little brush and he said that's going to take that silly contagious.
  6. 1 point
    just type empathy in konsole then watch the konsole as you add a user in empathy same way you'd normally do it, the trick here is that any error messages will be left in the konsole...
  7. 1 point
    try starting empathy from a console and watch for error messages, post them here
  8. 1 point
    An 18 year old Italian girl tells her Mom that she has missed her period for 2 months. Very worried, the mother goes to the linuxtore and buys a pregnancy kit. The test result shows that the girl is pregnant. Shouting, cursing, crying, the mother says, "who was the pig that did this to you? I want to know!" The girl picks up the phone and makes a call. Half an hour later, a Ferrari stops in front of their house. A mature and distinguished man with gray hair and impeccably dressed in an Armani suit steps out of the of the Ferrari and enters the house. He sits in the living room with the father, mother, and the girl and tells them: "Good morning, your daughter has informed me of the problem. I can't marry her because of my personal family situation but I'll take charge. I will pay all costs and provide for your daughter for the rest of her life. Additionally, if a girl is born, I will bequeath a Ferrari, a beach house, 2 retail stores, a townhouse, a beachfront villa, and a $2,000,000 bank account. If a boy is born, my legacy will be a couple of factories and a $4,000,000 bank account. If twins, they will receive a factory and $2,000,000 each. However, if there is a miscarriage, what do you suggest I do?" At this point, the father, who had remained silent, places a hand firmly on the man's shoulder and tells him, "You do her again."
  9. 1 point
    first one that grabs me is an ssh tunnel? god i can hear my network admin crying.... he'll hate me for telling you! due to the fact of the security issues when a SSL based transfer is made the proxy simple opens the connect and doesn't tamper with it (correctly). Needless to say this is a huge hole in the proxy, so all you do it tunnel through.. currently or net admin is out smarting the users though, basically by forcing the issue with which port the SSL transfers can be made to, this stops bt/mule etc type connections. anyway.. im sure other ways exist, but
  10. 1 point
    You could if you wanted to just install the binary issung the following command: yum install httpd
  11. 1 point
    ok.. this line maybe throwing you off... echo "%_topdir /home/yourname/src/rpm" >> ~/.rpmmacros should actually be echo "%_topdir $HOME/src/rpm" >> ~/.rpmmacros You might want to manually edit the file and remove the previous addition. If its not this... this is good, the package installed.. the warning is a nothing just saying the rpm isn't signed. give us an output this: ls -lR ~/src/rpm maybe the rpm is different?
  12. 0 points
  13. 0 points
    This is exactly what Nagios is used for I will have a look at you script and send a replacement if you still need one. Kobus
  14. 0 points
    Heres a few jokes - enjoy! Six Classic Affairs The 1st Affair: A married man was having an affair with his secretary. One day they went her place and made love all afternoon. Exhausted, they fell asleep and woke up at 8 PM. The man hurriedly dressed and told his lover to take his shoes outside and rub them in the grass and dirt. He put on his shoes and drove home. "Where have you been?" his wife demanded. "I can't lie to you," he replied, "I'm having an affair with my secretary. We had sex all afternoon." "You lying bastard! You've been playing golf!" The 2nd Affair: A middle-aged couple had two beautiful daughters but always talked about having a son. They decided to try one last time for the son they always wanted. The wife got pregnant and delivered a healthy baby boy. The joyful father rushed to the nursery to see his new son. He was horrified at the ugliest child he had ever seen. He told his wife, "There's no way I can be the father of this baby. Look at the two beautiful daughters I fathered! Have you been fooling around behind my back?" The wife smiled sweetly and replied, "! Not this time!" The 3rd Affair: A mortician was working late one night. He examined the body of Mr. Schwartz, about to be cremated, and made a startling discovery. Schwartz had the largest private part he had ever seen! "I'm sorry Mr. Schwartz," the mortician commented, "I can't allow you to be cremated with such an impressive private part. It must! be saved for posterity." So, he removed it, stuffed it into his briefcase, and took it home. "I have to show you something you won't believe," he said to his wife, opening his briefcase. "My God!" the wife exclaimed, "Schwartz is dead?!?!" The 4th Affair: A woman was in bed with her lover when she heard her husband opening the front door. "Hurry," she said, "stand in the corner." She rubbed baby oil all over him, then dusted him with talcum powder. "Don't move until I tell you," she said. "Pretend you're a statue." "What's this?" the husband inquired as he entered the room. "Oh it's a statue." she replied. "The Smith's bought one and I liked it so much I got one for us, too." No more was said, not even when they went to bed. Around 2 AM the husband got up, went to the kitchen and returned with a sandwich and a beer. "Here," he said to the statue, "have this. I stood like that for two days at the Smith's and nobody offered me a damned thing." The 5th Affair: A man walked into a cafe, went to the bar and ordered a beer. "Certainly, Sir, that'll be one cent." "One Cent?" the man thought. He glanced at the menu and asked, "How much for a nice juicy steak and a bottle of wine?" "A nickel," the barman replied. "A nickel?" exclaimed the man. "Where's the guy who owns this place?" The bartender replied, "Upstairs, with my wife." The man asked, "What's he doing upstairs with your wife?" The bartender replied, "The same thing I'm doing to his business down here." The 6th Affair: Jake was dying. His wife sat at the bedside. He looked up and said weakly, "I have something I must confess." "There's no need to," his wife replied. "No," he insisted, "I want to die in peace. I slept with your sister, your best friend, her best friend, and your mother!" "I know, I know," she replied. "Now just rest and let the poison work." ************************* HOW TO SAVE THE AIRLINES Dump the male flight attendants. No one wanted them in the first place. Replace all the female flight attendants with good-looking strippers! What the hell --- They don't even serve food anymore, so what's the loss? The strippers would at least triple the alcohol sales and get a "party atmosphere" going in the cabin. And, of course, every businessman in this country would start flying again, hoping to see naked women. Because of the tips, female flight attendants wouldn't need a salary, thus saving even more money. I suspect tips would be so good that we could charge the women for working the plane and have them kick back 20% of the tips, including lap dances and "special services." Muslims would be afraid to get on the planes for fear of seeing naked women. Hijackings would come to a screeching halt, and the airline industry would see record revenues. This is definitely a win-win situation if we handle it right --- a golden opportunity to turn a liability into an asset. Why didn't Bush think of this? Why do I still have to do everything myself? Sincerely, Bill Clinton
  15. 0 points
    A man in Topeka, Kansas, decided to write a book about churches round the country. He started by flying to San Francisco and started working east from there. Going to a very large church he began taking photographs and making notes. He spotted a golden telephone on the vestibule wall with a sign that read, "$10,000 per minute." Seeking out the pastor, he asked about the phone and the sign. The pastor answered that the golden phone is, in fact, a direct line to Heaven, and if he pays the price, he can talk directly to God. The man thanked the pastor and continued on his way. As he continued to visit churches in Seattle, Salt Lake City, Denver, Chicago, Milwaukee, and around the United States, he found more such phones with the same sign and the same explanation from each pastor. Finally, the man arrived in the great state of Texas. Upon entering a church, behold, he saw the usual golden telephone. But THIS time, the sign read: "Calls: 25 cents" Fascinated, the man asked to speak with the pastor. "Reverend, I have been in cities all across the country and in each church I have found this golden telephone, and have been told it is a direct line to Heaven, and that I could use it to talk to God.... But in 20 other churches, the cost was $10,000 per minute. Your sign says 25 cents per call. Why is that? The pastor, smiling kindly, replied: "Son, you're in Texas now and it's a local call."
  16. 0 points
    That just change my bad mood
  17. 0 points
    i used this command to chmod apache folder, but somehow my forums has error hi everyone my forums have this proplem: i try to restart apache, but it tells me that server error then i run config for detail: Any idea? thanks p/s: I think the apache folder has proplem with chmod, what should i do to make it go back normal ? Other website html...etc. just work fine, but only forums has the proplem