Uncategorized

Fallout Online client (FOnline:2238)

This FOnline:2238 client is pre-configured by me, which makes it easier to run.
Try it if you have a problem with “official” client. I also recommend it for any new player.

» download FOnline:2238 client « 

Installation instructions

  • Download and unzip the file FOnline2238.zip
  • Copy master.dat and critter.dat into data folder OR run FO2238Config.exe and in DataFiles
    tab specify paths to master.dat and critter.dat.


FAQ

  • Where can I get master.dat and critter.dat from?
  • These files are part of Fallout 2.
    To get them you can buy Fallout 2 on gog.com as well as in many other places.
  • OK, I have both dat files, paths are set up correctly, but I still can’t run FOnline!
  • Run Updater.exe. Try both FOnline.exe and FOnlineGL.exe.
    If it still doesn’t work, this thread is the best place to look for help.
This client is preconfigured version of the official client. I prepare it by hand, so sometimes it may
be out-of-date. In such case simply run updater. If updater doesn’t work, you can get the files you
need individually from http://fonline2238.net/update/.

The official client can be downloaded from http://fonline2238.net/files/FOnline2238_Client.zip.
It’s updated automatically every hour, but more difficult to set up compared to my release.

Full list of differences between my release and official release
 – Added file Readme.txt with information about Master.dat and Critter.dat.
 – Added folder Manual with link to FOnline wiki.
 – Added file FOnline.cfg (so you don’t have to run FOConfig.exe), differences compared to
default configuration:

  • English language instead of Russian
  • Running is enabled by default
  • Fixed FPS is set to -15 instead of 100
  • Server host and port is configured properly
  • Updater paths are configured properly

– Added file FOnline2238.cfg (so you don’t have to run FO2238Config.exe unless you want to
have Master.dat and Critter.dat outside of data folder), differences compared to default configuration:

  • Displaying player names enabled

– Added file DataFiles2238.cfg with default paths to Master.dat and Critter.dat pointing to data folder.


From 

JovankaB

http://fonline2238.net/forum/index.php/topic,22146.0.html

Win7 cgminer setup guide

Submitted by Graet on 

Forums: 

cgminer is Ozcoin’s recommened miner.
The official thread for support and development of cgminer, the combined gpu and cpu miner written in c, cross platform for windows, linux and osx, based on the original code cpuminer.
Forum and download links here https://bitcointalk.org/index.php?topic=28402.0
This is a guide for windows – for those on linux or wanting to use cgminer on linux there is an excellent guide by kanoi included in the cgminer folder to setting up on a usb drive which can also be used to setup cgminer on hdd.
This guide assumes you have already created a worker and worker password. Please DO NOT use site user account password for miner passwords.
The guide
1: Download Windows binary from https://bitcointalk.org/index.php?topic=28402.0
2: Extract to preffered location (I dump it on C: but will work fine from other partitions or drvies)
3: Open notepad
copy and paste the following without the “”s

@echo on
ECHO “Example cgminer miner startup file (set your own user and password)”
ECHO.
cgminer.exe -o http://pool:port -u username.workername -p password

