Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10
1.change user
su2.Install Remi repository
| #!/bin/bash | |
| # Dependences and tools | |
| apt-get -y install php-pear | |
| apt-get -y install php5-mysql | |
| apt-get -y install php5-memcache | |
| apt-get -y install php5-imagick | |
| apt-get -y install php5-curl | |
| apt-get -y install php-apc |
| # Dependencies | |
| apt-get -y install php5 | |
| apt-get -y install php5-mysql | |
| apt-get -y install php5-gd | |
| apt-get -y install php5-intl | |
| apt-get -y install php-apc | |
| apt-get -y install apache2 | |
| apt-get -y install libapache2-mod-php5 | |
| apt-get -y install mysql-server | |
| apt-get -y install mysql-client |
| # | |
| # SCRIPT NOT FINISHED | |
| # | |
| # Dependencies | |
| yum -y install wget | |
| yum -y install php | |
| yum -y install php-mysql | |
| yum -y install php-gd | |
| yum -y install php-intl |
| #!/bin/sh | |
| # Warning: this script it is unfinished. | |
| MYSQL_ROOT_PASSWORD=12345 | |
| MYSQL_MOODLE_PASSWORD=12345 | |
| yum -y update | |
| # Expect | |
| yum -y install expect |
Install MySQL Database 5.5.37 on CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10
1.change user
su2.Install Remi repository
| #!/bin/sh | |
| sudo apt-get install -y nodejs | |
| sudo apt-get install -y npm | |
| #node | |
| #nodejs-legacy |
| <TableView Intent="Menu"> | |
| <TableRoot> | |
| <TableSection> | |
| <ImageCell ImageSource="location.png" Text="Localização" /> | |
| <ImageCell ImageSource="settings.png" Text="Configurações" /> | |
| <ImageCell ImageSource="email.png" Text="E-mail" /> | |
| </TableSection> | |
| </TableRoot> | |
| </TableView> |
| <TableView Intent="Menu"> | |
| <TableRoot> | |
| <TableSection> | |
| <ViewCell> | |
| <StackLayout Padding="15, 5, 15, 5" Orientation="Horizontal"> | |
| <Image Source="location.png" /> | |
| <Label Text="Localização" VerticalOptions="Center" /> | |
| </StackLayout> | |
| </ViewCell> |
| using System; | |
| using Xamarin.Forms; | |
| namespace Core.Controls | |
| { | |
| public class CustomImageCell : ImageCell | |
| { | |
| } | |
| } |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
| xmlns:control="clr-namespace:Core.Controls;assembly=Core" | |
| x:Class="Core.Views.HomeView" | |
| Title="Home"> | |
| <ContentPage.Content> | |
| <TableView Intent="Menu"> | |
| <TableRoot> | |
| <TableSection> |