GVKun编程网logo

在Raspberry Pi的Linux环境中出现Windows Forms错误(raspberry pi windows 10)

16

这篇文章主要围绕在RaspberryPi的Linux环境中出现WindowsForms错误和raspberrypiwindows10展开,旨在为您提供一份详细的参考资料。我们将全面介绍在Raspber

这篇文章主要围绕在Raspberry Pi的Linux环境中出现Windows Forms错误raspberry pi windows 10展开,旨在为您提供一份详细的参考资料。我们将全面介绍在Raspberry Pi的Linux环境中出现Windows Forms错误的优缺点,解答raspberry pi windows 10的相关问题,同时也会为您带来25美元 Linux PC ''Raspberry Pi'' 一月上市、active-directory – (主要)Windows(AD)环境中的Linux服务器、Alpine Linux 安装到 Raspberry Pi、Install Terraform on Windows, Linux and Mac OS的实用方法。

本文目录一览:

在Raspberry Pi的Linux环境中出现Windows Forms错误(raspberry pi windows 10)

在Raspberry Pi的Linux环境中出现Windows Forms错误(raspberry pi windows 10)

我已经开发了完全在Windows中工作的完整应用程序。 我现在已经在Linux(Debian on RPi)上安装了mono,并且正在执行该应用程序。

第一种forms(login表单)加载完全正常。 在此表单上input用户详细信息,如果详细信息正确,则应closures该表单并打开下一个表单。

下面的代码是从login表单,并执行一次我按“login”:

this.Hide(); Entry_System fm = new Entry_System(); fm.ShowDialog(); this.Show();

但是,在Linux中,表单只是closures并发生以下错误:

在Windows上安装MonoDevelop:Gtk#要求的解决方法?

单声道3.0,Ubuntu 12.10,Nginx和ServiceStack

使用Mono将套接字描述符传递给Linux上的其他进程

访问被拒绝在Linux / Mono中进行Alchemy WebSocket创build

防止IO.GetDirectories()从符号链接

System.TypeLoadException:发生types加载exception。 System.Windows.Forms.Control.OnClick(System.EventArgs e)[0x00000] in:System.Windows.Forms.Button.OnClick(System.EventArgs e)中的0; System.Windows.Forms中的[0x00000] in:0 .ButtonBase.onmouseup(System.Windows.Forms.MouseEventArgs mevent)[0x00000] in:0 System.Windows.Forms.Button.onmouseup(System.Windows.Forms.MouseEventArgs mevent)[0x00000] in:0 at System.Windows .Forms.Control.WmLButtonUp(System.Windows.Forms.Message&m)[0x00000] in:0 System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message&m)[0x00000] in:0 at System .Windows.Forms.ButtonBase.WndProc(System.Windows.Forms.Message&m)[0x00000] in:0 at System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message&m)[0x00000] in:0 System.Windows.Forms.Control + ControlWindowTarget.OnMessage(System.Windows.Forms.Message&m)[0x00000] in:0 at System.Windows.Forms.Control + ControlNativeWindow.WndProc(System.Windows.Forms.Message&m) System.Windows.Forms.NativeWi中的<filename unkNown>中的[0x00000]:0 ndow.WndProc(IntPtr hWnd,Msg msg,IntPtr wParam,IntPtr lParam)[0x00000] in:0

在窗口中,下一个窗体按预期打开。 对于通过checkBoxselect的任何一种forms都是如此。

我已经运行apt-get更新,apt-get mono完成,所以它们是最新的版本。 该应用程序在Windows上编译。 我知道单声道是一个很好的讨论的主题,并且在它上面有一些问题,但据我所知,这样的基本function应该可以在Soft Float Debian上正常工作。

Mono和Microsoft的ASP.NET实现有什么区别?

由于对象的当前状态,操作无效

编译fsharp时无法findmsbuild

在Linux下将ASP.NET应用程序移植到Mono / Apache

C#应用程序编译使用单声道在零安装解决scheme的Windows?

你可能会碰到这个在Mono 3.0.3中修复的bug 。

