Language Selection

English French German Italian Portuguese Spanish

Build a Secure Web Server with Mandriva 2005 LE

Filed under
MDV
HowTos

In this build, like the last one, we are going to gear our server towards dynamic content. That doesn't mean that static sites can't be run from this server. We'll once again build a LAMP (Linux Apache MySql Php) driven site. Since things like blogging and PHP-Nuke are so popular this server will be just the ticket. Imagine not having to pay hosting fees for your site anymore. It's a great thing!! This build is even more secure then the last one, and it was pretty tight.

We'll start by obtaining the Official Media which is "Mandriva Limited Edition 2005". There are updated versions for the club members that contain updated versions of some softwares but none of those will be used here. The updates pertain to desktop apps. Besides we want to stick with the officially supported software from Mandriva. It will receive all patches and security updates whereas the club versions will not.

Let's insert the first CD and configure the BIOS to boot from the CD-Rom. We are going to cover the Differences from the Workstation build only. So the first difference is the security level. When you get to this screen be sure to pick "Paranoid". This will set us up a "Chain-Rooted" configuration. What does that mean??? Well it will secure certain directories and also include a whole host of security checks to keep our server up to snuff on the security side of things. It also shuts down all ports and installs Shorewall firewall. Of course we'll tighten it down even further!! Here is the Screenshot.

Our next page of concern after Security is the "Partitioning" screen. The only word I have here is that Mandriva puts the Sql data and the Web root in the /var directory so be sure to make the /var directory large enough to handle your sites along with their respective databases. You can experiment with the partitioning tool and configure it just the way you like. I make my /var directory anywhere from 4-15 Gig depending on how many and how complex the websites are that the machine will be serving. To put things into perspective....LinuxLoader is now just over 1 year old and its at about 250Mb including its database. For our example build I made the /var about 10G. Since /home really won't contain much data, make it small. Here is our example server.

Full Article.

More in Tux Machines

When A Computer Is Ready for the Junk Pile

HBO//Devious Maids S04E01 Online 2016. HBO//Pretty Little Liars S7 E2 Online 2016.

Windows 'Upgrade'

  • When A Computer Is Ready for the Junk Pile
    To that point, there was a report that a mail server failure in a large business office remained a mystery for two days until someone found an old Pentium II back in the corner of some obscure closet with a burned out power supply. It is reported that the Slackware/Debian/Red Hat machine had been plugging away as a mail server for a number of years, completely unattended. That’s feasible I suppose, but I further suppose that it’s a modern day parable about how open source can indeed, carry the day.
  • Microsoft draws flak for pushing Windows 10 on PC users
    With about a month left for many PC users to upgrade to Windows 10 at no charge, Microsoft is being criticized for its aggressive — some say too aggressive — campaign to get people to install the new operating system.
  • Microsoft forks out thousands over forced Windows 10 upgrade
    Microsoft has had to pay a Windows user in California US$10,000 over a forced upgrade to Windows 10, according to a report in the Seattle Times. The user, Teri Goldstein, runs a travel agency in Sausalito, a San Francisco Bay Area city in Marin County, California.
  • A lawsuit over an unwanted Windows 10 upgrade just cost Microsoft $10,000
    Microsoft recently paid a (very small) price for its Windows 10 upgrade tactics, and that was before they became increasingly aggressive.
  • Updategate: California woman awarded $10,000 for borked Windows 10 upgrade
    A CALIFORNIA woman has set a precedent after a court ruled that she was entitled to damages over the installation of Windows 10 on her machine. Teri Goldstein, a travel agent, testified that the new operating system had auto-downloaded, started to install, failed, and left her Windows 7 computer running painfully slowly and often unusable for days. "I had never heard of Windows 10," Goldstein told reporters. "Nobody ever asked me if I wanted to update."
  • Microsoft pays out $10,000 for automatic Windows 10 installation
    Company withdraws appeal leaving it liable for $10,000 compensation judgment after botched automatic upgrade of travel agent’s computer
  • Microsoft Pays Woman $10,000 Over Its Forced Windows 10 Upgrade
    As a result of a legal suit, Microsoft has paid a woman $10,000 over the forced Windows 10 upgrade.
  • 'I urge everyone to fight back' – woman wins $10k from Microsoft over Windows 10 misery
    A California woman has won $10,000 from Microsoft after a sneaky Windows 10 update wrecked the computer she used to run her business. Now she's urging everyone to follow suit and "fight back." Teri Goldstein – who manages a travel agency in Sausalito, just north of San Francisco – told The Register she landed the compensation by taking Microsoft to a small claims court. Rather than pursue a regular lawsuit, she chose the smaller court because it was better suited to sorting out consumer complaints. Crucially, it meant Microsoft couldn't send one of its top-gun lawyers – or any lawyer in fact: small claims courts are informal and attorneys are generally not allowed. Instead, Redmond-based Microsoft had to send a consumer complaints rep to argue its case.

Canonical Releases New Kernel Update for Ubuntu 12.04 LTS and Ubuntu 14.04 LTS

We reported the other day that Canonical released a major kernel update for its Ubuntu 16.04 LTS (Xenial Xerus) operating system, and it appears that it also affected users of the Ubuntu 15.10 (Wily Werewolf) distribution. Read more

This programmable, open source outlet can do things that off-the-shelf smart plugs can't

Excited by the idea of an open-source, Arduino-based outlet, capable of remotely controlling your various household devices? If so, you’ll definitely want to check out the Portlet: a versatile portmanteau of “portable” and “outlet,” which — despite only consisting of 4 buttons and a simple 2×15 character LCD screen — can be programmed to do everything from switching your lights on at a certain time to keeping your coffee heated at the perfect temperature. Read more