Assembling a Bike From a Stern Box

How to assemble a bike out of the box

Buying a new bike is always accompanied by great joy and anxious anticipation of the first ride.

Perhaps, at first glance, this procedure will seem complicated and impracticable. But, after carefully reading this article, you can easily assemble and configure the bike yourself. This skill will be useful to you in the future, when the question of emergency repairs arises away from home.

What tools will be needed?

  • Hexagon set (multitool);
  • Screwdriver;
  • Open-end wrench 15;
  • Auxiliary tools (wire cutters, stationery knife).

Advice: choose a quality multitool with a large number of all kinds of keys! Thus, with a single tool, it will be possible to set up and repair any part of the bike. Another significant advantage of the multitool is the presence of a squeeze for the chain.!

Getting started assembling

So, the box with the bike is in front of you, all the necessary tools are at hand. it’s time to start assembling!

If you can ask familiar cyclists for a special rack-bracket on which you can place your bike, this will be an additional convenience during assembly. In case of her absence, just use the help of friends or relatives.

The first step is to inflate the wheels according to the recommended pressure. Select an average between the upper and lower pressure thresholds printed on the tire. With some experience, you yourself can easily determine the degree of pumping depending on the complexity of the relief. In rare cases, if the bike is equipped with disc brakes, the brake rotors need to be screwed onto the wheels. They are attached with six special bolts that come with the bike.

Tip: A quality telescopic bicycle pump is lightweight and compact. It can be easily positioned on the frame using a special mount. It is better to give preference to a pump with a pressure gauge. This way you can more accurately regulate the pressure in the tires, thereby extending their life.

You need to start assembling the bike by installing the handlebar. To do this, unscrew the stem cover, which is fastened with four bolts. Next, we insert the steering wheel into the stem, center it using the applied marks and press it with the lid. The stem bolts should be tightened crosswise without excessive force. At the same time, you need to check how the stem bolts are tightened, with which it is attached to the fork stem. Tighten them if necessary.

An important point is the position of the brake levers on the steering wheel. They should be placed in such a way as to continue the position of the palms, without the need to bend them in the wrist.!

Next, you need to start installing the wheels. Often, manufacturers already at the factory install the rear wheel and adjust the speed switch, but there are also completely disassembled options. This procedure is best done on an inverted bike.

Depending on the level of the bike, the wheels can be attached to the frame using special eccentrics or nuts. In the first case, the installation procedure is done manually without tools, and in the second. you need an open-end wrench for 15.

To install the rear wheel, you need to pull the rear derailleur back, overcoming the spring force and inserting the wheel into special slots in the frame (dropouts). After making sure that the axle of the wheel lies flat in the frame, insert the eccentric into its hole, pressing the adjusting nut by hand and close the lever, thereby rigidly fixing the wheel. The pressing force of the cam lock or the tightening of the nut is calculated intuitively. It should not be excessive so as not to damage components, but also not too weak so that the wheel does not fall out while driving. This procedure is identical for the front wheel. You also need to take into account that the eccentric lever should be on the left side in the direction of the bicycle and in the closed position look up.

The next step is to install the front and rear brake calipers (the device into which the brake pads are inserted) onto the frame and fork. The fastening of these elements can be carried out in two ways. directly or using special adapters that come with the kit. In the second case, we first install them, and only then we fasten the caliper. To complete this procedure, you will need a 5mm Allen key and four matching bolts (included). After that, you can attach to the frame all shirts of cables or brake lines, which fit into special grooves and are attached using ordinary plastic ties.

Tip: When installing the calipers, be sure to align them with the brake rotors. This will exclude the possibility of friction between the pads and the rotor, thereby ensuring free rotation of the wheels. To carry out this procedure, you need to loosen the mounting bolts a little and press the brake lever several times, holding it after the last pressing. Without releasing the brake, tighten the bolts and check the ease of rotation of the wheel. If friction is present, then the manipulations must be repeated to obtain the desired result.

There is only a little left! Installing the saddle and pedals 🙂

Install the saddle so that it is strictly parallel to the ground, and its nose looks along the top tube of the frame, without deviation to the left or right.

When driving for the first time, it is very important to set the correct height and position.

To do this, use the following guidelines:

  • In a sitting position, an almost fully extended leg should reach the pedal with the heel;
  • With the connecting rod parallel to the ground, the bent knee should be in one line with the pedal axis, strictly perpendicular to the ground. This adjustment is done by moving the saddle forward or backward.

These tips will help you pedal as efficiently as possible, while reducing overall fatigue, as well as eliminating the risk of knee injury while riding.

