The main GOAL of the project is to provide the natural Matlab scripts WITHOUT external library calls like Maple and others. All scripts are developed to accept tensors as arguments and almost all of them have their complex versions. Performance and complete control on the execution are the main features.
This is a public space for thoughts on MySQL and PostgreSQL. Ceph’s Storage clustering and KVM virtualization. Programming with NodeJS and PHP. Hacking with RaspberryPI and Arduino. Please feel free to modify any text in it.
the first to do is to upgrade it to the final release
Statring with shell
What is “the shell” and why bother? The shell is a program that takes your commands from the keyboard and gives them to the operating system to perform. Nowadays, we have graphical user interfaces (GUIs) in addition to command line interfaces (CLIs) such as the shell. To open one simply click “Menu” and type “terminal”
So why bother? 95% of servers is running Linux, most of them are headless – without GUI!
So as we’ve seen before simple command like this one
upgrades the entire operating system, or installs the web server
Package managing apt-get
APT, the Advanced Packaging Tool, provide rapid, practical, and efficient way to install packages that would manage dependencies automatically and take care of their configuration files while upgrading.
Upgrade all installed packages
Upgrade all installed packages and tell APT to use “smart” conflict resolution system, and it will attempt to upgrade the most important packages as kernel etc.
Search available package
Search for installed package
GIT is a distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows.
Git was initially designed and developed by Linus Torvalds for Linux kernel development in 2005, and has since become the most widely adopted version control system for software development.
GitHub is a web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features.
GitHub for Mac And Windows
GitHub offers very handy utilities for Mac and Windows that enables managing repositories via graphical interface.
GitHub for Mac: https://mac.github.com/
GitHub for Windows: https://windows.github.com/
Editors and IDE
For Web development there is a big choice of editors and IDE-s available. Let’s consider some of them
Sublime Text is a sophisticated text editor for code, markup and prose. You’ll love the slick user interface, extraordinary features and amazing performance.
NetBeans provides full IDE functionality and is a typical choice for PHP web development.
Please install Apache web server and create “Hello world” page.
Install GIT. Register un account su GitHub and Install the GIT Gui.
Please install MySQL server, MySQL PHPMyAdmin and MySQL Workbench. Create test database.
Clone repository https://github.com/ccoenraets/wine-cellar-php and configure Apache and MySQL to run application.
At first install Apache web server, we suppose Ubuntu 14.04 installed on server,
Then let’s assume the name of the website is example.com, so we configure Apache to serve content for this website from the folder
And put the VirtualHost description
Create corresponding folders
and enable the website
then reload conf
Here we’ll see how to create a simple PHP web service with the help of Composer. Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.
now clone the source code
Switch to the folder of the project
And switch to “Hello world” branch
and configure dependences
The latter will create folder vendor in current folder, that will contains all PHP libraries that our project will depend on.
To run the application just simply switch to public
and start built-in web server on localhost.
Note, the built-in web server is available only for version of PHP >5.4.
Now open browser on http://localhost:8080/hello/world or try it via telnet
Project Learning NoSQL e PHP
Project Learning NoSQL e PHP, https://github.com/moiseevigor/learning-nosql-php, contains a number of branches.
After previous step we find ourselves at hello-world branch.
You need to explore the project in the following order
hello-world: basic routing and functionality
controllers: introduction of Controller and advanced routing
models: introduction of Models and Doctrine ORM
To switch between branches you need to execute
After every switch you need to update libraries with