我不认为apt-get可以确保你获得这样一个新版本。 你可以通过运行命令“mono –version”来确认。

25美元 Linux PC ''Raspberry Pi'' 一月上市

25美元 Linux PC ''Raspberry Pi'' 一月上市

盼望已久的信用卡大小、价值25美元的计算机 Raspberry Pi将于年初上市。第一轮Beta版设备已经处于测试之中。如果一切顺利,一月你将能买到它。

Raspberry Pi上的Ubuntu

Raspberry Pi上的Ubuntu



你可能不知道的:Raspberry Pi 可被插入电视或键盘里面。在它上面可以做很多你在桌面PC上可做的事,像电子表格、字处理、游戏等。它还能播放高分辨率视频。该设备搭载ARM处理器,一 个USB集线器,一个HDMI输出,一个3.5mm耳机孔,并原生支持Linux。

Debian, Fedora 和ArchLinux 从一开始将被支持;更多发行将在后期被加上。

完整故事(英文)在此。

转载请注明:Linux人社区> 英文资讯翻译专版.编译

英文原文:
$25 Linux PC ''Raspberry Pi'' to Go in Production Early Next Year
Dec 31, 2011, 06 :00 UTC ( 2 Talkback) (4631 reads)
Much awaited credit card size $25 computer Raspberry Pi is about to go in production early next year. First run beta devices are currently being tested. If all goes well, you will be able to purchase it in January.
If you don''t know, Raspberry Pi can plug into your TV and a keyboard. It can be used for many of the things your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. The device will come with an ARM processor, a USB hub, an HDMI out, a 3.5mm jack and will support Linux out of the box.
Debian, Fedora and ArchLinux will be supported from the start and more distributions will be added later on.
Complete Story   

active-directory – (主要)Windows(AD)环境中的Linux服务器

active-directory – (主要)Windows(AD)环境中的Linux服务器

当我到达目前的位置时,我们的环境几乎完全由 Windows服务器提供.但是,我非常喜欢将 Linux用于某些应用程序,例如我要求设置的webgallery,一个简单的SFTP服务器,用于监控的Nagios等.

我很好地设置这些,但不是Linux专家,我不知道如何正确地将这些服务器加入域中,并因此想知道其他人遵循的程序或指南.

我们经常使用
ping -a
快速找出某个服务器的主机名,但这似乎不适用于linux机器,很可能是因为我假设整个WINS / NetBios.

我刚加入一个服务器到域,但可能错过了一些因为它甚至在dnsflush之后仍无法正常工作.接下来,到目前为止,我发现的几个程序相当广泛,大部分时间似乎都不值得花时间.最好的情况下,我下载了某种客户端(smbclient?),输入域名,也许还有要使用的服务器,提供管理员密码就是这样.这有可能吗?

谢谢

就个人数量较少的Linux服务器而言,我不会将他们加入域名.如果您和几个管理员将成为唯一登录服务器本身的管理员,那么在这两台服务器上创建帐户不会花费很长时间.对于在服务器上运行的应用程序,如果您希望人们使用其AD凭据登录不运行这些服务器的应用程序,请尝试选择具有ldap支持的应用程序.

至于正确解析名称,我只需使用AD服务器上的DNS控制台手动创建DNS条目作为A记录.

Alpine Linux 安装到 Raspberry Pi

Alpine Linux 安装到 Raspberry Pi

Alpine Linux 安装到 Raspberry Pi

This tutorial will help you install Alpine Linux on your Raspberry Pi.

Preparation

This section will help you format and partition your SD card:

  1. Download Alpine for Raspberry Pi tarball which is named as alpine-rpi-<version>-armhf.rpi.tar.gz. You will need version 3.2.0 or greater if you have a Raspberry Pi 2.
  2. Mount your SD card to your workstation
  3. Use gnome-disks or fdisk to create a FAT32 partition. If you are using fdisk, the FAT32 partition type is called W95 FAT32 (LBA) and its ID is 0xC.
  4. Mark the newly created partition as bootable and save
  5. Mount the previously created partition
  6. Extract the tarball contents to your FAT32 partition
  7. Unmount the SD Card.