The pedals are set using a 15 open-end wrench. Note that the pedals are labeled R and L (left and right). This is how they should be installed on the connecting rods. The left pedal is screwed into the connecting rod counterclockwise, and the right. clockwise. Often, after buying a new bike, it becomes necessary to adjust the rear and front derailleur. To do this, you can use a special article on our website Take another look at the bike carefully, checking each installed component and if everything is ok. feel free to go on your first trip!

Necessary tools to assemble a bike out of the box

The installation of the system along with the connecting rods, as well as the chain, two derailleurs, fastening the rear wheel, equipping with brakes, steering column is usually carried out in production. It remains to attach the steering wheel, fix the seat, put the front wheel, attach the pedals, deal with reflectors and other small things. All of these items are packed separately. The bike is assembled:

  • 4, 5, 6 mm hexagons, preferably a set;
  • a 15 wrench to tighten the pedals;
  • key 10;
  • cross screwdriver;
  • pliers to crimp the cable;
READ  Exercise machine torneo elliptical to convert to a bicycle

nippers to cut the cable.

Plastic clips are cut from the unpacked bike. Cutting pliers should be used carefully to avoid damage to the paintwork. You can start assembling.

How to properly assemble a bike

First, the saddle is attached to the seat post. You will need a hex (6 mm) to unscrew the mount on this pin. The saddle frames are installed in the grooves, close them with a bracket and tighten them on top. Thanks to such a clever design, the saddle can be moved forward and backward and also adjusted according to the angle of inclination. In this phase, the bolt is simply tightened. Further adjustments are made on the assembled bike.

Reflector mount

Mount the reflector in close proximity to the saddle.

The entire structure is lowered all the way into the seat tube and is secured with an eccentric clamp. If it is too easy to close, open it completely, turn the tightening wheel and try to close it again. If it does not work, you need to loosen.

Installing the steering wheel

We shift the focus to the steering wheel and its stem. Some bicycles are equipped with a stem already attached to the handlebars, others are not. In any case, the stem must be set first. When installing the handlebar and stem, care must be taken that the cables are not tangled. The vertical markings engraved on the stem represent the maximum lift height.

At the end of the installation, fasten the steering wheel.

Fitting the front wheel

First of all, it is necessary to make the correct installation of the eccentric. Get this item out of the small change box.

Removal of the plug and the spring is made from the edge of the eccentric opposite from the lever. Then you need to insert the axle directly into the front wheel hub. Inserts the same edge as the rear wheel (presumably left).

Mount the wheel in the fork. With rim brakes, the front one is “unfastened”. Alternatively, the rubber band is simply removed from the front brake. Usually the manufacturer fixes it with an elastic band or a tie.

The eccentric tightening is the most convenient procedure. We stand in front of the bike, tracking the centering of the wheel. We proceed to tighten the eccentric. From the left edge, turn the wheel clockwise, trying to close the lever. In case of too easy closing, fold back and repeat the spinning of the wheel. We twist until the eccentric starts to close with effort. Only without fanaticism, so that the eccentric does not break.

We pump up the wheels. The tires are embossed with the psi and bar symbols with the recommended pressure. Bar = atmospheres.

Mounting Pedals

Let’s start assembling the pedals. Typically, pedals are labeled: the left is labeled Left (L), the right is engraved as Right (R). Each of them has its own carving. The right one is twisted clockwise, the left counterclockwise. They begin to spin the pedals with their hands, then tighten them with a key for 15.

If necessary, replace the chain by simply pressing the rear derailleur foot. This will loosen the chain. Grabbing it with our hand, we put it on any chainring.

Install and adjust the front brake

We take out a curved tube from the box. We pass the front brake cable into it directly with a wide fragment up and a narrow one down. Closer to the brake levers.

Before screwing the cable itself, an elastic band is put on. It prevents dirt from entering the cable.

It is necessary to loosen the bolt and insert the cable there.

Compress the levers until the distance between the pads and the rim is 2-3 mm. The bolt can now be tightened. Do not overdo it so that the cable does not “run in”.

It is necessary to leave a 5–7 cm supply of the cable, remove the excess with good cutters (a bad tool will lead to the loosening of the cable at the end). Now it remains to put on the tip and clamp it with pliers.

To prevent the cable from dangling, we start it by the lever.

Adjusting the brakes