set your own username.worker and password
save the notepad as cgminer.bat in the previously extracted cgminer folder
*Note1
4: Create shortcut to dekstop for cgminer.bat
5: Double click cgminer.bat, wait a moment while cgminer starts up
6: Look in cgminer console to see you are submitting shares
7: Check on site that workers are submitting shares, please be aware stats on the site can take up[ to 10minutes to update 🙂
*Note1: This is the most basic parameters needed to run cgminer
cgminer is very fully functioned and allows for overclocking, fan control and much much more from the .bat,command line or on the fly from within the program,
2 examples of my command lines
single card dedicated rig with failover set
cgminer.exe -o http://us.ozco.in:8332 -u graet.g9 -p 1234 -o http://eu.ozco.in:8332 -u graet.g9 -p 1234 -o http://au.ozco.in:8332 -u graet.g9 -p 1234 -I 9 –auto-fan –gpu-engine 900 –gpu-powertune 20 –donation 1
My desktop with 3 cards, I use the middle screen for tv and videos, so it has lower intensity set
cgminer.exe -o http://eu.ozco.in:8332 -u graet.20 -p p -I 8,6,9 –auto-fan –gpu-engine 890 –donation 1
I encourage users to check the README.txt in the cgminer folder and use the options that get them the best performance possible on their rigs 🙂
At step 4: a mate renamed the shortcut to “make money” made it easy to tell his wife how to restart cgminer if he was out and rig crashed, lol.
Hope this is a help 😀

for my 6950 in a .bat file I use:


cgminer.exe -o http://pool:port -u user -p password  -I 8 –auto-fan –gpu-engine 810-910 –gpu-vddc 1.05 –gpu-memdiff -125 –gpu-powertune 5

this allows for failover to backup pool
and gives me ~370Mhash/card

Download all Facebook pictures and videos and put into a ZIP file


Pick&Zip is a free software that will allow you to backup and download Facebook pictures in a single zip or pdf file.
Now you can also download videos!

Download tagged photos of you
With this free software you can download photos where you have been tagged even if you have not uploaded them.

Backup your Facebook pictures
Pick&Zip is a great solution to backup all your Facebook photos, with just a few clicks you can download all your albums and tagged photos.

Build your selection
If so you prefer, you can make a selection of the pictures you like best among your own, your fan pages and those of the groups you belong.

Download Facebook videos
Now you can download videos from your Facebook profile, from your friends or videos where you have been tagged!

romextract

https://github.com/Plombo/romextract
================================================================================

Romextract is a collection of software for *nix systems (especially Linux).
Collectively, the programs can be used to extract ROMs from WAD files of Wii
Virtual Console games. These ROMs can be played on popular emulators for the
NES, SNES, TurboGrafx16/PC-Engine, Genesis, Master System, and Nintendo 64.


Authors
================================================================================

The programs that comprise romextract were written by various authors:
u8it - icefire (see https://github.com/icefire/u8it)
wadunpacker - BFGR, based on Zeventig by Segher
romc - Jurai, based on LZSS code by Haruhiko Okumura
ccfextract - Plombo
nes_rom_extract - Plombo


Function
================================================================================

Use wadunpacker to unpack each WAD file. In the extracted file, you will find
multiple ".app" files. The most important ones are:
* 00000001.app - For NES games, run nes_rom_extract on this file to extract the
ROM.
* 00000005.app - This is a U8 archive that can be extracted by u8it. It
contains several important files, depending on the type of game:
* html.arc OR emanual.arc OR man.arc - a U8 archive (extract it with u8it)
containing the HTML files for the game manual
* [TITLE].rom - for SNES games, this is a version of the ROM with messed-up
sound. There *might* be another file that is the original ROM with
correct sound, with the same name (referred to here as [TITLE]) but a
different extension.
* rom - for N64 games, if there is a file simply called "rom" with no
extension, it is the game ROM.
* romc - for N64 games, if there is a file called "romc", it is a compressed
version of the game ROM. In most cases, it can be uncompressed by the
"romc" utility included with romextract. Otherwise, there's not much you
can do.
* data.ccf - for Genesis and Master System games, this is an archive
containing the game ROM and possibly some other stuff. Extract it with
the "ccfextract" utility included with romextract.


Building
================================================================================

For now, I've just written a simple shell script to compile all of the programs.
Just run the shell script "build.sh" to compile. You will need gcc, zlib1g-dev,
and libssl-dev.

wwpacker 1.84

This is a set of tools and scripts to ease the steps for unpacking and packing
.W?D files with language, region string, video mode, ios flag, version and
region patched, fixing 001 check, 002 check or balance board support, changing
title id, or having the trucha signing bug restored.

The package setup/installer would create a set of shortcuts on start menu and
a shortcut on desktop for the drag and drop action of your file/folder.

The packer and unpacker included are from bfgr_tools_v039a.
It requires “common-key.bin” in the wwPacker folder.

To use the trucha signing bug restored feature, “cert.sys” is required in the
wwPacker folder. It can be found in WII_FSSYS folder which is created by the
wii FS dumper.

To replace the loader with a custom one (Custom NAND Loader!?), you should
rename the custom loader to “loader.bin” and put it in the wwPacker folder.

All .BAT scripts are tested in Win2000 and WinXP. I don’t guarantee they work
correctly in other OSes.

WARNING:
There’re risks to use the tools and scripts here to unpack, pack or modify
your .W?D files. In the worst case, it may brick your Wii.
I take no responsibilities for any damages.
Use the tools and scripts here only if you know what they are used for.

FAQ:
Q: How to use?
A: Drag & drop .W?D files onto __wwunpacker.bat
Drag & drop .W?D files or folders created by _wwunpacker onto
_wwpacker-RegionFree.bat, _wwpacker-RegionFree-Plus.bat,
_wwpacker-IOS??.bat, _wwpacker-IOS??-Plus.bat, _wwpacker-Custom.bat,
_wwpacker-NoMod.bat, _wwpacker-FakeSign.bat, _wwpacker-JustSign.bat,
_wwpacker-FreeTheBug.bat, _wwpacker-DLCRegion.bat or _wwpacker-Loader.bat

Batch files:
__wwunpacker.bat : just unpacking
_wwpacker-RegionFree.bat : packing – Region-free only
_wwpacker-RegionFree-Plus.bat : packing – Region-free, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)
_wwpacker-IOS??.bat : packing – IOS?? flag, Region-free
_wwpacker-IOS??-Plus.bat : packing – IOS?? flag, Region-free, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)
_wwpacker-Custom.bat : packing – custom IOS flag, custom region flag, custom title id, custom version, fake ticket data, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)
_wwpacker-NoMod.bat : No Modification, just packing
_wwpacker-FakeSign.bat : packing – tik and tmd signed, fake ticket data
_wwpacker-JustSign.bat : Just packing with tik and tmd signed
_wwpacker-FreeTheBug.bat : packing – restore trucha bug, patch ES_identify, patch nand permissions (for IOS .W?D)
_wwpacker-DLCRegion.bat : packing – change DLC region code (for DLC .W?D)
_wwpacker-Loader.bat : packing – replace loader, Region-free, WiiGF(Language, RegionString, Video, 001Fix, 002Fix, BalanceBoardFix)