Note: Due to a bug (#7024), you might want to add a "usercfg.txt" file (which is included by config.txt) with enable_uart=1 written in it. Otherwise, the error message "Can''t open /dev/ttyS0" will repeatedly be written to the console.

Installation

Alpine Linux will be installed as diskless mode, hence you need to use Alpine Local Backup (lbu) to save your modifications between reboots. Follow these steps to install Alpine Linux:

  1. Insert the SD Card into the Raspberry Pi and turn it on
  2. Login into the Alpine system as root. Leave the password empty.
  3. Type setup-alpine
  4. Once the installation is complete, commit the changes by typing lbu commit -d

Type reboot to verify that the installation was indeed successful.

Post Installation

Update the System

Upon installation, make sure that your system is up-to-date:

apk update apk upgrade

Don''t forget to save the changes:

lbu commit -d

Clock-related error messages

During the booting time, you might notice errors related to the hardware clock. The Raspberry Pi does not have a hardware clock and therefore you need to disable the hwclock daemon and enable swclock:

rc-update add swclock boot # enable the software clock rc-update del hwclock boot # disable the hardware clock

Since Raspberry Pi does not have a clock, the Alpine Linux needs to know what the time is by using a Network Time Protocol (NTP) daemon. Make sure that you a NTP daemon installed and running. If you are not sure, then you can install NTP client by running the following command:

setup-ntp

Busybox NTP client might be the most lightweight solution. Save the changes and reboot, once the NTP software is installed and running:

lbu commit -d reboot

After reboot, make sure that the date command outputs the correct date and time.

X11 Setup

Here are what you need if you want to try and run a single X11 application like a browser kiosk or maybe even a desktop: ​

setup-xorg-base ​apk add xf86-video-fbdev xf86-input-mouse xf86-input-keyboard dbus ​set​xkbmap rc-update ​​add dbus

Also edit the default X11 module config: /etc/X11/xorg.conf.d/20-modules.conf

Section "Module" Load "fbdevhw" Load "fb" Load "shadow" Load "shadowfb" Load "dbe" Load "glx" Disable "dri" EndSection

Commit your changes:

lbu_commit -d

Now you should be able to run a browser or desktop. (Guides may follow)

If setup-xorg-base gives you an error regarding rc-update that fails to add mdev to sysinit just run:

rc-update mdev sysinit

to add it manually. If you skip this the next time you reboot your Raspberry Pi the screen maybe will not display anything on screen.

Persistent storage

Loopback image with overlayfs

The install is in disk-less mode and forces everything into memory, if you want additional storage we need to create loop-back storage onto the SD mounted with overlayfs.

First make the sd-card writable again and change fstab to always do so:

mount /media/mmcblk0p1 -o rw,remount sed -i ''s/vfat\ ro,/vfat\ rw,'' /etc/fstab

Create the loop-back file, this example is 1 GB:

dd if=/dev/zero of=/media/mmcblk0p1/persist.img bs=1024 count=0 seek=1048576

Install the ext utilities:

apk add e2fsprogs

Format the loop-back file:

mkfs.ext4 /media/mmcblk0p1/persist.img

Mount the storage:

echo "/media/mmcblk0p1/persist.img /media/persist ext4 rw,relatime,errors=remount-ro 0 0" >> /etc/fstab mkdir /media/persist mount -a

Make the overlay folders, we are doing /usr here, but you can do /home or anything else:

mkdir /media/persist/usr mkdir /media/persist/.work echo "overlay /usr overlay lowerdir=/usr,upperdir=/media/persist/usr,workdir=/media/persist/.work 0 0" >> /etc/fstab mount -a

Your /etc/fstab should look something like this:

/dev/cdrom /media/cdrom iso9660 noauto,ro 0 0 /dev/usbdisk /media/usb vfat noauto,ro 0 0 /dev/mmcblk0p1 /media/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,errors=remount-ro 0 0 /media/mmcblk0p1/persist.img /media/persist ext4 rw,relatime,errors=remount-ro 0 0 overlay /usr overlay lowerdir=/usr,upperdir=/media/persist/usr,workdir=/media/persist/.work 0 0

Now commit the changes: (optionally remove the e2fsprogs, but it does contain repair tools)

lbu_commit -d

Remember with this setup, if you install things and you have done this overlay for /usr, you must not commit the ''apk add'', otherwise while it boots it will try and install it to memory and not to the persist storage.

If you do want to install something small at boot you can use `apk add` and `lbu commit -d`.

If it is something a bit bigger then you can use `apk add` but then not commit it, it will be persistent (in /user), but do check everything you need is in that directory and not in folders you have not made persistent.

Traditional disk-based (sys) installation

Tango-dialog-warning.png

Warning: This isn''t yet supported by the Alpine setup scripts for Raspberry Pi. It requires manual intervention, and might break.

 

It is also possible to switch to a fully disk-based installation: this is not yet formally supported, but can be done somewhat manually. This frees all the memory otherwise needed for the root filesystem, allowing more installed packages.

Split your SD card into two partitions: the FAT32 boot partition described above (in this example it''ll be mmcblk0p1) , and a second partition to hold the root filesystem (here it''ll be mmcblk0p2). Boot and configure your diskless system as above, then create a root filesystem:

apk add e2fsprogs mkfs.ext4 /dev/mmcblk0p2

Now do a disk install via a mountpoint. The setup-disk script will give some errors about syslinux/extlinux, but you can ignore these: the Raspberry Pi doesn''t need this to boot anyway.

mkdir /stage mount /dev/mmcblk0p2 /stage setup-disk -o /media/mmcblk0p1/MYHOSTNAME.apkovl.tar.gz /stage # (ignore errors about syslinux/extlinux)

Add a line to /stage/etc/fstab to mount the Pi''s boot partition again:

/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0

Now add a root=/dev/mmcblk0p2 parameter to the Pi''s boot command line, either cmdline-rpi2.txt or cmdline-rpi.txt depending on model:

mount -o remount,rw /media/mmcblk0p1 sed -i ''$ s/$/ root=\/dev\/mmcblk0p2/'' /media/mmcblk0p1/cmdline-rpi2.txt

You might also consider overlaytmpfs=yes here, which will cause the underlying SD card root filesystem to be mounted read-only, with an overlayed tmpfs for modifications which will be discarded on shutdown.

Beware, though, that the contents of /boot will be ignored when the Pi boots: it will use the kernel, initramfs, and modloop images from the FAT32 boot partition. To update the kernel, initfs or modules, you will need to manually (generate and) copy these to the boot partition or you could use bind mount so that manually copy the files to boot partition is not needed.

echo /media/mmcblk0p1/boot /boot none defaults,bind 0 0 >> /etc/fstab

Persistent Installation on RPi3

See this page : https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi

See https://forum.alpinelinux.org/comment/1084#comment-1084

Install Terraform on Windows, Linux and Mac OS

Install Terraform on Windows, Linux and Mac OS

Step-by-step tutorial of how to download and install terraform on Windows,Linux and Mac OS.

 

terraform is distributed as a binary package for all supported platforms and architectures and must first be installed on your machine.

Check out the releases CHANGELOG for more information on the latest release and choose the version that is required for your Operating System and your project. If you just getting started with terraform,I suggest you to get the latest release.

Download terraform

You can  download a version of Terraform from the releases service.

Install terraform – Windows

  1. Download terraform for windows 
    • Note: terraform is packaged as a zip archive,so after downloading terraform,unzip the package. terraform runs as a single binary named terraform. Any other files in the package can be safely removed and terraform will still function
  2. copy files from the zip to “c:\terraform” for example. That’s our terraform PATH.
  3. The final step is to make sure that the terraform binary is available on the PATH.

General information

  • The PATH is the system variable that your operating system uses to locate needed executables from the command line or Terminal window.
  • The PATH system variable can be set using System Utility in control panel on Windows,or in your shell’s startup file on Linux.

Windows 10 and Windows 8

  1. In Search,search for and then select: System (Control Panel)
  2. Click the System and Security link.
  3. Click the System link.
  4. Click the Advanced system settings link.
  5. Click Environment Variables. In the section System Variables,find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist,click New.
  6. In the Edit System Variable (or New System Variable) window,append at the end of the PATH environment variable the value of terraform path ex.”c:\terraform;” . Click OK. Close all remaining windows by clicking OK.
  7. Reopen Command prompt window,and run terraform.

Windows 7

  1. From the desktop,right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. Click Environment Variables. In the section System Variables,find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist,and run terraform.

Windows XP

  1. Select Start,select Control Panel. double click System,and select the Advanced tab.
  2. Click Environment Variables. In the section System Variables,find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist,and run terraform.

Install terraform – Linux

  1. Download terraform for linux 
     
    1
    $ wget https://releases.hashicorp.com/terraform/0.xx.x/terraform_0.xx.x_linux_amd64.zip

     

    • Note: terraform is packaged as a zip archive,unzip the package. terraform runs as a single binary named terraform. Any other files in the package can be safely removed and terraform will still function
  2. Install unzip
     
    1
    $ sudo apt-get install unzip
  3. Unzip and set path.
     
    1
    2
    $ unzip terraform_0.11.1_linux_amd64.zip
    $ sudo mv terraform /usr/local/bin/

Install terraform – Mac OS

The easiest and quickest way to install terraform is using Homebrew.

 
1
$ brew install terraform

Or Manually if the latest version is not ideal for your needs.

  1. Download terraform for macos
    • Note: terraform is packaged as a zip archive,unzip the package. terraform runs as a single binary named terraform. Any other files in the package can be safely removed and terraform will still function
  2. Extract files from the zip to “$HOME/Downloads/terraform” for example.
  3. The final step is to make sure that the terraform binary is available on the PATH.
  4. copy binary to a place in the path such as /usr/local/bin/terraform

 

 
1
$ cp $HOME/Downloads/terraform /usr/local/bin/

 

Verify Install

When you’re done,you should be able to run the terraform command and get the usage information:

 
 
 
 
 
Arduino
 
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
$ terraform
Usage: terraform [--version] [--help] <command> [args]
 
The available commands for execution are listed below.
The most common, useful commands are shown first, followed by
less common or more advanced commands. If you‘re just getting
started with terraform, stick with the common commands. For the
other commands, please read the help and docs before usage.
 
Common commands:
    apply              Builds or changes infrastructure
    console            Interactive console for terraform interpolations
    destroy            Destroy terraform-managed infrastructure
    env                Workspace management
    fmt                Rewrites config files to canonical format
    get                Download and install modules for the configuration
    graph              Create a visual graph of terraform resources
    import             Import existing infrastructure into terraform
    init               Initialize a terraform working directory
    output             Read an output from a state file
    plan               Generate and show an execution plan
    providers          Prints a tree of the providers used in the configuration
    push               Upload this terraform module to Atlas to run
    refresh            Update local state file against real resources
    show               Inspect terraform state or plan
    taint              Manually mark a resource for recreation
@H_574_1301@     untaint            Manually unmark a resource as tainted
    validate           Validates the terraform files
    version            Prints the terraform version
    workspace          Workspace management
 
All other commands:
    debug              Debug output management (experimental)
    force-unlock       Manually unlock the terraform state
    state              Advanced state management

 Link: https://www.vasos-koupparis.com/terraform-getting-started-install/

今天关于在Raspberry Pi的Linux环境中出现Windows Forms错误raspberry pi windows 10的介绍到此结束,谢谢您的阅读,有关25美元 Linux PC ''Raspberry Pi'' 一月上市、active-directory – (主要)Windows(AD)环境中的Linux服务器、Alpine Linux 安装到 Raspberry Pi、Install Terraform on Windows, Linux and Mac OS等更多相关知识的信息可以在本站进行查询。

本文标签:

上一篇.net和Windows中的.dat *文件名处理(.net在哪个文件夹)

下一篇C ++ Windows:LRESULT CALLBACK和WNDPROC