The well-coordinated work of the brakes depends on the implementation of some nuances:

  • We spin the inflated wheel, checking for the presence of an eight. We can eliminate this defect if necessary. It is more advisable to use the services of an experienced master or read information on eliminating the eight. If the wheel does not “eight”, move on.
  • The assembled brake pads must be at the same distance from the rim. This can be achieved by normal cable tension. The bolt that secures the cable is loosened and tightened slightly more. Alternatively, you can use the “thumb” at the brake lever. It also tightens or looses the cable. It cannot be completely unscrewed. The position of the shoes should be parallel to the rim. We check the compliance. If necessary, we adjust the pads by loosening the cable. If we apply the brake and tighten the bolts immediately, the position of the pads will be correct.
  • Let’s step on the brake lever and see if the brake levers come together at the same time. If yes, everything is correct.
  • When the brake levers converge at different times, we correct the error with special screws. We adjust the lever of the more active pads. From the same edge, we turn the screw clockwise, mainly by 1 or 0.5 turn. Click to check how much the situation has changed. In most cases, simultaneous pressing is achieved by pulling with one screw. Does the problem persist? We turn the screw 1 or 0.5 turns directly on the other lever, respectively, counterclockwise. The rear brake uses a similar algorithm.

Adjusting both switches

Since the front derailleur is usually factory adjusted, it is wise to start from the rear. We will use the rack by placing the rear wheel on it. If there is no rack, you will need an associate to lift the bike by the saddle. We spin the pedals of the elevated vehicle and watch how everything functions.

We are convinced if there is a need to adjust the rear derailleur. The smallest sprocket is set relative to the front derailleur. At the same time, we pedal and alternate gear changes in the reverse. In case of poor raising or lowering of the chain along the sprockets, we adjust.

First, in the farthest switch, adjust the spring tension. The spring may have been adjusted correctly at the factory. If necessary, set both switches to the first star (switch knobs are engraved with number 1). In the front, set the smaller of the three stars, and in the rear. the large one (out of 7 or 8, 9). Since the chain must be on the correct sprockets, you must pedal.

Concentrating on the High (H) and Low (L) screws on the rear derailleur. N refers to higher gears, say the seventh. L is directly related to downshifts, suppose the first. Having established the first gear, we observe the screw L. We turn it if necessary, after making sure that the position of the rear switch foot is parallel to the first star.

READ  Is it possible to leave a bike at the entrance

If the position is level, this step is skipped. Otherwise, turn the screw L in a suitable direction. The switch foot should begin to move moderately to the left or right. The sprockets in the derailleur foot must be in the same plane directly with the first cassette sprocket. Having adjusted the switch with the screw L, we set both switches to the farthest stars. We repeat by analogy with the manipulation of the screw H.

It’s time to move on to tensioning the chain. With a poor chain lift from 7 to 1, moderately tighten the cable. And, conversely, a bad lowering down from 1 to 7 indicates a tightening of the cable, which means weaken it. The proper settings are made with the adjusting wheel on the rear derailleur. The cable tension is achieved by twisting it counterclockwise, and the loosening. clockwise. Without fanaticism, so that the wheel does not jump out of the switch. If it was not possible to adjust to the proper level, loosen the nut by 9, which holds the cable itself. By tightening or loosening the cable, we fix it.

The settings for the front derailleurs are similar. It is only necessary to change: screw L. small star, H. large.

Not a fountain, of course. only four SATA and no RAID support, but low power consumption. The price has not been determined to date, but it once cost 220. Ideally, of course, it would be better to have a mother with six drives and RAID support. But such a pleasure will cost a non-acidic amount. Let’s try to estimate from what is on the used market. They offered a kit on Intel 7600 mother Asus can be purchased for 1,500-2,000 rubles (remember that this is used).

Before the case was replaced, the system consisted of an Ubuntu server, balls on it. and, in fact, everything. Inside there were two 500 GB disks. Now a new case has been purchased, a couple of hard drives have been installed. In total, three HDDs of 500 GB each and one of 1.5 GB.


Of the tasks that the media server should solve, we highlight the following:

  • by itself, Samba, distribution of media content over the network, more on that below;
  • virtualization of various levels: a couple of virtual machines, inside there may be a 1C Linux server, Docker containers;
  • so that you don’t have to configure every home node for services, a small DNS with a zone of something.local.

Hardware Requirements:

  • noiselessness;
  • convenient installation / replacement of HDD;
  • compactness.

I repeat: I would really like to replace the motherboard with the processor, but this is not necessary. Perhaps in the future I will only replace the processor with a cooler. So, the new corpus, the search was long and difficult. After a week of googling, the choice fell on Raijintek Metis. What suited me in terms of price / quality.

assembling, bike

A couple of phrases about the corpus