Special batch files:
Drag & drop ticket/cetk onto __wwunpacker-Content.bat
__wwunpacker-Content.bat : unpack the encrypted content files (from NUSD) which are placed along with the ticket/cetk and the tmd

Q: What’s the point of using .BAT scripts?
A: The scripts provide the support of drag & drop action.
You can finish your job in a few steps.

Q: Where is the “common-key.bin”?
A: Don’t ask me.

CREDITS:
bfgr (Don’t know if this is the author name), suloku for bfgr_tools
alpha-0 for WiiGF, wadDataInfo, freethebug, t-signer, titlefiles_fix, wwcxtool and HTool
ReturnerS for wglp
Waninkoko for wii-vmc
And ALL people who contribute to the scene!!

@ fxxkmii

———————
Download page:
http://sharebee.com/18ca583f

Anyone with six-strikes questions read this

ANYONE USING PUBLICLY TRACKED TORRENTS SHOULD SERIOUSLY CONSIDER USING A COMBINATION OF THE FOLLOWING FROM NOW ON:
Read more about the differences between
Torrent Indexes (sites)(public) Torrent Trackers and (private) Torrent Trackers
  • For Private Tracker Reviews + More Information about Private Trackers > opentrackers.org[11]
Read more about what a vpn is
Read more about what a seedbox is
Do some research on how to use bittorrent more securely
Comments/Threads elaborating further on avoiding Six Strikes Laws/Piracy Persecution:
Read more about the Six Strikes Anti-Piracy System @ EFFTorrentfreakTheVerge and seedboxgui.de
..or, Google Is Your Friend > google.com/search?q=six+strikes[30]
Google Is also Your Friend when it comes to using P2P/Bittorrent
Feel free to visit the following subreddits for further questions and discussions
/r/vpn[40]
There is also an entire sub-reddit devoted to Six-Strikes
Six Strikes threads in /r/trackers[47] /r/Torrents[48] /r/piracy[49] /r/seedboxes[50] and /r/filesharing[51]