Make and model: Raijintek Metis, with window Material: aluminum, steel Dimensions: 190 x 254 x 277 mm (W x H x D) Form factor: Mini-ITX Drive bays: 1 x 2.5 / 3.5″ (inside), 2 x 2.5″ (inside) Fans: 1 x 120 mm (rear, pre-installed) Weight: about 2.8 kg

Implementation of the software part

So what is the most important thing you want from a server? To be easily scalable, keeping up with the times, pleasant and easy to use / administer. Desirably attractive web muzzle.

  • install Ubuntu Server with the Ajenty 2 control panel and deliver everything you need by hand.
  • install OpenMediaVault. Muzzle available, many plugins / extensions to increase functionality, based on Debian, respectively, there is always the opportunity to deliver or finish by hand.
  • install FreeNAS. Slightly fewer buns, but you can deliver everything by hand, though it’s a little more complicated. Based on FreeBSD.
  • install XPEnology. A huge number of goodies, repositories with add-ons. Support for virtual machines and Docker.

After much suffering, the choice fell on the fourth option. On it we will raise the home server further. Why is it so? The first option is good in itself, but at the same time you want a minimum of effort and a maximum of opportunities without additional assault. In addition, Ajenty does not allow flexible access to the server, so you just want to get into the console and do everything by hand from there. And then go to the panel and just admire :). Among the remaining options, XPEnology won. Provides maximum services with minimum settings.

Take off

So, first of all, go to the site in the downloads section and download the deployment kit.

XPEnoboot is a boot disk image to install and boot / reboot the server.

DSM is the system itself. Synology Assistant. Optional, it detects XPEnology / Synology servers installed or ready to install nodes. I installed through the web interface. as they say, the taste and color of all markers are different.

The ISO image needs to be unpacked to a USB flash drive and used every time the server is restarted, which is not very convenient. Or donate a USB flash drive to the server and make it a priority when loading. There is a second way. In previous issues of Hacker magazine, I wrote about organizing a PXE server with different boot options. If there is such a service, then you can easily give it to him. Two files are responsible for loading into XPEnology (as in any Linux distribution): zImage and rd.gz. We place them in the directory of the PXE server, add in the menu:

The menu shows the location of the files in the xpenology subdirectory, relative to the root of the TFTP server. The information was found at I recommend reading.

The first option didn’t work. I try it differently. I unpack the ISO, take the isolinux.cfg menu file from there, copy the menu into my PXE menu, correcting the path to the zImage kernel file. Copying zImage to PXE server. This option worked as it should, after the installation began, even the pat-file of the operating system was not required. The server itself downloaded it from, which can’t help but smile :). During the installation process, the server will ask for administrator credentials. After installation, we get a completely ready-to-use Synology server on regular hardware. For those who are not familiar with this OS, I highly recommend it! Huge community. As a result. a large number of repositories, which significantly expand the standard functionality.

I recommend the following repository lists:

Just in case, you need to have a working Ubuntu Server system. Therefore, the first thing I do is install Docker and add the Ubuntu container.

Menu with XPEnology applications

Xakep # 215. Second factor

If virtualization is needed, XPEnology has VirtualBox. Who wants Archipel has Docker (link for CentOS lovers). It is clear that at least KVM is inside, at least something else can be turned. In this way, the uTorrent web client is running in my Ubuntu container.

This is how XPEnology containers are easily and easily managed.

Screenshot of Docker container operation in XPEnology

READ  How to understand what speed is on a bike

From the package center, next to Docker, I recommend a selection:

  • DNS Server (for setting up the home zone, optional);
  • Plex Media Server;
  • DLNA Server (optional, Plex already has it);
  • Download Station. download manager on the server itself;
  • MariaDB;
  • Midnight Commander;
  • phpMyAdmin;
  • Transmission;
  • VirtualBox;
  • Tor;
  • Python;
  • antivirus to choose from.

DNS setup

Open the DNS Server in the “Zones” tab, immediately click “Create”, “Main zone”, enter the name of the zone. Next, double-click to open and add the necessary entries.

Example for Configuring DNS in XPEnology

Next, open the second tab “Resolution”. Turn on permission services. We turn on the forwarders and enter the addresses of the upstream DNS servers, which should be contacted if there is no data in our database. On the next tab, you can view the log, and on the next tab, create keys. Next is the “View” tab. Go ahead and create a post. The priority will be set in the order of creation. Next, enter the name of the view, there is an option to restrict IP services. To configure individual forwarders, go to the “Select a zone” tab and select the required zones for this entry. In the last tab, “Settings”, you can configure the log size, TTL cache, cache, the number of recursive clients and the maximum number of TCP connections.