How to Survive on Private Trackers With a Low Upload Speed

1 – Leave your PC running for as long as you can :
Let’s assume you have  the low upload speed of 50 kb/s , and you will keep your PC running for 20 hours daily , do you know how much will you seed ?

Let’s do the math :   50 x 60 x 60 x 20 = 4320000 kb = 4.12 GB 

Not bad at all , right ? that means an average of 123.6 GB monthly , with only 50 kb/s upload speed !


2 – Grab freeleech torrents : 

Freeleech torrents don’t count towards your download and counts to towards your upload , and this includes 2 strategies :
a. Grab fresh freeleech torrents because those get lots of seeders , and don’t affect your download meter .
b. Prefer freeleech to other torrents . If you’re looking for a movie then check on multiple trackers maybe you can find it freeleech on one of them . Even if you found the format you want as a normal torrent and another close format in freeleech , grab the freeleech .
3 – Cross-seed :
You must understand first , what is cross-seeding ? 
Cross-seeding is the process of downloading files from one tracker ( or having the file in any way )  and then use it to seed the same torrent on one or more private trackers .
How is this helpful ?
a. If you already have the file , download the .torrent from the tracker you want to seed at , chose the path of the file and let it check . In a minute it will start seeding without costing you any download count .
b. When a fresh popular torrent is out  , download it from a public tracker and seed it on all your private tracker that have that file . That’s another way to raise upload without affecting download .
c. Many trackers give bonus on the size of torrents you’re seeding , so you can cross-seed to get more bonus to buy upload credit , but we’ll get to that later .
But make sure to read the rules of the tracker before cross-seeding as it’s not allowed on some trackers .


4- Limit the number of trackers you use :
Don’t seed torrents on trackers you never use . It’s a waste of your precious upload speed to keep seeding on trackers you barely or never use . Focus on one general tracker ( preferably IPTorrents  or TorrentDay ) and a couple of other tracker for your interests . For example TehConnection if you’re interested in movies that can’t be found on usual general trackers , or Freshon if you’re interested in TV . Always search for everything first on that private tracker , since it’s much easier to build ratio there .
Don’t go around looking for trackers , you don’t need just to try them , make priorities and stick to them .
Also don’t use trackers that are hard to seed on , such as BitMe or Karagarga .

5 – Use bonus points :
Many tracker have a bonus points system that , in most cases , can be traded for upload credit . Some tracker use a system that gives bonus according to your total seeding size or every torrent’s size on it’s own . That’s when you use cross-seeding as explained above .
Other trackers use a system that give bonus according to number of seeding torrents and here comes the easiest trick in torrenting ! Just browse torrents and sort them by size from smaller files to bigger files . Download as much as you can from the smallest torrents and keep seeding them and getting lots of bonus ! easy ,  right ?

6 – Download smaller formats and versions :
If you find it hard to maintain a good ratio then don’t download huge files unless it’a a freeleech .  You can always find a smaller version of that file . If it’s an HD movie , you don’t have to download it in 1080 quality , 720 or 480 would be better . If you can avoid HD and watch it in XviD format then it would be much better . Use same strategy with games , today every popular game can be found ripped or repacked in less than half of it’s original size . Same thing goes for music , you don’t have to download .flac files unless you’re a freaking DJ ! and even if you are then 320 kb/s CBR or V0 VBR is more than enough .
Don’t download packs unless you’re willing to watch every movie or play every game in it , unless it’s freeleech off course .