The next step is to automate the download of the series, tracking new versions and then transferring the media to the Plex server. To do this, you need a web server, which is already provided in DSM, a Transmission torrent download with a web interface: the fact that serials are monitored and downloaded automatically will definitely not be enough. you will definitely need to download some more torrent. And TorrentMonitor itself, written in PHP. This application has a very good feature set with minimal server load. TorrentMonitor allows you to monitor not only TV shows on popular trackers, but also distributions from services such as or The project has a live website and a forum where you can quickly get advice if something goes wrong.

I would like to express my deep gratitude to the developer. All in all, a very useful thing. Recommend!

For the sake of self-education, we will add uTorrent web to Transmission, let TorrentMonitor load through Transmission, and for admin rocking we will download uTorrent without restrictions.


So, for all sorts of web applications, including TorrentMonitor, let’s prepare web services with virtual hosts.

We go to the “Control Panel”, section “Web Services”. Turn on Web Station. Add virtual hosts. We specify the directory name, hostname, protocol and port. The specified directory name is created in the following path: / web / directory_name. Since the server is home, I will not bother with HTTPS, but for the most sophisticated there is such an opportunity and, if desired, is included in a couple of clicks.

Unpack TorrentMonitor to the appropriate host (for me it is torrent.homeserver.local) the name of the tm-latest directory. I didn’t bother too much, I unpacked the archive with TorrentMonitor and pointed this folder directly to the virtual host. We configure the database as desired. In my variant MariaDB-server phpMyAdmin, both packages are installed from XPEnology Application Center. For especially exotic ones, there is SQLite, but the performance did not suit me. How to work with phpMyAdmin, there is a lot of information on the Internet, so I will not focus on.

In fact, everything is simple there. We create accounts on supported trackers. We specify the parameters for connecting to the torrent client. Finally, add a series to monitor, select a download directory, and you’re done. The program has a performance test. Again, it’s generally very easy to customize.

With this sorted out, let’s move on to uTorrent WebUI. Here you can go the same way. Or you can raise a container with Ubuntu 14.04 in Docker and run it inside uTorrent WebUI, which I will do.

UTorrent WebUI interface

So, let’s install Docker from the “Application Center”. After starting, go to the “Registry”. We are looking for Ubuntu, put the image we like: I chose widerplan / ubuntu-14.04. At startup, we connect the shared volume with the host system and the necessary ports, chose 2222 for SSH, 8088 for 80 and 8080. uTorrent WebUI will work on it.

Docker container showing volume connections Docker container indicating ports connections Management console in Ubuntu container

Next, go to SSH and download the archive from the TorrentMonitor website.

Unpack it along the path / var / www / html / utorrent. Install LAMP, edit Apache 2 configs. All this has been described a hundred times on the Internet, so there shouldn’t be any difficulties. So, torrents are downloaded, serials are monitored. Now it would be necessary to distribute the whole thing more or less decently over the network. We will use Plex Media Server as a media server. There are a lot of advantages. Most importantly, he scans folders himself, downloads covers, sorts TV shows by seasons and episodes, music by artist and album. It downloads trailers, descriptions, list of actors, ratings for films. And this is far from the limit. DLNA is available from the box inside, but we will use an external one as a DLNA server. We also install it from the “Application Center”. If the network allows, then you can organize access to the Plex server from the outside, which will make it accessible from the Internet, and you can share your media library with friends. There are client applications for almost any device.

Sample Plex Media Server Web Client

After installing Plex, add directories with content. Separately, I recommend specifying the folder where torrents are downloaded by default, as well as adding directories where the download goes through TorrentMonitor. When the amount of content has already exceeded a terabyte, it will be easier to deal with files than to search for everything in the “file bin”.

Of course, this is far from the limit for a system like DSM (XPEnology). Here you can twist and monitor, and Proxy, and a backup server for both conventional systems and Apple devices. On the fly, you can install CMSs such as DokuWiki, Joomla, PHPBB forum, Drupal, BitTorrent Sync, Asterisk IP telephony, UniFI, VirtualBox and much more. The capabilities of this system are simply amazing precisely because everything is done with beautiful frills and buttons in the interface.

In general, if you need to quickly expand functionality on the fly, this will not be a problem. For a home server, even that. True, not everyone has PXE at home, so I recommend buying a small USB flash drive and cramming a bootloader onto it. In general, good luck with the installations, if anything. write to the mail, always happy to help!

P.S. I hope you haven’t wasted your time;). Thanks to all!

Alexander “Plus” Cancer

Member of the OmskLUG community. Engineer of the Department of Electronic Interaction, MCU “Information and Technical Management”.