7 – Donate to trackers :
Doesn’t seem like the best option if you’re going to get 10 GB upload credit for 10$ !
But on some trackers , you will get a VIP membership for donating and VIP members are immune to ratio rules .
For example , if you love games donate 20$ to BitGamer and get a VIP membership so you can download without worrying about ratio even if you don’t seed anything .

8 – Upload :
Maybe it’s weird to find a tip telling you to upload when you’re looking for a solution for low upload speed , but in the matter if fact it’s a good option . You see , if you’re not good with seeding then uploading files that you already have would help you a get upload credit , and even bonus points on some trackers ! at least you can be sure you will get upload credit greater than size of the file .

9 – Use ratio-less trackers :
Ratio-less trackers are those trackers that don’t care for ratio , but you have to seed your torrents for a fixed time ( usually 72 hours in one week ) and you can download as much as you can as long as you don’t hit and run ( stop seeding before seeding time is complete ) .

Most popular ratio-less trackers you can use :

General :
GFT – One of the best trackers ever with amazing speeds and content . Hard to get into .
FTN – May sound like a less probable option since it’s very hard to get an invite to it .
PreToMe – The best option in general ratio-less trackers . Said to be really close to GFT and easier to get .
AlphaOmega – A good tracker with nice content and pre-times .
FYT – An upcomming ratio-less tracker . 

Movies :
PTN : the best choice , with a great content and good speeds , the most famous ratio-less movie tracker is a must-have if you don’t have a good upload speed . It’s not easy to join PTN , but they open application every now and then .
TheSwarm : A nice movie tracker with a nice tight community , but if you’re a movie maniac then it won’t work for you .


Games :
PWN Network : the one and only ratio-less games tracker . Mostly Nintendo and others consoles games , but it’s not like you have many options .

Music :
Libble : It’s not ratio-less in total but they use a weird system called ” Share Rank ” that is based on snatches , number of seeding torrents and ratio where a very high or very low ratio is not good .
Note that MP3 Scene is not ratio-less but there only one third of your download is counted so it’s a good choice .

TV Shows :
BTN : The best TV tracker ever , whatever you say is not enough to describe this great tracker .
Hard to get into , but sadly it’s the only ratio-less TV tracker .

10 – Get a seedbox :
The best option . You can get a seedbox for on month for a low price of 10-15$ and use it to buffer all of your accounts enough for a year or even more .
Using a seedbox you can use a seedbox to make a buffer of 2 TB on IPTorrents or 5 TB on TorrentDay in one month !
I would recommend getting a seedbox right away , that would save you time and effort .

Disable Do You want to change the color scheme to improve performance ? message

Sometimes this dialog box will pop up (see screenshot below). Every time it appears I select “Keep the current color scheme, and don’t show this message again”. Windows then reminds me again — either the next day or after reboot, or sometimes another 5 minutes later.
Do you want to change the color scheme to improve performance?

Do you want to change the color scheme to improve performance?

Windows has detected your computer’s performance is slow. This could be because there are not enough resources to run the Windows Aero color scheme. To improve performance, try changing the color scheme to Windows 7 Basic. Any change you make will be in effect until the next time you log on to Windows
  • Change the color scheme to Windows 7 Basic
  • Keep the current color scheme, but ask me again if my computer continues to perform slowly
  • Keep the current color scheme, and don’t show this message again

Assuming you realize this message is informing you your system is low on resources and is asking you to disable Aero so it can keep performing at optimum speed,
  1. Go to the Start Menu and type Action Center on the Search box
  2. Start it (it should be the top entry, under the “Control Panel” group)
  3. On the left sidebar, click Change Action Center settings
  4. Untick the Windows Troubleshooting checkbox, under “Maintenance Messages”.
  5. Click the Ok button and you are done.
Here is a screenshot of the setting screen:
Alternatively:
  • You can try and keep this setting just as it is and switch to Basic desktop mode before launching the applications that usually fire up this Action Center notification. Or,
  • You can right click the icons you use to fire up these full screen applications, clicking properties and under the Compatibility tab tick Disable desktop composition. This will disable the Desktop Window Manager Session Manager service during execution of this application which will increase system and video memory and avoid some application incompatibilities. A likely cause for your Action Center message if you have enough system and video memory but are stuill getting this message with certain games or full screen applications.

How to Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

About LAMP


LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the virtual private server is already running Ubuntu, the linux part is taken care of. Here is how to install the rest.

Set Up

The steps in this tutorial require the user to have root privileges on your VPS. You can see how to set that up in the Initial Server Setup in steps 3 and 4. 

Step One—Install Apache


Apache is a free open source software which runs over 50% of the world’s web servers.

To install apache, open terminal and type in these commands:

sudo apt-get update
sudo apt-get install apache2


That’s it. To check if Apache is installed, direct your browser to your server’s IP address (eg. http://12.34.56.789). The page should display the words “It works!” like this.

How to Find your Server’s IP address


You can run the following command to reveal your server’s IP address.

ifconfig eth0 | grep inet | awk '{ print $2 }'


Step Two—Install MySQL


MySQL is a powerful database management system used for organizing and retrieving data 

To install MySQL, open terminal and type in these commands:

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql


During the installation, MySQL will ask you to set a root password. If you miss the chance to set the password while the program is installing, it is very easy to set the password later from within the MySQL shell.

Once you have installed MySQL, we should activate it with this command:

sudo mysql_install_db


Finish up by running the MySQL set up script:

sudo /usr/bin/mysql_secure_installation


The prompt will ask you for your current root password. 

Type it in.

Enter current password for root (enter for none): 
OK, successfully used password, moving on...


Then the prompt will ask you if you want to change the root password. Go ahead and choose N and move on to the next steps. 

It’s easiest just to say Yes to all the options. At the end, MySQL will reload and implement the new changes.

By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
... Success!

Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
... Success!

By default, MySQL comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
... Success!

Cleaning up...

Once you’re done with that you can finish up by installing PHP.

Step Three—Install PHP


PHP is an open source web scripting language that is widely use to build dynamic webpages. 

To install PHP, open terminal and type in this command.

sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt


After you answer yes to the prompt twice, PHP will install itself.

It may also be useful to add php to the directory index, to serve the relevant php index files:

sudo nano /etc/apache2/mods-enabled/dir.conf


Add index.php to the beginning of index files. The page should now look like this:

<IfModule mod_dir.c>

DirectoryIndex index.php index.html index.cgi index.pl index.php index.xhtml index.htm

</IfModule>

PHP Modules


PHP also has a variety of useful libraries and modules that you can add onto your virtual server. You can see the libraries that are available.

apt-cache search php5-


Terminal will then display the list of possible modules. The beginning looks like this:

php5-cgi - server-side, HTML-embedded scripting language (CGI binary)
php5-cli - command-line interpreter for the php5 scripting language
php5-common - Common files for packages built from the php5 source
php5-curl - CURL module for php5
php5-dbg - Debug symbols for PHP5
php5-dev - Files for PHP5 module development
php5-gd - GD module for php5
php5-gmp - GMP module for php5
php5-ldap - LDAP module for php5
php5-mysql - MySQL module for php5
php5-odbc - ODBC module for php5
php5-pgsql - PostgreSQL module for php5
php5-pspell - pspell module for php5
php5-recode - recode module for php5
php5-snmp - SNMP module for php5
php5-sqlite - SQLite module for php5
php5-tidy - tidy module for php5
php5-xmlrpc - XML-RPC module for php5
php5-xsl - XSL module for php5
php5-adodb - Extension optimising the ADOdb database abstraction library
php5-auth-pam - A PHP5 extension for PAM authentication
[...]

Once you decide to install the module, type:

sudo apt-get install name of the module


You can install multiple libraries at once by separating the name of each module with a space. 

Congratulations! You now have LAMP stack on your droplet!

Step Four—RESULTS: See PHP on your Server


Although LAMP is installed, we can still take a look and see the components online by creating a quick php info page

To set this up, first create a new file:

sudo nano /var/www/info.php


Add in the following line:

<?php
phpinfo();
?>


Then Save and Exit. 

Restart apache so that all of the changes take effect:

sudo service apache2 restart


Finish up by visiting your php info page (make sure you replace the example ip address with your correct one): http://12.34.56.789/info.php

It should look similar to this.

How to Install WordPress on Ubuntu 12.04

About WordPress


WordPress is a free and open source website and blogging tool that uses php and MySQL. It was created in 2003 and has since then expanded to manage 22% of all the new websites created and has over 20,000 plugins to customize its functionality.

Setup


The steps in this tutorial require the user to have root privileges. You can see how to set that up in the Initial Server Setup. 

Before working with wordpress, you need to have LAMP installed on your virtual private server. If you don’t have the Linux, Apache, MySQL, PHP stack on your VPS, you can find the tutorial for setting it up in the Ubuntu LAMP tutorial

Once you have the user and required software, you can start installing wordpress!

Step One—Download WordPress


We can download WordPress straight from their website:

wget http://wordpress.org/latest.tar.gz


This command will download the zipped wordpress package straight to your user’s home directory. You can unzip it the the next line:

tar -xzvf latest.tar.gz 


Step Two—Create the WordPress Database and User


After we unzip the wordpress files, they will be in a directory called wordpress in the home directory. 

Now we need to switch gears for a moment and create a new MySQL directory for wordpress. 

Go ahead and log into the MySQL Shell:

mysql -u root -p


Login using your MySQL root password, and then we need to create a wordpress database, a user in that database, and give that user a new password. Keep in mind that all MySQL commands must end with semi-colon. 

First, let’s make the database (I’m calling mine wordpress for simplicity’s sake; feel free to give it whatever name you choose):

CREATE DATABASE wordpress;
Query OK, 1 row affected (0.00 sec)


Then we need to create the new user. You can replace the database, name, and password, with whatever you prefer:

CREATE USER [email protected];
Query OK, 0 rows affected (0.00 sec)


Set the password for your new user:

SET PASSWORD FOR [email protected]= PASSWORD("password");
Query OK, 0 rows affected (0.00 sec)


Finish up by granting all privileges to the new user. Without this command, the wordpress installer will not be able to start up:

GRANT ALL PRIVILEGES ON wordpress.* TO [email protected] IDENTIFIED BY 'password';
Query OK, 0 rows affected (0.00 sec)


Then refresh MySQL:

FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)


Exit out of the MySQL shell:

exit


Step Three—Setup the WordPress Configuration


The first step to is to copy the sample wordpress configuration file, located in the wordpress directory, into a new file which we will edit, creating a new usable wordpress config:

cp ~/wordpress/wp-config-sample.php ~/wordpress/wp-config.php


Then open the wordpress config:

sudo nano ~/wordpress/wp-config.php


Find the section that contains the field below and substitute in the correct name for your database, username, and password:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');

/** MySQL database username */
define('DB_USER', 'wordpressuser');

/** MySQL database password */
define('DB_PASSWORD', 'password');

Save and Exit.

Step Four—Copy the Files


We are almost done uploading WordPress to the virtual private server. The final move that remains is to transfer the unzipped WordPress files to the website’s root directory.

sudo cp -r ~/wordpress/* /var/www/


Finally we need to set the permissions on the installation. First, switch in to the web directory:

cd /var/www/


Give ownership of the directory to the apache user.

sudo chown www-data:www-data * -R 
sudo usermod -a -G www-data username


From here, WordPress has its own easy to follow installation form online. 

However, the form does require a specific php module to run. If it is not yet installed on your server, download php-gd:

sudo apt-get install php5-gd


Step Five—RESULTS: Access the WordPress Installation


Once that is all done, the wordpress online installation page is up and waiting for you: 

Access the page by adding /wp-admin/install.php to your site’s domain or IP address (eg. example.com/wp-admin/install.php) and fill out the short online form (it should look like this).

See More


Once WordPress is installed, you have a strong base for building your site.

If you want to encrypt the information on your site, you can Install an SSL Certificate